cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
401
Views
0
Helpful
3
Replies

WAN Problem

Reyad Safi
Level 1
Level 1

hello experts

i need your help regarding below

i have 2 routers , one localy at our H.Q , and the other in remote side .

the 2 routers connected through WAN with each other . what i need is to make some configuration at the remote router to shut down another interface automatically when the WAN problem goes down and the localy and the remote router couldnt reach each other ...

your cooperation appreciated

Reyad

3 Replies 3

methos365
Level 1
Level 1

hello Reyad,

i am not an expert.. but one idea could be to use the ip verify availability with ip sla tracks and with the appropriate set commands in the route-map change the AD of the interface. i am not sure if this is helpful at all, i haven't tested but i am setting up a gns lab shortly for this..

John Blakley
VIP Alumni
VIP Alumni

You may need to use eem and tracking for this. Try this:

track 1 interface  FastEthernet0/1 line-protocol

event manager applet Track-Down

event syslog pattern "1 interface FastEthernet0/1 line-protocol Up->Down"

action 1.0 cli command "enable"

action 2.0 cli command "config t"

action 3.0 cli command "int fa0/0"

action 4.0 cli command "shut"

With the above, if my fa0/1 goes down, I shut down my int fa0/0. You're going to need to create another one to bring the interface back up when your tracked object comes back up.

event manager applet Track-Up

event syslog pattern "1 interface Fa0/1 line-protocol Down->Up"

action 1.0 cli command "enable"

action 2.0 cli command "config t"

action 3.0 cli command "int fa0/0"

action 4.0 cli command "no shut"

HTH, John *** Please rate all useful posts ***

Reyad Safi
Level 1
Level 1

thank you Anastasios

thank you Blakley , i think your idea perfect for me , but if you can help me to make a tracking for the next hop ip address reachability instead of the interface status .

becouse some times the interface status shows up at both sides but no traffic pass through the link according to ISP problem . so that i prefer to have IP address reachability tracking if possible .

regards

Reyad

Review Cisco Networking products for a $25 gift card