Viewing the RSTP Status for a Port

View the RSTP status for a port to display the RSTP-related status information for a selected port.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. View the RSTP status for a port:

    show spanning-tree rstp port status {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

    Note

    Note

    If your platform supports channelization for 40 Gbps ports and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Example

View the RSTP status for a port:

Switch:1> show spanning-tree rstp port status 1/2
==============================================================================
                             RSTP Port Status
                          (Port Priority Vector)
==============================================================================
Port Number                   : 1/2
Port Designated Root          : 80:00:00:24:7f:9f:60:00
Port Designated Cost          : 0
Port Designated Bridge        : 80:00:00:24:7f:9f:60:00
Port Designated Port          : 80:c1

Variable definitions

Use the data in the following table to use optional parameters with the show spanning-tree rstp port status command.

Table 1. Variable definitions

Variable

Value

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.