cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1027
Views
5
Helpful
7
Replies

Sup 720 failover notification

MBrooksAirIT
Level 1
Level 1

Hello All- Looking for a way to get notification of a supervisor failover. We have 6500s with Sup 720s, and 4500s with Sup II+ and Sup V. Any suggestions are welcome.

Many thanx

1 Accepted Solution

Accepted Solutions

For an external script interacting with network devices, I prefer using Expect (http://www.nist.gov/el/msid/expect.cfm), but Perl with the relevant CPAN modules would also work well.

EEM could be a little more preferrable than an external script, since it lives right on the IOS device itself.

http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_home.htm

There're several EEM experts on this forum, so in case they miss this thread, you can always start a new one with a list of your requirements, and usually you'll get a tailored solution well nigh unobtainable through regular support channels.

View solution in original post

7 Replies 7

Mahesh Gohil
Level 7
Level 7

Hello Michael,

Below post talks about failover notification

https://supportforums.cisco.com/message/3207478

Regards

mahesh

Thanx Mahesh- The article talks about CatOS and we are running IOS. Since we do have some SNMP traps enabled already, I tried the command "snmp-server enable traps redundancy" -- redundancy is not one of the available keywords.

For cat6k running IOS, you can configure "snmp-server enable traps module" in the case of the SUP going cleanly "up" or "down".

You can also poll for moduleStatus and moduleStandbyStatus of the CISCO-STACK-MIB, as Joe discussed in https://supportforums.cisco.com/message/3053835

Thirdly,  IOS generates a hodge-podge of syslog messages in different severity  levels for possible SUP issues. The problem is as a customer, I don't have access to  IOS/CatOS source codes, so I have no way of knowing all the current and future key words  Cisco chooses to use, concerning a subject such as SUP failures.

Even  after doing all three above, IME I could still miss out some corner cases for SUP going bad. That's why  I prefer the "show redundancy state" in a script, internal or external to IOS. Besides, the scripting output will be comparing apple-to-apple with what the network staff look at.

yjdabear
VIP Alumni
VIP Alumni

The problem is SUP failovers could happen for a variety of reasons and in a variety of "styles". Worse, the secondary SUP could go kaputt, something that usually goes unnoticed until there's a need to fail over to it, autonomously or manually. So I think the surest way to check redundant SUP status, including timely notification of secondary SUP failures, is to have either an external script or EEM applet/policy parse the output of "show redundancy state" periodically.

Thanx Bear, the more I look, the more this seems the solution. Would you have any suggestions as to scripting methodology? And what is EEM?

For an external script interacting with network devices, I prefer using Expect (http://www.nist.gov/el/msid/expect.cfm), but Perl with the relevant CPAN modules would also work well.

EEM could be a little more preferrable than an external script, since it lives right on the IOS device itself.

http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_home.htm

There're several EEM experts on this forum, so in case they miss this thread, you can always start a new one with a list of your requirements, and usually you'll get a tailored solution well nigh unobtainable through regular support channels.

MBrooksAirIT
Level 1
Level 1

Outstanding Bear, many thanx

And yet, you have opened up a whole new world which will suck down even more of my time...

Review Cisco Networking for a $25 gift card