show spanning-tree

Syntax

show spanning-tree [vsx-peer]

Description

Displays priority, address, Hello-time, Max-age, and Forward-delay for bridge and root node.

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.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

switch# show spanning-tree
Spanning 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
------------ -------------- ------------ ------- ---------- ----------
1/1/1        Designated     Forwarding   20000   128        point_to_point
1/1/2        Designated     Forwarding   20000   128        point_to_point