display stp bridge (All views)

Function

The display stp bridge command displays detailed information about the spanning tree of a bridge.

Format

display stp bridge { local | root }

Parameters

Parameter Description Value
local

Displays detailed information about the spanning tree of the local bridge.

-

root

Displays detailed information about the spanning tree of the root bridge.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mstp read

Usage Guidelines

Usage Scenario

If a device has many interfaces, running the display stp command displays a large amount of information, and it is difficult to find wanted information about the spanning trees of the root and local bridges.

To view detailed information about the spanning trees of the root and local bridges, run the display stp bridge command.

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.

Example

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

# Display detailed information about the spanning tree of the root bridge.
<HUAWEI> display stp bridge root
MSTID              Root ID  Root Cost Hello Max Forward Root Port               
                                       Time Age   Delay                         
-------------------------------------------------------------------       
    0 61440.00e0-fc12-3456          0     2  20      15                         
    1 61440.00e0-fc12-3456          0     2  20      15
Table 1 Description of the display stp bridge (All views) command output
Item Description
MSTID

MSTP instance ID.

Root ID

MSTP root bridge ID.

Root Cost

MSTP root path cost.

Root Port

Root port.

Hello

Interval at which Bridge Protocol Data Units (BPDUs) are sent from the root bridge.

Max

Maximum lifetime of a BPDU.

Forward

Time interface status transition takes.

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