beautypg.com

Debug mstp (rstp and stp) – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 495

background image

Spanning Tree Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

19.5

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 variant of this command to disable spanning tree debugging.

Syntax

debug mstp {all|cli|protocol [detail]|timer [detail]}

debug mstp {packet {rx|tx} [decode] [interface <interface>]}

debug mstp {topology-change [interface <interface>]}

no debug mstp {all|cli|protocol [detail]|timer [detail]}

no debug mstp {packet {rx|tx} [decode] [interface <interface>]}

no debug mstp {topology-change [interface <interface>]}

Mode

Privileged Exec and Global Configuration mode

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 on page 8.66

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 (filter) command on page 10.8

:

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.