11-26-2014 04:52 AM - edited 03-07-2019 09:40 PM
Hello All,
I've configured RSTP in one of our branch divisions because we decided to add a backup wireless bridge in case one of our fibers gets cut out. Everything is working great , i am getting the desired result, however, i wanted to also syslog the trap msg when a topology change occurs and send it by email. The problem is, i cannot get the root switch to log such an event.
The root switch is a Catalyst 6509, i have tried every level of logging possible, to no avail. I know the trap msg is a notice so i have set my logging to informational, but no change.
I know on c3560's and 3750 i can define to log spanning-tree events, and on my lab setup i do get the trap msgs to my syslog server and email.
What am i missing?! How can i have my Root switch send me that syslog msg?
I do appreciate your help
Thanks in advance!
11-26-2014 06:57 AM
Hi,
Are you not getting no trap msg what so ever, or your just not getting topology change msg's ?
11-26-2014 07:17 AM
Hi Sarbjit-2014
Thank you for your response, i dont get any traps msg's at all, doing a sh log on the catalyst will not show me those events.
Below is the output of my sh log ,for obvious reasons i have masked the logging host
Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes,
0 overruns)
Console logging: level debugging, 608 messages logged
Monitor logging: level debugging, 23 messages logged
Buffer logging: level debugging, 608 messages logged
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
Trap logging: level notifications, 649 message lines logged
Logging to x.x.x.x, 560 message lines logged
I also tried to enter the command spanning-tree logging, but it doesnt seem to be available
Thanks
11-26-2014 07:23 AM
What about checking your actual Syslog/SNMP server logs, any joy there. Are you receiving logs from any other device on your network ?
11-26-2014 07:26 AM
I have the same exact setup on my lab network, my switches are syslogging to the same server, and i do get the trap message whenever the topology changes there.
The only difference is im using a 3560 on my lab , and the prod is a 6509.
The weird thing is regardless of the syslog server getting the trap, i should still see it on the switch when i issue sh log unless i am mistaken?
11-26-2014 07:47 AM
Yeah the setup is pretty simple, I cant understand why your not getting any outputs. What IOS are you running on the 6509 maybe its not capable or its a bug.
11-26-2014 07:58 AM
Have you configured logging enable, or is that command only for remote server logs capture ?
11-26-2014 08:05 AM
Here is the IOS i am using on the catalyst s222-ipservices_wan-mz.122-18.SXF14.bin
Also here is all the logging settings for this Catalyst
SNFCORE6509#sh running-config | i logging
logging event link-status default
logging history informational
logging trap notifications
logging facility local6
logging source-interface Vlan x
logging x.x.x.x
11-26-2014 08:37 AM
I think i may have found the issue, however i cannot test in prod right now.
snmp-server enable traps bridge topologychange should do the trick!
I have enabled it,. and report back once i am able to test it
11-26-2014 09:51 AM
Tried after applying the below command still no luck
Will keep looking
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