cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2189
Views
0
Helpful
5
Replies

Nexus 5600 ip sla feature

colin.magee
Level 1
Level 1

We have a Nexus 56128 installed as a L3 edge router. We need to track reachability to a remote router. The Nexus 5600 does not currently offer the IP SLA features. Any alternatives to solve this? We need to install a backup route when primary fails.

5 Replies 5

InayathUlla Sharieff
Cisco Employee
Cisco Employee

N5K/N6K supports object tracking, but as of NX/OS 7.1, you still can't tie it into static routes and there's no IP SLA.

However, NX/OS 6.0(2)N2(1) did add EEM which can periodically run a python script that does what you want. Attached is RouteTrack.py. Place it in bootflash, run it manually from the CLI to test it out, and then create an EEM applet to run it every few seconds.

Usage:

RouteTrack.py <route> <route_nexthop> [route_vrf] [ping_host [ping_vrf]] [debug]

The simplest form is:

RouteTrack.py 192.168.3.0/24 10.0.0.1

This will add or remove the config command "ip route 192.168.3.0/24 10.0.0.1" based on whether or not 10.0.0.1 is pingable

The script produces syslog messages like these:

2013 Oct 16 19:22:12 N5K-2 %USER-3-SYSTEM_MSG: Removing route vrf management 1.0.0.0/8 to 172.31.51.1 (ping 10.89.169.5 failed) - RouteTrack.py

2013 Oct 16 19:22:31 N5K-2 %USER-3-SYSTEM_MSG: Adding route vrf management  1.0.0.0/8 to 172.31.51.1 (ping 10.89.169.5 success) - RouteTrack.py

Thanks for the reply. I do not see the attachment.

what attachment??

Attached is RouteTrack.py. Where is this attachment?

Colin

Plz check the following link it has this :-

https://supportforums.cisco.com/discussion/11719336/ip-sla-nexus-5500-series

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card