display stp bridge

Function

The display stp bridge command displays detailed information about the spanning tree of a bridge in a Multiple Spanning Tree Protocol (MSTP) process.

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

MSTP process view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mstp write

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.

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 in MSTP process 1.
<HUAWEI> system-view
[~HUAWEI] stp process 1
[*HUAWEI-mst-process-1] 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 command output
Item Description
MSTID

MSTP instance ID.

HelloTime

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

MaxAge

Maximum lifetime of a BPDU.

ForwardDelay

Time interface status transition takes.

Root ID

MSTP root bridge ID.

Root Cost

MSTP root path cost.

Root Port

Root port.

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