Viewing RSTP Port Statistics

About this task

View RSTP statistics on ports to manage network performance.

Note

Note

Slot and port information can differ depending on hardware platform.

Procedure

View RSTP statistics on a port:

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

Example

View RSTP statistics:

Switch:1#show spanning-tree rstp port statistics

================================================================================
                              RSTP Port Statistics
================================================================================
Port Number                       : 4/1
Number of Fwd Transitions         : 0
Rx RST BPDUs Count                : 0
Rx Config BPDU Count              : 0
Rx TCN BPDU Count                 : 0
Tx RST BPDUs Count                : 0
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
Port Number                       : 4/2
Number of Fwd Transitions         : 0
Rx RST BPDUs Count                : 0
Rx Config BPDU Count              : 0
Rx TCN BPDU Count                 : 0
Tx RST BPDUs Count                : 0
Tx Config BPDU Count              : 0

--More-- (q = quit)

Variable Definitions

Use the data in the following table to use 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.

Job Aid

The following table describes output for the show spanning-tree rstp port statistics command.

Table 1. show spanning-tree rstp port statistics field descriptions

Parameter

Description

RxRstBpduCount

The number of RSTP BPDUs received on this port.

RxConfigBpduCount

The number of configuration BPDUs received on this port.

RxTcnBpduCount

The number of TCN BPDUs received on this port.

TxRstBpduCount

The number of RSTP BPDUs transmitted by this port.

TxConfigBpduCount

The number of Config BPDUs transmitted by this port.

TxTcnBpduCount

The number of TCN BPDUs transmitted by this port.

InvalidRstBpduRxCount

The number of invalid RSTP BPDUs received on this port. A trap is generated on the occurrence of this event.

InvalidConfigBpduRx Count

The number of invalid configuration BPDUs received on this port. A trap is generated on the occurrence of this event.

InvalidTcnBpduRxCount

The number of invalid TCN BPDUs received on this port. A trap is generated on the occurrence of this event.

ProtocolMigrationCount

The number of times this port migrated from one STP protocol version to another. The relevant protocols are STP-Compatible and RSTP. A trap is generated on the occurrence of this event.