Show commands for RPVST

IMPORTANT:

Before running the show commands, make sure that you have enabled STP synchronization between VSX peer switches. See Enabling VSX synchronization of STP configurations between VSX peer switches.

Task

Action

View information on the RPVST instance of the specified VLAN.

switch# show spanning-tree vlan <VLAN-ID>

View information on the RPVST instance of the specified VLAN and displays details on the RPVST instance for the VLAN.

switch# show spanning-tree vlan <VLAN-ID> detail

The output of this command shows the value of the Multi-Chassis role. When a switch has the Multi-Chassis role set to active, the switch performs the STP operation. When a switch has the Multi-Chassis role set to standby, the switch relays the information to the switch with the active role for STP tasks.

For an example of the output from this command, see How the Multi-Chassis role works.

View information on the RPVST instance of the specified VLAN on the peer VSX switch.

switch# spanning-tree vlan <VLAN-ID> vsx-peer

View information on the RPVST instance of the specified VLAN and displays details on the RPVST instance for the VLAN on the peer VSX switch.

switch# show spanning-tree vlan <VLAN-ID> detail vsx-peer
Verify that the following global parameters are the same on VSX switches:
  • STP mode

  • RPVST instance creation

  • RPVST instance priority configuration

  1. Enter the show running-config spanning-tree command.

  2. Enter the show running-config spanning-tree vsx-peer command.

View a summary of the port roles or root information.

switch# show spanning-tree summary {port | root}