cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2697
Views
0
Helpful
9
Replies

Spanning Tree Topology Changes notifications

elieibr01
Level 1
Level 1

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!

9 Replies 9

Sarbjit-2014
Level 1
Level 1

Hi,

Are you not getting no trap msg what so ever, or your just not getting topology change msg's ?

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 

 

What about checking your actual Syslog/SNMP server logs, any joy there. Are you receiving logs from any other device on your network ?

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?

Sarbjit-2014
Level 1
Level 1

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.

Sarbjit-2014
Level 1
Level 1

Have you configured logging enable, or is that command only for remote server logs capture ?

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

 

 

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

Tried after applying the below command still no luck

 

Will keep looking