Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

Logging Spanning Tree transitions on Cat6500 IOS

In CatOS one has very strict control over the level of logging for individual facilities. I like to have detailed information on Spanning Tree transitions, and as such we've set Spanning Tree logging at a highly detailed level on our CatOS boxes.

In IOS one doesn't have the same level of control, as logging is merely defined as a general level af trap (syslog) logging.

Anybody got any tricks on obtaining detailed Spanning Tree information on Cat6500 IOS apart from increasing the log level and piping it thru' syslog-ng?

Cisco Employee

Re: Logging Spanning Tree transitions on Cat6500 IOS

You can do quite a few debugs on the SP side

Router#remote login switch

Trying Switch ...

Entering CONSOLE for Switch

Type "^C^C^C" to end this session


Switch-sp#debug sp

Switch-sp#debug spanning-tree ?

all All Spanning Tree debugging messages

backbonefast BackboneFast events

bpdu Spanning tree BPDU

bpdu-opt Optimized BPDU handling

config Spanning tree config changes

etherchannel EtherChannel support

events Spanning tree topology events

exceptions Spanning tree exceptions

general Spanning tree general

mstp MSTP debug commands

pvst+ PVST+ events

root Spanning tree root events

snmp Spanning Tree SNMP handling

switch Switch Shim debug commands

uplinkfast UplinkFast events

Switch-sp#debug spanning-tree

New Member

Re: Logging Spanning Tree transitions on Cat6500 IOS

I was thinking more in terms of daily logging.

Debugging is great when you're tracking a specific problem.

I want logging to track down the cause of past events, or provide insight into what happened when something failed.

Spanning Tree state info is invaluable when tracking layer 2 problems and their history.

CreatePlease to create content