Viewing the RSTP Configuration Information

View the RSTP configuration information to display the RSTP-related port level configuration details.

Procedure

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

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

    Note

    Note

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

Example

View RSTP configuration information:

Switch:1> show spanning-tree rstp port config 1/1
========================================================================
                      RSTP Port Configurations
========================================================================
Port Number                 : 1/1
Port Priority               : 128 (0x80)
Port PathCost               : 200000000
Port Protocol Migration     : False
Port Admin Edge Status      : False
Port Oper Edge Status       : False
Port Admin P2P Status       : Auto
Port Oper  P2P Status       : False
Port Oper  Protocol Version : Rstp

Variable definitions

Use the data in the following table to use optional parameters with the show spanning-tree rstp port config 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.