The display stp tc-bpdu statistics command displays statistics about sent and received topology change (TC) and topology change notification (TCN) BPDUs on interfaces.
Parameter | Description | Value |
---|---|---|
instance instance-id |
Specifies the ID of an MSTP instance. If instance <instanceId> is not specified, statistics about TC and TCN BPDUs on all interfaces are displayed in the sequence of the interface numbers. |
The value is an integer ranging from 0 to 4094, Value 0 indicates CIST. |
interface interface-type interface-number |
Displays information of a spanning tree on a specified interface. If interface <ifType> <ifNum> is not specified, the status of and statistics about all interfaces will be displayed in the sequence of the interface numbers. |
- |
slot slot-id |
Specifies the number of a slot of which statistics about TC and TCN BPDUs are displayed. |
The value is a string of 1 to 23 case-sensitive characters, spaces not supported. |
vsi vsi-name |
Specifies the names of a virtual switching instance (VSI). |
The vsi-name is a string of 1 to 31 case-sensitive characters, spaces not supported. When quotation marks are used around the string, spaces are allowed in the string. |
pw pw-name |
Specifies the names of a pseudo wire (PW). |
The pw-name is a string of 1 to 15 case-sensitive characters, spaces not supported. When quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
To determine whether a fault has occurred on interfaces that send and receive TC/TCN BPDUs, run display stp tc-bpdu statistics command to view statistics about sent and received BPDUs. The command output helps you locate the fault.
Precautions
If you run this command in the MSTP process view without specifying an MSTP process, information about the MSTP process in this view is displayed by default. If you run this command in the other view without specifying an MSTP process, information about MSTP process 0 is displayed by default.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display stp tc-bpdu statistics -------------------------- STP TC/TCN information-------------------------- MSTID Port TC(Send/Receive) TCN(Send/Receive) 0 GigabitEthernet0/1/1 3/2 0/0 0 GigabitEthernet0/1/2 1/0 0/0 1 GigabitEthernet0/1/3 14/9 -/- 1 GigabitEthernet0/1/4 8/10 -/- 2 GigabitEthernet0/1/5 3/2 -/- 2 GigabitEthernet0/1/6 1/0 -/-
Item | Description |
---|---|
MSTID | MSTP instance ID. |
Port | Interface name. |
TC(Send/Receive) | Statistics about sent and received TC BPDUs. |
TCN(Send/Receive) | Statistics about sent and received TCN BPDUs (A hyphen (-) indicates that only MSTI 0 has TCN BPDUs sent and received). |