debugging stp vsi pw

Function

The debugging stp vsi pw command enables the debugging of STP on a PW generation tree of the VSI.

The undo debugging stp vsi pw command disables the debugging of STP on a PW generation tree of the VSI.

By default, the debugging of the PW generation tree on the VSI is disabled.

Format

debugging stp vsi vsiName pw pwName { event | packet { all | receive | send } }

undo debugging stp vsi vsiName pw pwName { event | packet { all | receive | send } }

Parameters

Parameter Description Value
vsiName

Specifies the generation tree on the VSI.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

pwName

Specifies the PW generation tree on the VSI.

The value is a string of 1 to 15 characters.

event

Specifies the debugging of the STP events of the specified PW generation tree on the VSI.

-

packet

Specifies the debugging of BPDU packets of the specified PW generation tree on the VSI.

-

all

Specifies all the MSTP debugging function of the specified PW generation tree on the VSI.

-

receive

Specifies the debugging of BPDU packets received on the specified PW generation tree on the VSI.

-

send

Specifies the debugging of BPDU packets send on the specified PW generation tree on the VSI.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
mstp debug

Usage Guidelines

Usage Scenario

You can run the debugging stp vsi pw command to enable the debugging of STP on a PW generation tree of the VSI, facilitating fault location.

Example

# Enables the packets debugging function of the PW generation tree on the VSI.
<HUAWEI> debugging stp vsi vsi1 pw pw1 packet all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic