show spanning-tree vlan
Syntax
show spanning-tree vlan <VLAN-ID> [detail] [vsx-peer]
Description
Displays the spanning tree mode and information on the RPVST instance of the specified VLAN and optionally displays details on the RPVST instance for the VLAN.
Command context
Operator (>
) or Manager (#
)
Parameters
<VLAN-ID>
Specifies the number of a VLAN. Range: 1 - 4040.
detail
Specifies displaying details on the RPVST instance for the VLAN.
[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.
Authority
Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.
Examples
Showing spanning tree mode and RPVST instance information for the specified VLAN:
switch# show spanning-tree vlan 2 VLAN2 Spanning tree status: Enabled Protocol: RPVST Root ID Priority : 32768 MAC-Address: 70:72:cf:76:43:2a 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: 70:72:cf:76:43:2a Hello time(in seconds):2 Max Age(in seconds):20 Forward Delay(in seconds):15 Port Role State Cost Priority Type ------------ -------------- ---------- ------- ---------- ---------- 1/1/1 Designated Forwarding 0 128 point_to_point 1/1/5 Designated Forwarding 0 128 point_to_point
Showing spanning tree mode and detailed RPVST instance information for the specified VLAN:
switch# show spanning-tree vlan 2 detail VLAN2 Spanning tree status: Enabled Protocol: RPVST Root ID Priority : 32768 MAC-Address: 70:72:cf:76:43:2a 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: 70:72:cf:76:43:2a Hello time(in seconds):2 Max Age(in seconds):20 Forward Delay(in seconds):15 Port Role State Cost Priority Type ------------ -------------- ---------- ------- ---------- ---------- 1/1/1 Designated Forwarding 0 128 point_to_point 1/1/5 Designated Forwarding 0 128 point_to_point Topology change flag : False Number of topology changes : 1 Last topology change occurred : 33293 seconds ago Port 1/1/1 Designated root has priority :32768 Address: 48:0f:cf:af:22:1d Designated bridge has priority :32768 Address: 48:0f:cf:af:22:1d Designated port :1 Number of transitions to forwarding state : 0 BPDUs sent 1582, received 1506