show spanning-tree
Syntax
show spanning-tree [vsx-peer]
描述
Shows priority, address, Hello-time, Max-age, and Forward-delay for bridge and root node.
Command context
Operator (>
)或经理(#
)
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.
权威
运营商或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.
Showing spanning tree standard information:
switch#show spanning-treeSpanning tree status : Enabled Protocol: MSTP MST0 Root ID Priority : 32768, Root MAC-Address : 48:0F:CF:AF:04:76 Hello time : 2 seconds Max Age : 20 seconds Forward Delay : 15 seconds Bridge ID Priority : 32768 MAC-Address : 48:0F:CF:AF:04:76 Hello time : 2 seconds Max Age : 20 seconds Forward Delay : 15 seconds 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 Number of topology changes : 4 Last topology change occurred : 516 seconds ago