cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1067
Views
25
Helpful
11
Replies

Can IPSLA tack 3 interface?

Requiem11141
Level 1
Level 1

Hi,

I want to know how to track if you have 3 internet interface.

 

If Primary internet interface down or lost ping, then will go to secondary internet interface.

 

If both Primary and Secondary go down, then go to third one.

 

Does anyone how to configure that?

 

Thanks in advance.

 

11 Replies 11

Samer R. Saleem
Level 4
Level 4

what is your current routing methid? is it BGP or Static?

 

as a suggestion, why not using BFD?

 

 

Use static route for all internet interface, and can't do BFD with SP.

ok, find my reply and let me know if its helpful, good luck!

Samer R. Saleem
Level 4
Level 4

in case you are using static routing,

R1 is your local router, which 2,3,4 are ISP routers, you will use default route to each router with different administrative distance and track it by and the track is associated with SLA that pings the interface of ISP routers

12.0.0.2 and 13.0.0.3 and 14.0.0.4, you can try the configs in a lab first

find the config attached

Tracking three.PNG

Hello,

 

I think you need only two IP SLAs. In addition, I would include two EEM scripts to clear the NAT tables in case of failover. So the whole thing would look like below (IP addresses and interfaces are arbitrary, obviously). If you have trouble getting this configured, post the configuration of your router and indicate which interfaces are primary, secondary, and backup.

 

track 1 ip sla 1
!
track 2 ip sla 2
!
ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1
ip route 0.0.0.0 0.0.0.0 192.168.13.2 10 track 2
ip route 0.0.0.0 0.0.0.0 192.168.14.2 20
!
ip sla 1
icmp-echo 8.8.8.8 source-interface GigabitEthernet0/1
frequency 5
ip sla schedule 1 life forever start-time now
ip sla 2
icmp-echo 8.8.8.8 source-interface GigabitEthernet0/2
frequency 5
ip sla schedule 2 life forever start-time now
!
event manager applet CLEAR_NAT
event track 1 state any
action 1.0 cli command “enable”
action 2.0 cli command “clear ip nat translation *”
!
event manager applet CLEAR_NAT
event track 2 state any
action 1.0 cli command “enable”
action 2.0 cli command “clear ip nat translation *”

this is one nice method, nice work with EEM

very nice solution

Is there a good guide for learning EEM basics? thanks

Hello,

 

the link below is a good start:

 

Embedded Event Manager Configuration Guide

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/configuration/xe-16/eem-xe-16-book.html

 

 

thanks Georg

wrong post - apologies



Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
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: