stp-state-show
This command is used to display information about the state of Spanning Tree Protocol (STP).
Syntax stp-state-show
vlan vlan-id |
The VLAN identifier for the STP instance. |
ports port-list |
The STP ports. |
instance-id instance-id-number |
The STP instance ID. |
name name-string |
The name of the Spanning Tree Group (STG) for the STP instance. |
bridge-id mac-address |
The MAC address of the bridge switch. |
bridge-priority bridge-priority- |
The priority for the bridge switch. |
root-id mac-address |
The root switch MAC address of the root switch. |
root-priority root-priority-number |
The priority for the root switch. |
root-port root-port-number |
The root port for STP. |
root-port(peer) root-port(peer)-number |
The peer root port for STP. |
hello-time hello-time-number |
The interval, in seconds, between the generation of configuration messages by the root switch. |
forwarding-delay forwarding-delay- |
The number of seconds that the interface waits before changing from its spanning-tree learning, and listening states to the forwarding state. |
max-age max-age-number] |
The amount of time that the switch stores protocol information received on an interface. |
internal|no-internal |
Specifies if it is an internal port. |
[peer|no-peer] |
Specifies if it is a peer port or not. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.2 |
The parameter blocking, removed, and edge, designated, alternate, backup, vlag-mirror, internal, and peer added to support RSTP. |
Version 2.2.6 |
The parameter root-port(peer) added. |
Version 2.3 |
The following parameters are deprecated: • disabled • learning • forwarding • discarding • edge • designated • alternate • backup • vlag-mirror |
Version 2.3.1 |
The parameter ports added. |
Version 2.4.1 |
The parameter instance-id added. |
Usage STP is a standard inter-switch protocol is used to ensure that an ad hoc network topology is loop-free at Layer 2, on a per VLAN basis. If your network connections form loops, and STP is disabled, packets recirculate between the switches, and causes a decrease in network performance. If you are certain that your network is loop-free, you do not need to enable STP. One drawback of STP is that it does not allow for Layer 2 multipathing, and may result in suboptimal utilization of available network links. Therefore, a fabric of Pluribus Networks switches does not use STP within the boundaries of the fabric. The use of STP is recommended for ad hoc networks that interoperate in a heterogeneous, multi-vendor switch environment. Use this command to enable or disable STP on the network.
Examples To display STP information, use the following command:
CLI (network-admin@switch) > stp-state-show
switch: pleiades25
vlan: 1
name: stg-default-stg
bridge-id: 64:0e:94:18:00:8f
bridge-priority: 32769
root-id: 64:0e:94:18:00:8f
root-priority: 32769
root-port: 0
hello-time: 2
forwarding-delay: 15
max-age: 20
disabled: none
learning: none
forwarding: 12,56,65-66,255
discarding: none
edge: 65-66
designated: 12,56,65-66,255
alternate: none
backup: none
vlag-mirror: none