display stp vlan

Function

The display stp vlan command displays the STP status of an interface added to a specified VLAN.

Format

display stp vlan vlan-id

Parameters

Parameter Description Value
vlan-id

Displays the STP status of an interface added to a specified VLAN.

The value is an integer ranging from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mstp read

Usage Guidelines

Usage Scenario

After an interface is added to a VLAN, run the display stp vlan command to view the STP status of the interface.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the STP status of an interface added to a specified VLAN.
<HUAWEI> display stp vlan 1
InstanceId   Port                        Role  State
 ----------------------------------------------------------------------
1            GigabitEthernet0/1/1        DESI  FORWARDING
Table 1 Description of the display stp vlan command output
Item Description
InstanceId

Instance ID.

Port

Interface.

Role

Interface role:

  • DESI: Designated port.
  • ROOT: Root port.
  • ALTE: Alternate port.
  • BACK: Backup port.
  • MAST: Master port.
State

Interface status:

  • FORWARDING.
  • DISCARDING.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >