show spanning-tree detail
Syntax
show spanning-tree detail [vsx-peer]
Description
Shows spanning tree detail including CIST and corresponding port information.
Command context
Operator (>
) or Manager (#
)
Parameters
-
[vsx-peer]
-
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Example
On the 6400 Switch Series, interface identification differs.
显示生成树的详细信息:
switch#show spanning-tree detailSpanning tree status : Enabled Protocol: MSTP MST0 Root ID Priority : 32768 MAC-Address: 48:0f:cf:af:04:76 This bridge is the root Hello time(in seconds):2 Max Age(in seconds):20 Forward Delay(in seconds):15 Bridge ID Priority : 32768 MAC-Address: 48:0f:cf:af:04:76 Hello time(in seconds):2 Max Age(in seconds):20 Forward Delay(in seconds):15 PORT ROLE STATE COST PRIORITY TYPE BPDU-Tx BPDU-Rx TCN-Tx TCN-Rx -------- ----------- ---------- ---------- --------- --------- ---------- ---------- ---------- ---------- 1/1/1 Designated Forwarding 20000 128 P2P Edge 100 60 20 10 1/1/2 Designated Forwarding 20000 128 P2P 100 60 20 10 1/1/3 Designated Forwarding 20000 128 Shr 100 60 20 10 1/1/4 Designated Forwarding 20000 128 Shr Edge 100 60 20 10 1/1/5 Alternate Loop-Inc 20000 128 Shr Edge 100 60 20 10 1/1/6 Alternate Root-Inc 20000 128 Shr Edge 100 60 20 10 Topology change flag : True Number of topology changes : 4 Last topology change occurred : 516 seconds ago Timers: Hello expiry 1 , Forward delay expiry 18 Port 1/1/1 Designated root has priority :32768 Address: 48:0f:cf:af:04:76 Designated bridge has priority :32768 Address: 48:0f:cf:af:04:76 Designated port :1/1/1 Number of transitions to forwarding state : 3 Bpdus sent 347, received 9 TCN_Tx: 20, TCN_Rx: 10 Port 1/1/2 Designated root has priority :32768 Address: 48:0f:cf:af:04:76 Designated bridge has priority :32768 Address: 48:0f:cf:af:04:76 Designated port :1/1/2 Number of transitions to forwarding state : 3 Bpdus sent 350, received 11 TCN_Tx: 20, TCN_Rx: 10 Port lag1 ID 321 Designated root has priority : 32768 Address: 48:0F:CF:AF:04:76 Designated bridge has priority : 32768 Address: 48:0F:CF:AF:04:76 Designated port id : 321 Multi-Chassis role : active Number of transitions to forwarding state : 3 BPDUs sent : 340 BPDUs received : 5 TCN_Tx: 20, TCN_Rx: 10