- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2020 10:12 AM - edited 02-28-2020 11:49 AM
Hi,
I've got cisco nexus 6001.
When I issue show spanning-tree detail command I can see many of the interesting information.
# show spanning-tree detail MST0000 is executing the mstp compatible Spanning Tree protocol Bridge Identifier has priority 4096, sysid 0, address 002a.6a60.d101 Configured hello time 2, fex hello time 12, max age 20, forward delay 15 We are the root of the spanning tree Topology change flag not set, detected flag not set Number of topology changes 11558 last change occurred 0:01:48 ago from Ethernet1/2
Can I log all TCN changes to external log file to further investigation later?
My current setup:
# show running-config | include log logging level spanning-tree 6 + All activities on this system are logged. + logging event link-status default logging server 10.4.0.2 5 use-vrf management facility local6 logging monitor 6
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2020 10:39 PM
Do you want the "external log file" to be stored on switch? or and remote server?
[On Switch]
# logging logfile spanning-tree-event.txt 7 [size bytes]
# dir log:
# debug spanning-tree events
# copy log:spanning-tree-event.txt bootflash:
[On Remote Syslog server]
#logging server <syslog_server> 7 use-vrf management
# debug spanning-tree events
Although debugging spanning-tree event should not cause high loading to your system, still be aware of the loading issue before enabling it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2020 10:39 PM
Do you want the "external log file" to be stored on switch? or and remote server?
[On Switch]
# logging logfile spanning-tree-event.txt 7 [size bytes]
# dir log:
# debug spanning-tree events
# copy log:spanning-tree-event.txt bootflash:
[On Remote Syslog server]
#logging server <syslog_server> 7 use-vrf management
# debug spanning-tree events
Although debugging spanning-tree event should not cause high loading to your system, still be aware of the loading issue before enabling it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2020 05:35 AM
Thanks for help.
All my low end switched very wordy about various STP or other events.
But nexus is core switch in my case, so I'll take in mind your warns ))
