beautypg.com

Debug spanning-tree – Brocade Network OS Command Reference v4.1.0 User Manual

Page 235

background image

Network OS Command Reference

197

53-1003115-01

debug spanning-tree

2

debug spanning-tree

Enables debugging for the Spanning Tree Protocol (STP).

Synopsis

debug spanning-tree {all | bpdu [rx | tx [all | interface port-channel number |
fortygigabitethernet slot/port | tengigabitethernet slot/port | gigabitethernet slot/port]}

no debug spanning-tree {all | bpdu [rx | tx [all | interface port-channel number |
fortygigabitethernet slot/port | tengigabitethernet slot/port | gigabitethernet slot/port]}

Operands

all

Turns on spanning tree packet debugging on all interfaces.

bpdu

Turns on Bridge Protocol Data Unit debugging.

rx

Turns on debugging for only received spanning-tree packets.

tx

Turns on debugging for only transmitted spanning-tree packets.

interface

Use this parameter to specify the interface to be monitored.

port-channel number

Specifies the port-channel interface. Valid values range from 1
through 6144.

fortygigabitethernet rbridge-id/slot/port

Specifies a valid 40-gigabit Ethernet interface.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

tengigabitethernet rbridge-id/slot/port

Specifies a valid 10-gigabit Ethernet interface.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

gigabitethernet rbridge-id/slot/port

Specifies a valid 1-gigabit Ethernet interface.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

Defaults

STP debugging is disabled.

Command Modes

Privileged EXEC mode

Description

Use this command to enable or disable debugging for STP.

Usage Guidelines

Enter terminal monitor to display debugging outputs.

Enter no debug spanning-tree to disable debugging.

Examples

To enable debugging of spanning-tree for both Rx and Tx on the 10-gigabit Ethernet interface 0/1:

switch# debug spanning-tree bpdu rx interface tengigabitethernet 0/1

switch# debug spanning-tree bpdu tx interface tengigabitethernet 0/1

switch# show debug spanning-tree

MSTP debugging status:

Spanning-tree rx debugging is off