124
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter C Commands
clear spanning-tree counters
clear spanning-tree counters
To clear the counters for the Spanning Tree Protocol (STP), use the
clear spanning-tree counters
command.
clear spanning-tree counters
[
interface
{
ethernet
s
lot
/[
QSFP-module
/]
port
|
port-channel
channel
}] [
vlan
vlan-id
]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
You can clear all the STP counters on the entire switch, per VLAN, or per interface.
Examples
This example shows how to clear the STP counters for VLAN 5:
switch#
clear
spanning-tree counters vlan 5
Related Commands
interface
(Optional) Specifies the interface type.
ethernet
s
lot
/[
QSFP-module
/]
port
Specifies the Ethernet interface slot and port number. The
slot
number is from 1 to 255. The
QSFP-module
number is
from 1 to 4. The
port
number is from 1 to 128.
Note
The
QSFP-module
number applies only to the
QSFP+ Generic Expansion Module (GEM).
port-channel
channel
Specifies the EtherChannel number. The number range is
from 1 to 4096.
vlan
vlan-id
(Optional) Specifies the VLAN. The range is from 1 to
3967 and from 4049 to 4093.
Release
Modification
6.0(2)N1(1)
Support for the QSFP+ GEM was added.
5.2(1)N1(1)
This command was introduced.
Command
Description
show spanning-tree
Displays information about the spanning tree state.
Содержание Nexus 5500 Series
Страница 4: ...4 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 6: ...18 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 36: ...130 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands connect ...
Страница 50: ...144 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter D Commands dvs name ...
Страница 124: ...1118 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr type ...
Страница 126: ...1120 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr vlan ...
Страница 131: ...1125 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 132: ...1126 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 158: ...1152 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter R Commands revision ...
Страница 438: ...1432 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter U Commands udld Ethernet ...