Spanning Tree Commands
©2008 Allied Telesis Inc. All rights reserved.
19.4
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
debug mstp (RSTP and STP)
Use this command to enable debugging for the configured spanning tree mode, and echo data
to the console, at various levels. Note that although this command uses the keyword
mstp
it
displays debugging output for RSTP and STP protocols as well the MSTP protocol.
Use the
no
parameter with this command, to disable spanning tree debugging.
Syntax
debug mstp {all|cli|packet rx|packet tx|protocol [detail]|timer
[detail] [decode|topology-change {interface <
interface
>}}
no debug mstp {all|cli|packet rx|packet tx|protocol [detail]|timer
[detail] [decode|topology-change {interface <
interface
>}}
Mode
Privileged Exec and Configure modes
Usage 1
Use the
debug mstp topology-change
interface
command to generate debugging messages
when the switch receives an indication of a topology change in a BPDU from another device.
The debugging can be activated on a per-port basis. Although this command uses the keyword
mstp
, it displays debugging output for RSTP and STP protocols as well as the MSTP protocol.
Due to the likely volume of output, these debug messages are best viewed using the
terminal
monitor
command before issuing the relevant
debug mstp
command. The default terminal
monitor filter will select and display these messages. Alternatively, the messages can be directed
to any of the other log outputs by adding a filter for the MSTP application using
log buffered
:
Output 1
:
Parameter
Description
all
echoes all spanning tree debugging levels to the console.
cli
echoes spanning tree commands to the console.
packet
echoes spanning tree packets to the console.
rx
received packets.
tx
transmitted packets.
protocol
echoes protocol changes to the console.
timer
echoes timer information to the console.
detail
detailed output.
decode
interprets packet contents
topology-change
interprets topology change messages
interface
keyword before <
interface
> placeholder to specify an interface to debug
<interface>
placeholder used to specify the name of the interface to debug.
awplus(config)#
log buffered program mstp
awplus#terminal monitor
awplus#debug mstp topology-change interface port1.0.19
10:09:09 awplus MSTP[1409]: Topology change rcvd on port1.0.19 (internal)
10:09:09 awplus MSTP[1409]: Topology change rcvd on MSTI 1 port1.0.19
aawplus#debug mstp topology-change interface port1.0.21
10:09:29 awplus MSTP[1409]: Topology change rcvd on port1.0.21 (external)
10:09:29 awplus MSTP[1409]: Topology change rcvd on MSTI 1 port1.0.21