Display RSTP Information for a Port

Perform the following procedure to display the RSTP-related configuration information for the selected port.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Display the RSTP information for a selected port:

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

Example

Display the RSTP information for a selected port:

Switch:1# show spanning-tree rstp port statistics 1/4
========================================================================
                       RSTP Port Statistics
========================================================================
Port Number                       : 1/4
Number of Fwd Transitions         : 0
Rx RST BPDUs Count                : 0
Rx Config BPDU Count              : 0
Rx TCN BPDU Count                 : 0
Tx RST BPDUs Count                : 9
Tx Config BPDU Count              : 0
Tx TCN BPDU Count                 : 0
Invalid RST BPDUs Rx Count        : 0
Invalid Config BPDU Rx Count      : 0
Invalid TCN BPDU Rx Count         : 0
Protocol Migration Count          : 0

Variable definitions

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