Viewing the RSTP role

View the RSTP role to display the RSTP information.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. View the RSTP role:

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

Example

View the RSTP role:

Switch:1> show spanning-tree rstp port role 1/3
================================================================================
                           RSTP Port Roles and States
================================================================================
Port-Index  Port-Role    Port-State   PortSTPStatus  PortOperStatus
--------------------------------------------------------------------------------
1/3        Designated   Forwarding   Enabled        Enabled

Variable definitions

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

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.