03-24-2011 01:08 PM - edited 03-06-2019 04:15 PM
Hi,
On a 3750 running 12.2(55), what are the logging commands I can use to capture spanning tree changes?
I have a 3750 that is showing me a blocked port one minuted and then later on it is gone and comes back again, but nothing is in the log.
Also, if someone could share recommend commands for switch logging setup?
Thanks.
Solved! Go to Solution.
03-24-2011 06:15 PM
Hi,
You can use
#debug spanning-tree event
Ensure you have your time stamps, plenty of logging buffer and/or a syslog server configured
Reference to config guide:
a. service timestamp
b. logging trap -> debugging level
c. eg. logging buff 100000
Caveats come with debugging - be aware of resources such as CPU and memory, especially if there's a lot of conditions occuring in the network.
spanning-tree event shouldn't be to heavy.
If you are also monitoring from a telnet session to verify the debug --> #term mon
disabling
#undebug all
#term no mon.
Note: As good practice, When troubleshooting STP, ensure that all your "host ports" are portfast enabled. This ensures you do not get any false positives when looking for TCN's in the network.
HTH
Eugene
03-24-2011 06:15 PM
Hi,
You can use
#debug spanning-tree event
Ensure you have your time stamps, plenty of logging buffer and/or a syslog server configured
Reference to config guide:
a. service timestamp
b. logging trap -> debugging level
c. eg. logging buff 100000
Caveats come with debugging - be aware of resources such as CPU and memory, especially if there's a lot of conditions occuring in the network.
spanning-tree event shouldn't be to heavy.
If you are also monitoring from a telnet session to verify the debug --> #term mon
disabling
#undebug all
#term no mon.
Note: As good practice, When troubleshooting STP, ensure that all your "host ports" are portfast enabled. This ensures you do not get any false positives when looking for TCN's in the network.
HTH
Eugene
03-24-2011 07:02 PM
Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide