Spanning Tree Protocol Commands
Use these commands to configure Spanning Tree Protocol (STP).
STP helps prevent network loops, duplicate messages, and network instability.
spanning-tree
M4250
M4350
This command sets the spanning-tree operational mode to enabled.
| Default | enabled |
| Format | spanning-tree |
| Mode | Global Config |
no spanning-tree
This command sets the spanning-tree operational mode to disabled. While disabled, the spanning-tree configuration is retained and can be changed, but is not activated.
| Format | no spanning-tree |
| Mode | Global Config |
spanning-tree auto-edge
M4250
M4350
Use this command to allow the interface to become an edge port if it does not receive any BPDUs.
| Default | Enabled |
| Format | spanning-tree auto-edge |
| Mode | Interface Config |
no spanning-tree auto-edge
This command resets the auto-edge status of the port to the default value.
| Format | no spanning-tree auto-edge |
| Mode | Interface Config |
spanning-tree backbonefast
M4250
M4350
Use this command to enable the detection of indirect link failures and accelerate spanning tree convergence on PVSTP configured switches.
Backbonefast accelerates finding an alternate path when an indirect link to the root port goes down.
Backbonefast can be configured even if the switch is configured for MST(RSTP) or PVST mode. It only has an effect when the switch is configured for the PVST mode.
If a backbonefast-enabled switch receives an inferior BPDU from its designated switch on a root or blocked port, it sets the maximum aging time on the interfaces on which it received the inferior BPDU if there are alternate paths to the designated switch. This allows a blocked port to immediately move to the listening state where the port can be transitioned to the forwarding state in the normal manner.
On receipt of an inferior BPDU from a designated bridge, backbonefast enabled switches send a Root Link Query (RLQ) request to all non-designated ports except the port from which it received the inferior BPDU. This check validates that the switch can receive packets from the root on ports where it expects to receive BPDUs. The port from which the original inferior BPDU was received is excluded because it has already encountered a failure. Designated ports are excluded as they do not lead to the root.
On receipt of an RLQ response, if the answer is negative, the receiving port has lost connection to the root and its BPDU is immediately aged out. If all nondesignated ports have already received a negative answer, the whole bridge has lost the root and can start the STP calculation from scratch.
If the answer confirms the switch can access the root bridge on a port, it can immediately age out the port on which it initially received the inferior BPDU.
A bridge that sends an RLQ puts its bridge ID in the PDU. This ensures that it does not flood the response on designated ports.
A bridge that receives an RLQ and has connectivity to the root forwards the query toward the root through its root port.
A bridge that receives a RLQ request and does not have connectivity to the root (switch bridge ID is different from the root bridge ID in the query) or is the root bridge immediately answers the query with its root bridge ID.
RLQ responses are flooded on designated ports.
| Default | NA |
| Format | spanning-tree backbonefast |
| Mode | Global Config |
no spanning-tree backbonefast
This command disables backbonefast.
| Format | no spanning-tree backbonefast |
| Mode | Global Config |
spanning-tree bpdufilter
M4250
M4350
Use this command to enable BPDU Filter on an interface or range of interfaces.
| Default | Disabled |
| Format | spanning-tree bpdufilter |
| Mode | Interface Config |
no spanning-tree bpdufilter
Use this command to disable BPDU Filter on the interface or range of interfaces.
| Default | Disabled |
| Format | no spanning-tree bpdufilter |
| Mode | Interface Config |
spanning-tree bpdufilter default
M4250
M4350
Use this command to enable BPDU Filter on all the edge port interfaces.
| Default | Disabled |
| Format | spanning-tree bpdufilter default |
| Mode | Global Config |
no spanning-tree bpdufilter default
Use this command to disable BPDU Filter on all the edge port interfaces.
| Default | Disabled |
| Format | no spanning-tree bpdufilter default |
| Mode | Global Config |
spanning-tree bpduflood
M4250
M4350
Use this command to enable BPDU Flood on an interface or range of interfaces.
| Default | Disabled |
| Format | spanning-tree bpduflood |
| Mode | Interface Config |
no spanning-tree bpduflood
Use this command to disable BPDU Flood on the interface or range of interfaces.
| Default | Disabled |
| Format | no spanning-tree bpduflood |
| Mode | Interface Config |
spanning-tree bpduguard
M4250
M4350
Use this command to enable BPDU Guard on the switch.
| Default | Disabled |
| Format | spanning-tree bpduguard |
| Mode | Global Config |
no spanning-tree bpduguard
Use this command to disable BPDU Guard on the switch.
| Default | Disabled |
| Format | no spanning-tree bpduguard |
| Mode | Global Config |
spanning-tree bpdumigrationcheck
M4250
M4350
Use this command to force a transmission of rapid spanning tree (RSTP) and multiple spanning tree (MSTP) BPDUs. Specify a port to transmit BPDUs from, or use the all keyword to transmit RST or MST BPDUs from all interfaces. This command forces the BPDU transmission when you execute it, so the command does not change the system configuration or have a no version.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Format | spanning-tree bpdumigrationcheck {unit/slot/port | all} |
| Mode | Global Config |
spanning-tree configuration name
M4250
M4350
This command sets the Configuration Identifier Name for use in identifying the configuration that this switch is currently using. The name parameter is a string of up to 32 characters.
| Default | base MAC address in hexadecimal notation |
| Format | spanning-tree configuration name name |
| Mode | Global Config |
no spanning-tree configuration name
This command resets the Configuration Identifier Name to its default.
| Format | no spanning-tree configuration name |
| Mode | Global Config |
spanning-tree configuration revision
M4250
M4350
This command sets the Configuration Identifier Revision Level for use in identifying the configuration that this switch is currently using. The Configuration Identifier Revision Level is a number in the range of 0 to 65535.
| Default | 0 |
| Format | spanning-tree configuration revision number |
| Mode | Global Config |
no spanning-tree configuration revision
This command sets the Configuration Identifier Revision Level for use in identifying the configuration that this switch is currently using to the default value.
| Format | no spanning-tree configuration revision |
| Mode | Global Config |
spanning-tree cost
M4250
M4350
Use this command to configure the external path cost for port used by a MST instance. When the auto keyword is used, the path cost from the port to the root bridge is automatically determined by the speed of the interface. To configure the cost manually, specify a cost value from 1–200000000.
| Default | auto |
| Format | spanning-tree cost {cost | auto} |
| Mode | Interface Config |
no spanning-tree cost
This command resets the auto-edge status of the port to the default value.
| Format | no spanning-tree cost |
| Mode | Interface Config |
spanning-tree edgeport
M4250
M4350
This command specifies that an interface (or range of interfaces) is an Edge Port within the common and internal spanning tree. This allows this port to transition to Forwarding State without delay.
| Format | spanning-tree edgeport |
| Mode | Interface Config |
no spanning-tree edgeport
This command specifies that this port is not an Edge Port within the common and internal spanning tree.
| Format | no spanning-tree edgeport |
| Mode | Interface Config |
spanning-tree forward-time
M4250
M4350
This command sets the Bridge Forward Delay parameter to a new value for the common and internal spanning tree. The forward-time value is in seconds within a range of 4 to 30, with the value being greater than or equal to “(Bridge Max Age / 2) + 1”.
| Default | 15 |
| Format | spanning-tree forward-time value |
| Mode | Global Config |
no spanning-tree forward-time
This command sets the Bridge Forward Delay parameter for the common and internal spanning tree to the default value.
| Format | no spanning-tree forward-time |
| Mode | Global Config |
spanning-tree guard
M4250
M4350
This command selects whether loop guard or root guard is enabled on an interface or range of interfaces. If neither is enabled, then the port operates in accordance with the multiple spanning tree protocol.
| Default | none |
| Format | spanning-tree guard {none | root | loop} |
| Mode | Interface Config |
no spanning-tree guard
This command disables loop guard or root guard on the interface.
| Format | no spanning-tree guard |
| Mode | Interface Config |
spanning-tree max-age
M4250
M4350
This command sets the Bridge Max Age parameter to a new value for the common and internal spanning tree. The max-age value is in seconds within a range of 6 to 40, with the value being less than or equal to 2 x (Bridge Forward Delay - 1).
| Default | 20 |
| Format | spanning-tree max-age value |
| Mode | Global Config |
no spanning-tree max-age
This command sets the Bridge Max Age parameter for the common and internal spanning tree to the default value.
| Format | no spanning-tree max-age |
| Mode | Global Config |
spanning-tree max-hops
M4250
M4350
This command sets the Bridge Max Hops parameter to a new value for the common and internal spanning tree. The max-hops value is a range from 6 to 40.
| Default | 20 |
| Format | spanning-tree max-hops value |
| Mode | Global Config |
no spanning-tree max-hops
This command sets the Bridge Max Hops parameter for the common and internal spanning tree to the default value.
| Format | no spanning-tree max-hops |
| Mode | Global Config |
spanning-tree mode
M4250
M4350
This command configures the global spanning tree mode. On a switch, only one mode can be enabled at a time.
When PVSTP or rapid PVSTP (PVRSTP) is enabled, MSTP/RSTP/STP is operationally disabled. To reenable MSTP/RSTP/STP, disable PVSTP/PVRSTP. By default, a NETGEAR managed switch is enabled for RSTP. In PVSTP or PVRSTP mode, BPDUs contain per-VLAN information instead of the common spanning-tree information (MST/RSTP).
PVSTP maintains independent spanning tree information about each configured VLAN. PVSTP uses IEEE 802.1Q trunking and allows a trunked VLAN to maintain blocked or forwarding state per port on a per-VLAN basis. This allows a trunk port to be forwarded on some VLANs and blocked on other VLANs.
PVRSTP is based on the IEEE 8012.1w standard. It supports fast convergence IEEE 802.1D. PVRSTP is compatible with IEEE 802.1D spanning tree. PVRSTP sends BPDUs on all ports, instead of only the root bridge sending BPDUs, and supports the discarding, learning, and forwarding states.
When the mode is changed to PVRSTP, version 0 STP BPDUs are no longer transmitted and version 2 PVRSTP BPDUs that carry per-VLAN information are transmitted on the VLANs enabled for spanning-tree. If a version 0 BPDU is seen, PVRSTP reverts to sending version 0 BPDUs.
Per VLAN Rapid Spanning Tree Protocol (PVRSTP) embeds support for PVSTP FastBackbone and FastUplink. There is no provision to enable or disable these features in PVRSTP.
| Default | Disabled |
| Format | spanning-tree mode {mst | pvst | rapid-pvst | rstp | stp} |
| Mode | Global Config |
spanning-tree mst
M4250
M4350
This command sets the Path Cost or Port Priority for this port within the multiple spanning tree instance or in the common and internal spanning tree. If you specify an mstid parameter that corresponds to an existing multiple spanning tree instance, the configurations are done for that multiple spanning tree instance. If you specify 0 (defined as the default CIST ID) as the mstid, the configurations are done for the common and internal spanning tree instance.
If you specify the cost option, the command sets the path cost for this port within a multiple spanning tree instance or the common and internal spanning tree instance, depending on the mstid parameter. You can set the path cost as a number in the range of 1 to 200000000 or auto. If you select auto the path cost value is set based on Link Speed.
If you specify the port-priority option, this command sets the priority for this port within a specific multiple spanning tree instance or the common and internal spanning tree instance, depending on the mstid parameter. The port-priority value is a number in the range of 0 to 240 in increments of 16.
| Default |
cost—auto port-priority—128 |
| Format | spanning-tree mst mstid {{cost number | auto} | port-priority number} |
| Mode | Interface Config |
no spanning-tree mst
This command sets the Path Cost or Port Priority for this port within the multiple spanning tree instance, or in the common and internal spanning tree to the respective default values. If you specify an mstid parameter that corresponds to an existing multiple spanning tree instance, you are configuring that multiple spanning tree instance. If you specify 0 (defined as the default CIST ID) as the mstid, you are configuring the common and internal spanning tree instance.
If you specify cost, this command sets the path cost for this port within a multiple spanning tree instance or the common and internal spanning tree instance, depending on the mstid parameter, to the default value, i.e., a path cost value based on the Link Speed.
If you specify port-priority, this command sets the priority for this port within a specific multiple spanning tree instance or the common and internal spanning tree instance, depending on the mstid parameter, to the default value.
| Format | no spanning-tree mst mstid {cost | port-priority} |
| Mode | Interface Config |
spanning-tree mst instance
M4250
M4350
This command adds a multiple spanning tree instance to the switch. The parameter mstid is a number within a range of 1 to 4094, that corresponds to the new instance ID to be added. The maximum number of multiple instances supported by the switch is 4.
| Default | none |
| Format | spanning-tree mst instance mstid |
| Mode | Global Config |
no spanning-tree mst instance
This command removes a multiple spanning tree instance from the switch and reallocates all VLANs allocated to the deleted instance to the common and internal spanning tree. The parameter mstid is a number that corresponds to the desired existing multiple spanning tree instance to be removed.
| Format | no spanning-tree mst instance mstid |
| Mode | Global Config |
spanning-tree mst priority
M4250
M4350
This command sets the bridge priority for a specific multiple spanning tree instance. The parameter mstid is a number that corresponds to the desired existing multiple spanning tree instance. The priority value is a number within a range of 0 to 4094.
If you specify 0 (defined as the default CIST ID) as the mstid, this command sets the Bridge Priority parameter to a new value for the common and internal spanning tree. The bridge priority value is a number within a range of 0 to 4094. The twelve least significant bits are masked according to the 802.1s specification. This causes the priority to be rounded down to the next lower valid priority.
| Default | 32768 |
| Format | spanning-tree mst priority mstid value |
| Mode | Global Config |
no spanning-tree mst priority
This command sets the bridge priority for a specific multiple spanning tree instance to the default value. The parameter mstid is a number that corresponds to the desired existing multiple spanning tree instance.
If 0 (defined as the default CIST ID) is passed as the mstid, this command sets the Bridge Priority parameter for the common and internal spanning tree to the default value.
| Format | no spanning-tree mst priority mstid |
| Mode | Global Config |
spanning-tree mst vlan
M4250
M4350
This command adds an association between a multiple spanning tree instance and one or more VLANs so that the VLAN(s) are no longer associated with the common and internal spanning tree. The parameter mstid is a multiple spanning tree instance identifier, in the range of 0 to 4094, that corresponds to the desired existing multiple spanning tree instance. The vlanid can be specified as a single VLAN, a list, or a range of values. To specify a list of VLANs, enter a list of VLAN IDs in the range 1 to 4093, each separated by a comma with no spaces in between. To specify a range of VLANs, separate the beginning and ending VLAN ID with a dash (-). Spaces and zeros are not permitted. The VLAN IDs may or may not exist in the system.
| Format | spanning-tree mst vlan mstid vlanid |
| Mode | Global Config |
no spanning-tree mst vlan
This command removes an association between a multiple spanning tree instance and one or more VLANs so that the VLAN(s) are again associated with the common and internal spanning tree.
| Format | no spanning-tree mst vlan mstid vlanid |
| Mode | Global Config |
spanning-tree port mode
M4250
M4350
This command sets the administrative switch port state for the port to enabled for use by spanning tree.
| Default | enabled |
| Format | spanning-tree port mode |
| Mode | Interface Config |
no spanning-tree port mode
This command sets the administrative switch port state for the port to disabled, disabling the port for use by spanning tree.
| Format | no spanning-tree port mode |
| Mode | Interface Config |
spanning-tree port mode all
M4250
M4350
This command sets the administrative switch port state for all ports to enabled for use by spanning tree.
| Default | enabled |
| Format | spanning-tree port mode all |
| Mode | Global Config |
no spanning-tree port mode all
This command sets the administrative switch port state for all ports to disabled, disabling the port for use by spanning tree.
| Format | no spanning-tree port mode all |
| Mode | Global Config |
spanning-tree port-priority
M4250
M4350
Use this command to change the priority value of the port to allow the operator to select the relative importance of the port in the forwarding process. The value range is 0–240. Set this value to a lower number to prefer a port for forwarding of frames.
All LAN ports have 128 as priority value by default. PVSTP/PVRSTP puts the LAN port with the lowest LAN port number in the forwarding state and blocks other LAN ports.
The application uses the port priority value when the LAN port is configured as an edge port.
| Default | enabled |
| Format | spanning-tree port-priority value |
| Mode | Interface Config |
spanning-tree tcnguard
M4250
M4350
Use this command to enable TCN guard on the interface. When enabled, TCN Guard restricts the interface from propagating any topology change information received through that interface.
| Default | Enabled |
| Format | spanning-tree tcnguard |
| Mode | Interface Config |
no spanning-tree tcnguard
This command resets the TCN guard status of the port to the default value.
| Format | no spanning-tree tcnguard |
| Mode | Interface Config |
spanning-tree transmit
M4250
M4350
This command sets the bridge transmit hold count parameter.
| Default | 6 |
| Format | spanning-tree transmit hold-count 1-10 |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| hold-count | The Bridge Tx hold-count parameter. The value is an integer between 1 and 10. |
no spanning-tree transmit
This command resets the bridge transmit hold count parameter to the default value.
| Format | no spanning-tree transmit hold-count |
| Mode | Global Config |
spanning-tree uplinkfast
M4250
M4350
Use this command to configure the rate at which gratuitous frames are sent (in packets per second) after switchover to an alternate port on PVSTP configured switches and enables uplinkfast on PVSTP switches. The range is 0-32000; the default is 150. This command has the effect of accelerating spanning-tree convergence after switchover to an alternate port.
Uplinkfast can be configured even if the switch is configured for MST(RSTP) mode, but it only has an effect when the switch is configured for PVST mode. Enabling FastUplink increases the priority by 3000. Path costs less than 3000 have an additional 3000 added when uplinkfast is enabled. This reduces the probability that the switch will become the root switch.
Uplinkfast immediately changes to an alternate root port on detecting a root port failure and changes the new root port directly to the forwarding state. A TCN is sent for this event.
After a switchover to an alternate port (new root port), uplinkfast multicasts a gratuitous frame on the new root port on behalf of each attached machine so that the rest of the network knows to use the secondary link to reach that machine.
PVRSTP embeds support for backbonefast and uplinkfast. There is no provision to enable or disable these features in PVRSTP configured switches.
| Default | 150 |
| Format | spanning-tree uplinkfast [max-update-rate packets] |
| Mode | Global Config |
no spanning-tree uplinkfast
This command disables uplinkfast on PVSTP configured switches. All switch priorities and path costs that have not been modified from their default values are set to their default values.
| Format | no spanning-tree uplinkfast [max-update-rate] |
| Mode | Global Config |
spanning-tree vlan
M4250
M4350
Use this command to enable spanning tree on a VLAN.
| Default | None |
| Format | spanning-tree vlan vlan-list |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| vlan-list | The VLANs to which to apply this command. |
no spanning-tree vlan
Use this command to disable spanning tree on a VLAN.
| Format | no spanning-tree vlan vlan-list |
| Mode | Global Config |
spanning-tree vlan cost
M4250
M4350
Use this command to set the path cost for a port in a VLAN. The valid path cost values are in the range of 1 to 200000000 or auto. If auto is selected, the path cost value is set based on the link speed.
| Default | None |
| Format | spanning-tree vlan vlan-id cost {auto | value} |
| Mode | Interface Config |
no spanning-tree vlan cost
This command resets the path cost for a port in a VLAN.
| Format | no spanning-tree vlan vlan-id cost |
| Mode | Interface Config |
spanning-tree vlan forward-time
M4250
M4350
Use this command to configure the spanning tree forward delay time for a VLAN or a set of VLANs. The default is 15 seconds. Set this value to a lower number to accelerate the transition to forwarding. Take into account the end-to-end BPDU propagation delay, the maximum frame lifetime, the maximum transmission halt delay, and the message age overestimate values specific to their network when configuring this parameter.
| Default | 15 seconds |
| Format | spanning-tree vlan vlan-list forward-time seconds |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| vlan-list | The VLANs to which to apply this command. |
| forward-time | The spanning tree forward delay time. The range is 4-30 seconds. |
no spanning-tree vlan forward-time
This command resets the spanning tree forward delay time for a VLAN to the default value.
| Format | no spanning-tree vlan vlan-list forward-time |
| Mode | Global Config |
spanning-tree vlan hello-time
M4250
M4350
Use this command to configure the spanning tree hello time for a VLAN or a set of VLANs. The default is 2 seconds. Set this value to a lower number to accelerate the discovery of topology changes.
| Default | 2 seconds |
| Format | spanning-tree vlan vlan-list hello-time seconds |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| vlan-list | The VLANs to which to apply this command. |
| hello-time | The spanning tree forward hello time. The range is 1-10 seconds. |
no spanning-tree vlan hello-time
This command resets the spanning tree hello time for a VLAN to the default value.
| Format | no spanning-tree vlan vlan-list hello-time |
| Mode | Global Config |
spanning-tree vlan max-age
M4250
M4350
Use this command to configure the spanning tree maximum age time for a set of VLANs. The default is 20 seconds.
Set this value to a lower number to accelerate the discovery of topology changes. The network operator must take into account the end-to-end BPDU propagation delay and message age overestimate for their specific topology when configuring this value.
The default setting of 20 seconds is suitable for a network of diameter 7, lost message value of 3, transit delay of 1, hello interval of 2 seconds, overestimate per bridge of 1 second, and a BPDU delay of 1 second. For a network of diameter 4, a setting of 16 seconds is appropriate if all other timers remain at their default values.
| Default | 20 seconds |
| Format | spanning-tree vlan vlan-list max-age seconds |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| vlan-list | The VLANs to which to apply this command. |
| max-age | The spanning tree maximum age time for a set of VLANs. The range is from 6–40 seconds. |
no spanning-tree vlan max-age
This command resets the spanning tree maximum age time for a VLAN to the default value.
| Format | no spanning-tree vlan vlan-list max-age |
| Mode | Global Config |
spanning-tree vlan root
M4250
M4350
Use this command to configure the switch to become the root bridge or standby root bridge by modifying the bridge priority from the default value of 32768 to a lower value calculated to ensure the bridge is the root (or standby) bridge.
The logic takes care of setting the bridge priority to a value lower (primary) or next lower (secondary) than the lowest bridge priority for the specified VLAN or a range of VLANs.
| Default | 32768 |
| Format | spanning-tree vlan vlan-list root {primary | secondary} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| vlan-list | The VLANs to which to apply this command. |
no spanning-tree vlan root
This command disables the switch from becoming the root bridge or standby root bridge.
| Format | no spanning-tree vlan vlan-list root |
| Mode | Global Config |
spanning-tree vlan priority
M4250
M4350
Use this command to configure the bridge priority of a VLAN. The default value is 32768.
If the value configured is not among the specified values, it will be rounded off to the nearest valid value.
| Default | 32768 |
| Format | spanning-tree vlan vlan-list priority priority |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| vlan-list | The VLANs to which to apply this command. |
| priority | The VLAN bridge priority. Valid values are 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, and 61440. |
no spanning-tree vlan priority
This command resets the spanning tree bridge priority for a VLAN to the default value.
| Format | no spanning-tree vlan vlan-list priority |
| Mode | Global Config |
spanning-tree vlan port-priority
M4250
M4350
Use this command to change the VLAN port priority value of the VLAN port to allow the operator to select the relative importance of the VLAN port in the forwarding selection process when the port is configured as a point-to-point link type. Set this value to a lower number to prefer a port for forwarding of frames.
| Default | None |
| Format | spanning-tree vlan vlan-id port-priority priority |
| Mode | Interface Config |
| Parameter | Description |
|---|---|
| vlan-list | The VLANs to which to apply this command. |
| priority | The VLAN port priority. The range is 0-255. |
no spanning-tree vlan port-priority
This command resets the spanning tree port priority value of the VLAN port to the default value.
| Format | no spanning-tree vlan vlan-id port-priority |
| Mode | Interface Config |
show spanning-tree
M4250
M4350
This command displays spanning tree settings for the common and internal spanning tree. The following details are displayed.
| Format | show spanning-tree |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Bridge Priority | Specifies the bridge priority for the Common and Internal Spanning tree (CST). The value lies between 0 and 61440. It is displayed in multiples of 4096. |
| Bridge Identifier | The bridge identifier for the CST. It is made up using the bridge priority and the base MAC address of the bridge. |
| Time Since Topology Change | Time in seconds. |
| Topology Change Count | Number of times changed. |
| Topology Change in Progress | Boolean value of the Topology Change parameter for the switch indicating if a topology change is in progress on any port assigned to the common and internal spanning tree. |
| Designated Root | The bridge identifier of the root bridge. It is made up from the bridge priority and the base MAC address of the bridge. |
| Root Path Cost | Value of the Root Path Cost parameter for the common and internal spanning tree. |
| Root Port Identifier | Identifier of the port to access the Designated Root for the CST. |
| Bridge Max Age | Derived value. |
| Bridge Max Hops | Bridge max-hops count for the device. |
| Root Port Bridge Forward Delay | Derived value. |
| Hello Time | Configured value of the parameter for the CST. |
| Bridge Hold Time | Minimum time between transmission of Configuration Bridge Protocol Data Units (BPDUs). |
| CST Regional Root | Bridge Identifier of the CST Regional Root. It is made up using the bridge priority and the base MAC address of the bridge. |
| Regional Root Path Cost | Path Cost to the CST Regional Root. |
| Associated FIDs | List of forwarding database identifiers currently associated with this instance. |
| Associated VLANs | List of VLAN IDs currently associated with this instance. |
Command example:
(NETGEAR switch) #show spanning-tree
Bridge Priority................................ 32768
Bridge Identifier.............................. 80:00:00:10:18:48:FC:07
Time Since Topology Change..................... 8 day 3 hr 22 min 37 sec
Topology Change Count.......................... 0
Topology Change in progress.................... FALSE
Designated Root................................ 80:00:00:10:18:48:FC:07
Root Path Cost................................. 0
Root Port Identifier........................... 00:00
Bridge Max Age................................. 20
Bridge Max Hops................................ 20
Bridge Tx Hold Count........................... 6
Bridge Forwarding Delay........................ 15
Hello Time..................................... 2
Bridge Hold Time............................... 6
CST Regional Root.............................. 80:00:00:10:18:48:FC:07
Regional Root Path Cost........................ 0
Associated FIDs Associated VLANs
--------------- ----------------
show spanning-tree active
M4250
M4350
This command displays the spanning tree values on active ports for the modes xSTP and PV(R)STP.
| Format | show spanning-tree active |
| Mode |
Privileged EXEC User EXEC |
Command example:
(NETGEAR switch) #show spanning-tree active
Spanning Tree: Enabled (BPDU Flooding: Disabled) Portfast BPDU Filtering: Disabled
Mode: rstp
CST Regional Root: 80:00:00:01:85:48:F0:0F
Regional Root Path Cost: 0
###### MST 0 Vlan Mapped: 3
ROOT ID
Priority 32768
Address 00:00:EE:EE:EE:EE
This Switch is the Root.
Hello Time: 2s Max Age: 20s Forward Delay: 15s
Interfaces
Name State Prio.Nbr Cost Sts Role RestrictedPort
--------- -------- --------- --------- ------------- ----- --------------
0/49 Enabled 128.49 2000 Forwarding Desg No
3/1 Enabled 96.66 5000 Forwarding Desg No
3/2 Enabled 96.67 5000 Forwarding Desg No
3/10 Enabled 96.75 0 Forwarding Desg No
Command example:
(NETGEAR switch) #show spanning-tree active
Spanning-tree enabled protocol rpvst
VLAN 1
RootID Priority 32769
Address 00:00:EE:EE:EE:EE
Cost 0
Port This switch is the root
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
BridgeID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00:00:EE:EE:EE:EE
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface State Prio.Nbr Cost Status Role
--------- --------- --------- ------- ------------- -----------
0/49 Enabled 128.49 2000 Forwarding Designated
3/1 Enabled 128.66 5000 Forwarding Designated
3/2 Enabled 128.67 5000 Forwarding Designated
3/10 Enabled 128.75 0 Forwarding Designated
VLAN 3
RootID Priority 32771
Address 00:00:EE:EE:EE:EE
Cost 0
Port This switch is the root
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
BridgeID Priority 32771 (priority 32768 sys-id-ext 3)
Address 00:00:EE:EE:EE:EE
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface State Prio.Nbr Cost Status Role
--------- --------- --------- ------- ------------- -----------
3/1 Enabled 128.66 5000 Forwarding Designated
3/2 Enabled 128.67 5000 Forwarding Designated
3/10 Enabled 128.75 0 Forwarding Designated
Command example:
(NETGEAR Switch) #show spanning-tree active
Spanning-tree enabled protocol rpvst
VLAN 1
RootID Priority 32769
Address 00:00:EE:EE:EE:EE
Cost 0
Port 10(3/10 )
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
BridgeID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00:00:EE:EE:EE:EE
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface State Prio.Nbr Cost Status Role
--------- --------- --------- ------- ------------- -----------
0/49 Enabled 128.49 2000 Discarding Alternate
3/1 Enabled 128.66 5000 Forwarding Disabled
3/2 Enabled 128.67 5000 Forwarding Disabled
3/10 Enabled 128.75 0 Forwarding Root
VLAN 3
RootID Priority 32771
Address 00:00:EE:EE:EE:EE
Cost 0
Port 10(3/10 )
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
BridgeID Priority 32771 (priority 32768 sys-id-ext 3)
Address 00:00:EE:EE:EE:EE
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface State Prio.Nbr Cost Status Role
--------- --------- --------- ------- ------------- -----------
3/1 Enabled 128.66 5000 Forwarding Disabled
3/2 Enabled 128.67 5000 Forwarding Disabled
3/10 Enabled 128.75 0 Forwarding Root
show spanning-tree backbonefast
M4250
M4350
This command displays spanning tree information for backbonefast.
| Format | show spanning-tree backbonefast |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Transitions via Backbonefast | The number of backbonefast transitions. |
| Inferior BPDUs received (all VLANs) | The number of inferior BPDUs received on all VLANs. |
| RLQ request PDUs received (all VLANs) | The number of root link query (RLQ) requests PDUs received on all VLANs. |
| RLQ response PDUs received (all VLANs) | The number of RLQ response PDUs received on all VLANs. |
| RLQ request PDUs sent (all VLANs) | The number of RLQ request PDUs sent on all VLANs. |
| RLQ response PDUs sent (all VLANs) | The number of RLQ response PDUs sent on all VLANs. |
Command example:
(NETGEAR Switch)#show spanning-tree backbonefast
Backbonefast Statistics
-----------------------
Transitions via Backbonefast (all VLANs) : 0
Inferior BPDUs received (all VLANs) : 0
RLQ request PDUs received (all VLANs) : 0
RLQ response PDUs received (all VLANs) : 0
RLQ request PDUs sent (all VLANs) : 0
RLQ response PDUs sent (all VLANs) : 0
show spanning-tree brief
M4250
M4350
This command displays spanning tree settings for the bridge. The following information appears.
| Format | show spanning-tree brief |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Bridge Priority | Configured value. |
| Bridge Identifier | The bridge identifier for the selected MST instance. It is made up using the bridge priority and the base MAC address of the bridge. |
| Bridge Max Age | Configured value. |
| Bridge Max Hops | Bridge max-hops count for the device. |
| Bridge Hello Time | Configured value. |
| Bridge Forward Delay | Configured value. |
| Bridge Hold Time | Minimum time between transmission of Configuration Bridge Protocol Data Units (BPDUs). |
Command example:
(NETGEAR Switch) #show spanning-tree brief
Bridge Priority................................ 32768
Bridge Identifier.............................. 80:00:00:10:18:48:FC:07
Bridge Max Age................................. 20
Bridge Max Hops................................ 20
Bridge Hello Time.............................. 2
Bridge Forward Delay........................... 15
Bridge Hold Time............................... 6
show spanning-tree interface
M4250
M4350
This command displays the settings and parameters for a specific switch port within the common and internal spanning tree.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Instead of unit/slot/port, you can use lag lag-intf-num as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number. You can also use all to display the settings for all interfaces. The following details are displayed on execution of the command.
| Format | show spanning-tree interface {unit/slot/port | lag lag-intf-num | all} |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Hello Time | Admin hello time for this port. |
| Port Mode | Enabled or disabled. |
| BPDU Guard Effect | Enabled or disabled. |
| Root Guard | Enabled or disabled. |
| Loop Guard | Enabled or disabled. |
| TCN Guard | Enable or disable the propagation of received topology change notifications and topology changes to other ports. |
| BPDU Filter Mode | Enabled or disabled. |
| BPDU Flood Mode | Enabled or disabled. |
| Auto Edge | To enable or disable the feature that causes a port that has not seen a BPDU for edge delay time, to become an edge port and transition to forwarding faster. |
| Port Up Time Since Counters Last Cleared | Time since port was reset, displayed in days, hours, minutes, and seconds. |
| STP BPDUs Transmitted | Spanning Tree Protocol Bridge Protocol Data Units sent. |
| STP BPDUs Received | Spanning Tree Protocol Bridge Protocol Data Units received. |
| RSTP BPDUs Transmitted | Rapid Spanning Tree Protocol Bridge Protocol Data Units sent. |
| RSTP BPDUs Received | Rapid Spanning Tree Protocol Bridge Protocol Data Units received. |
| MSTP BPDUs Transmitted | Multiple Spanning Tree Protocol Bridge Protocol Data Units sent. |
| MSTP BPDUs Received | Multiple Spanning Tree Protocol Bridge Protocol Data Units received. |
Command example:
(NETGEAR Switch) #show spanning-tree interface 0/1
Hello Time..................................... Not Configured
Port Mode...................................... Enabled
BPDU Guard Effect.............................. Disabled
Root Guard..................................... FALSE
Loop Guard..................................... FALSE
TCN Guard...................................... FALSE
BPDU Filter Mode............................... Disabled
BPDU Flood Mode................................ Disabled
Auto Edge...................................... TRUE
Port Up Time Since Counters Last Cleared....... 8 day 3 hr 39 min 58 sec
STP BPDUs Transmitted.......................... 0
STP BPDUs Received............................. 0
RSTP BPDUs Transmitted......................... 0
RSTP BPDUs Received............................ 0
MSTP BPDUs Transmitted......................... 0
MSTP BPDUs Received............................ 0
Command example:
(NETGEAR Switch) #show spanning-tree interface lag 1
Hello Time..................................... Not Configured
Port Mode...................................... Enabled
BPDU Guard Effect.............................. Disabled
Root Guard..................................... FALSE
Loop Guard..................................... FALSE
TCN Guard...................................... FALSE
BPDU Filter Mode............................... Disabled
BPDU Flood Mode................................ Disabled
Auto Edge...................................... TRUE
Port Up Time Since Counters Last Cleared....... 8 day 3 hr 42 min 5 sec
STP BPDUs Transmitted.......................... 0
STP BPDUs Received............................. 0
RSTP BPDUs Transmitted......................... 0
RSTP BPDUs Received............................ 0
MSTP BPDUs Transmitted......................... 0
MSTP BPDUs Received............................ 0
show spanning-tree mst detailed
M4250
M4350
This command displays the detailed settings for a specific MST instance or for all MST instances.
| Format | show spanning-tree mst detailed {mstid | all} |
| Mode |
Privileged EXEC User EXEC |
| Parameter | Description |
|---|---|
| mstid | A multiple spanning tree instance identifier. The value is 0–4094. |
Command example:
(NETGEAR Switch) #show spanning-tree mst detailed 0
MST Instance ID................................ 0
MST Bridge Priority............................ 32768
MST Bridge Identifier.......................... 80:00:00:10:18:48:FC:07
Time Since Topology Change..................... 8 day 3 hr 47 min 7 sec
Topology Change Count.......................... 0
Topology Change in progress.................... FALSE
Designated Root................................ 80:00:00:10:18:48:FC:07
Root Path Cost................................. 0
Root Port Identifier........................... 00:00
Associated FIDs Associated VLANs
--------------- ----------------
show spanning-tree mst port detailed
M4250
M4350
This command displays the detailed settings and parameters for a specific switch port within a particular multiple spanning tree instance. The parameter mstid is a number that corresponds to the desired existing multiple spanning tree instance.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
You can also use lag lag-intf-num to specify a LAG interface, in which lag-intf-num is the LAG port number.
| Format | show spanning-tree mst port detailed mstid [unit/slot/port | lag lag-intf-num] |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| MST Instance ID | The ID of the existing multiple spanning tree (MST) instance identifier. The value is 0–4094. |
| Port Identifier | The port identifier for the specified port within the selected MST instance. It is made up from the port priority and the interface number of the port. |
| Port Priority | The priority for a particular port within the selected MST instance. The port priority is displayed in multiples of 16. |
| Port Forwarding State | Current spanning tree state of this port. |
| Port Role | Each enabled MST Bridge Port receives a Port Role for each spanning tree. The port role is one of the following values: Root Port, Designated Port, Alternate Port, Backup Port, Master Port or Disabled Port. |
| Auto-Calculate Port Path Cost | Indicates whether auto calculation for port path cost is enabled. |
| Port Path Cost | Configured value of the Internal Port Path Cost parameter. |
| Designated Root | The Identifier of the designated root for this port. |
| Root Path Cost | The path cost to get to the root bridge for this instance. The root path cost is zero if the bridge is the root bridge for that instance. |
| Designated Bridge | Bridge Identifier of the bridge with the Designated Port. |
| Designated Port Identifier | Port on the Designated Bridge that offers the lowest cost to the LAN. |
| Loop Inconsistent State | The current loop inconsistent state of this port in this MST instance. When in loop inconsistent state, the port has failed to receive BPDUs while configured with loop guard enabled. Loop inconsistent state maintains the port in a blocking state until a subsequent BPDU is received. |
| Transitions Into Loop Inconsistent State | The number of times this interface has transitioned into loop inconsistent state. |
| Transitions Out of Loop Inconsistent State | The number of times this interface has transitioned out of loop inconsistent state. |
If you specify 0 (defined as the default CIST ID) as the mstid, this command displays the settings and parameters for a specific switch port within the common and internal spanning tree. The unit/slot/port is the desired switch port. In this case, the following are displayed.
| Term | Definition |
|---|---|
| Port Identifier | The port identifier for this port within the CST. |
| Port Priority | The priority of the port within the CST. |
| Port Forwarding State | The forwarding state of the port within the CST. |
| Port Role | The role of the specified interface within the CST. |
| Auto-Calculate Port Path Cost | Indicates whether auto calculation for port path cost is enabled or not (disabled). |
| Port Path Cost | The configured path cost for the specified interface. |
| Auto-Calculate External Port Path Cost | Indicates whether auto calculation for external port path cost is enabled. |
| External Port Path Cost | The cost to get to the root bridge of the CIST across the boundary of the region. This means that if the port is a boundary port for an MSTP region, then the external path cost is used. |
| Designated Root | Identifier of the designated root for this port within the CST. |
| Root Path Cost | The root path cost to the LAN by the port. |
| Designated Bridge | The bridge containing the designated port. |
| Designated Port Identifier | Port on the Designated Bridge that offers the lowest cost to the LAN. |
| Topology Change Acknowledgement | Value of flag in next Configuration Bridge Protocol Data Unit (BPDU) transmission indicating if a topology change is in progress for this port. |
| Hello Time | The hello time in use for this port. |
| Edge Port | The configured value indicating if this port is an edge port. |
| Edge Port Status | The derived value of the edge port status. True if operating as an edge port; false otherwise. |
| Point To Point MAC Status | Derived value indicating if this port is part of a point to point link. |
| CST Regional Root | The regional root identifier in use for this port. |
| CST Internal Root Path Cost | The internal root path cost to the LAN by the designated external port. |
| Loop Inconsistent State | The current loop inconsistent state of this port in this MST instance. When in loop inconsistent state, the port has failed to receive BPDUs while configured with loop guard enabled. Loop inconsistent state maintains the port in a blocking state until a subsequent BPDU is received. |
| Transitions Into Loop Inconsistent State | The number of times this interface has transitioned into loop inconsistent state. |
| Transitions Out of Loop Inconsistent State | The number of times this interface has transitioned out of loop inconsistent state. |
Command example:
The following example shows output for the command in the unit/port format:
(NETGEAR Switch) #show spanning-tree mst port detailed 0 0/1
Port Identifier................................ 80:01
Port Priority.................................. 128
Port Forwarding State.......................... Disabled
Port Role...................................... Disabled
Auto-calculate Port Path Cost.................. Enabled
Port Path Cost................................. 0
Auto-Calculate External Port Path Cost......... Enabled
External Port Path Cost........................ 0
Designated Root................................ 80:00:00:10:18:48:FC:07
Root Path Cost................................. 0
Designated Bridge.............................. 80:00:00:10:18:48:FC:07
Designated Port Identifier..................... 00:00
Topology Change Acknowledge.................... FALSE
Hello Time..................................... 2
Edge Port...................................... FALSE
Edge Port Status............................... FALSE
Point to Point MAC Status...................... TRUE
CST Regional Root.............................. 80:00:00:10:18:48:FC:07
CST Internal Root Path Cost.................... 0
Loop Inconsistent State........................ FALSE
Transitions Into Loop Inconsistent State....... 0
Transitions Out Of Loop Inconsistent State..... 0
Command example:
The following example shows output using a LAG interface number:
(NETGEAR Switch) #show spanning-tree mst port detailed 0 lag 1
Port Identifier................................ 60:42
Port Priority.................................. 96
Port Forwarding State.......................... Disabled
Port Role...................................... Disabled
Auto-calculate Port Path Cost.................. Enabled
Port Path Cost................................. 0
Auto-Calculate External Port Path Cost......... Enabled
External Port Path Cost........................ 0
Designated Root................................ 80:00:00:10:18:48:FC:07
Root Path Cost................................. 0
Designated Bridge.............................. 80:00:00:10:18:48:FC:07
Designated Port Identifier..................... 00:00
Topology Change Acknowledge.................... FALSE
Hello Time..................................... 2
Edge Port...................................... FALSE
Edge Port Status............................... FALSE
Point to Point MAC Status...................... TRUE
CST Regional Root.............................. 80:00:00:10:18:48:FC:07
CST Internal Root Path Cost.................... 0
Loop Inconsistent State........................ FALSE
Transitions Into Loop Inconsistent State....... 0
Transitions Out Of Loop Inconsistent State..... 0
--More-- or (q)uit
show spanning-tree mst port summary
M4250
M4350
This command displays the settings of one or all ports within the specified multiple spanning tree instance. The parameter mstid indicates a particular MST instance.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
The keyword all indicates all ports. You can also use lag lag-intf-num to specify the LAG interface, in which lag-intf-num is the LAG port number.
If you specify 0 (defined as the default CIST ID) as the mstid, the status summary displays for one or all ports within the common and internal spanning tree.
| Format | show spanning-tree mst port summary mstid {unit/slot/port | lag lag-intf-num | all} |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| MST Instance ID | The MST instance associated with this port. |
| Interface | The interface. |
| STP Mode | Indicates whether spanning tree is enabled or disabled on the port. |
| Type | Currently not used. |
| STP State | The forwarding state of the port in the specified spanning tree instance. |
| Port Role | The role of the specified port within the spanning tree. |
| Desc | Indicates whether the port is in loop inconsistent state or not. This field is blank if the loop guard feature is not available. |
Command example:
The following example shows output in the unit/port format:
(NETGEAR Switch) #show spanning-tree mst port summary 0 0/1
MST Instance ID................................ CST
STP STP Port
Interface Mode Type State Role Desc
--------- -------- ------- ----------------- ---------- ----------
0/1 Enabled Disabled Disabled
Command example:
The following example shows output using a LAG interface number:
(NETGEAR Switch) #show spanning-tree mst port summary 0 lag 1
MST Instance ID................................ CST
STP STP Port
Interface Mode Type State Role Desc
--------- -------- ------- ----------------- ---------- ----------
3/1 Enabled Disabled Disabled
show spanning-tree mst port summary active
M4250
M4350
This command displays settings for the ports within the specified multiple spanning tree instance that are active links.
| Format | show spanning-tree mst port summary mstid active |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| MST Instance ID | The ID of the existing MST instance. |
| Interface | The interface. |
| STP Mode | Indicates whether spanning tree is enabled or disabled on the port. |
| Type | Currently not used. |
| STP State | The forwarding state of the port in the specified spanning tree instance. |
| Port Role | The role of the specified port within the spanning tree. |
| Desc | Indicates whether the port is in loop inconsistent state or not. This field is blank if the loop guard feature is not available. |
Command example:
(NETGEAR Switch) #show spanning-tree mst port summary 0 active
STP STP Port
Interface Mode Type State Role Desc
--------- -------- ------- ----------------- ---------- ---------
show spanning-tree mst summary
M4250
M4350
This command displays summary information about all multiple spanning tree instances in the switch.
| Term | Definition |
|---|---|
| MST Instance ID List | List of multiple spanning trees IDs currently configured. |
|
For each MSTID: Associated FIDs Associated VLANs |
List of forwarding database identifiers associated with this instance. List of VLAN IDs associated with this instance. |
show spanning-tree summary
This command displays spanning tree settings and parameters for the switch. The following details are displayed on execution of the command.
| Format | show spanning-tree summary |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Spanning Tree Adminmode | Enabled or disabled. |
| Spanning Tree Version | Version of 802.1 currently supported (IEEE 802.1s, IEEE 802.1w, or IEEE 802.1d) based upon the Force Protocol Version parameter. |
| BPDU Guard Mode | Enabled or disabled. |
| BPDU Filter Mode | Enabled or disabled. |
| Configuration Name | Identifier used to identify the configuration currently being used. |
| Configuration Revision Level | Identifier used to identify the configuration currently being used. |
| Configuration Digest Key | A generated Key used in the exchange of the BPDUs. |
| Configuration Format Selector | Specifies the version of the configuration format being used in the exchange of BPDUs. The default value is zero. |
| MST Instances | List of all multiple spanning tree instances configured on the switch. |
Command example:
(NETGEAR Switch) #show spanning-tree summary
Spanning Tree Adminmode........... Enabled
Spanning Tree Version............. IEEE 802.1s
BPDU Guard Mode................... Disabled
BPDU Filter Mode.................. Disabled
Configuration Name................ ****
Configuration Revision Level...... ****
Configuration Digest Key.......... ****
Configuration Format Selector..... 0
No MST instances to display.
show spanning-tree uplinkfast
M4250
M4350
This command displays spanning tree information for uplinkfast.
| Format | show spanning-tree uplinkfast |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Uplinkfast transitions (all VLANs) | The number of uplinkfast transitions on all VLANs. |
| Proxy multicast addresses transmitted (all VLANs) | The number of proxy multicast addresses transmitted on all VLANs. |
Command example:
(NETGEAR Switch) #show spanning-tree uplinkfast
Uplinkfast is enabled.
BPDU update rate : 150 packets/sec
Uplinkfast Statistics
---------------------
Uplinkfast transitions (all VLANs)................. 0
Proxy multicast addresses transmitted (all VLANs).. 0
show spanning-tree vlan
M4250
M4350
This command displays spanning tree information per VLAN and also lists out the port roles and states along with port cost. The vlan-list parameter is a list of VLANs or VLAN-ranges separated by commas and with no embedded blank spaces. VLAN ranges are of the form “X-Y” where X and Y are valid VLAN identifiers and X < Y. The vlanid parameter corresponds to an existing VLAN ID.
| Format | show spanning-tree vlan {vlanid | vlan-list} |
| Mode |
Privileged EXEC User EXEC |
Command example:
(NETGEAR Switch) show spanning-tree vlan 1
VLAN 1
Spanning-tree enabled protocol rpvst
RootID Priority 32769
Address 00:0C:29:D3:80:EA
Cost 0
Port This switch is the root
Hello Time 2 Sec Max Age 15 sec Forward Delay 15 sec
BridgeID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00:0C:29:D3:80:EA
Hello Time 2 Sec Max Age 15 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr
--------- ---------- ------------- --------- --------
1/0/1 Designated Forwarding 3000 128.1
1/0/2 Designated Forwarding 3000 128.2
1/0/3 Disabled Disabled 3000 128.3
1/0/4 Designated Forwarding 3000 128.4
1/0/5 Designated Forwarding 3000 128.5
1/0/6 Designated Forwarding 3000 128.6
1/0/7 Designated Forwarding 3000 128.7
1/0/8 Designated Forwarding 3000 128.8
0/1/1 Disabled Disabled 3000 128.1026
0/1/2 Disabled Disabled 3000 128.1027
0/1/3 Disabled Disabled 3000 128.1028
0/1/4 Disabled Disabled 3000 128.1029
0/1/5 Disabled Disabled 3000 128.1030
0/1/6 Disabled Disabled 3000 128.1031