Function
The debugging stp instance event command is used to enable
the event debugging switch of the instance specified by MSTP. When you need to
query the event such as the RX/TX packet, port status/port role transition, and
state machine transition of the specified instance, run this command. After
that, you can obtain the details of the related events.
The undo debugging stp instance event command is used to disable the event debugging switch of the specified instance. If you do not want to obtain the details of the related events, run this command. After that, the system does not report the information about the related events.
The undo debugging stp instance event command is used to disable the event debugging switch of the specified instance. If you do not want to obtain the details of the related events, run this command. After that, the system does not report the information about the related events.
Parameters
Parameter | Description | Value |
---|---|---|
instance instance-id | Indicates the spanning tree instance ID. Value 0 indicates the common and internal spanning tree (CIST) instance and the other values indicate the multiple spanning tree instance (MSTI). | Numeral type. Range: 0-16. |
Usage Guidelines
- This command must be used with the terminal monitor and terminal debugging commands. The debugging information can be reported to the CLI terminal only when the functions in these two commands are enabled.
- After the event debugging switch of the specified instance of MSTP is enabled, you can obtain the information about the RX/TX packets and state machine of all ports of the specified instance.
Example
To enable the event debugging switch of the MSTP instance 2, do as follows:
huawei#debugging stp instance
{ INTERGER<0-16> }:2
{ event<K> }:event
Command:
debugging stp instance 2 event
To disable the event debugging switch of the MSTP instance 2, do as follows:
huawei#undo debugging stp instance
{ INTERGER<0-16> }:2
{ event<K> }:event
Command:
undo debugging stp instance 2 event
No comments:
Post a Comment