display stp abnormal-port

Use display stp abnormal-port to display history about ports that are blocked by spanning tree protection features.

Syntax

display stp abnormal-port

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Usage guidelines

In an MSTI or VLAN, this command can display a maximum of three history records for a port that is blocked by spanning tree protection features.

Examples

# In MSTP mode, display history about ports that are blocked by spanning tree protection features.

---[Ten-GigabitEthernet1/0/1]---
    MST ID   BlockReason                     Time
    0        Root-Protected                  14:39:04 04/15/2016
    0        Root-Protected                  14:39:02 04/15/2016
    0        Root-Protected                  14:39:00 04/15/2016

# In PVST mode, display history about ports that are blocked by spanning tree protection features.

---[Ten-GigabitEthernet1/0/1]---
    VLAN ID  BlockReason                     Time
    1        Root-Protected                  14:49:17 04/15/2016
    1        Root-Protected                  14:49:15 04/15/2016
    1        Root-Protected                  14:49:12 04/15/2016

Table 38: Command output

Field

Description

MST ID

MSTI of a blocked port.

VLAN ID

VLAN of a blocked port.

BlockReason

Reason that the port was blocked:

  • Root-Protected—Root guard feature.

  • Loop-Protected—Loop guard feature.

  • Loopback-Protected—Self-loop protection. A port in the MSTI receives a BPDU sent by itself.

  • Disputed—Dispute guard. A port receives a low-priority BPDU from a non-blocked designated port in forwarding or learning state.

  • InconsistentPortType-Protected—Inconsistent port type protection.

  • InconsistentPvid-Protected—Inconsistent PVID protection.

Time

Protection feature trigger time.