display stp abnormal-interface
Function
The display stp abnormal-interface command displays information about abnormal interfaces running the Spanning Tree Protocol (STP).
Parameters
Parameter | Description | Value |
---|---|---|
instance instance-id | Displays the status and statistics of a specified spanning tree instance. If instance instance-id is not specified, the status and statistics of all spanning tree instances will be displayed in the sequence of the interface numbers. |
The value is an integer in the range 0 to 4094. The value 0 indicates a common and internal spanning tree (CIST) instance. |
Usage Guidelines
Usage Scenario
If a device has many interfaces and the display stp command output displays vast information, viewing information about abnormal interfaces running STP is difficult.
You can use the display stp abnormal-interface command to view information about abnormal interfaces running STP.
Example
# Display information about abnormal interfaces in process 0 running STP
<Huawei> display stp instance 0 abnormal-interface MSTID Interface Status Reason 0 GigabitEthernet0/0/1 DISCARDING LOOP-Protected
Item |
Description |
---|---|
MSTID |
MSTP instance ID |
Interface |
Interface type |
Status |
Status of an interface after the STP protection takes effect
|
Reason |
An interface running STP becomes abnormal due to one of the following:
|