cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2778
Views
0
Helpful
2
Replies

Conditional If-Else commands in cisco Ios and ASA

Shankar Murali
Level 1
Level 1

Is there any way to make cisco ios decide its behaviour

ie... i have a remote site called a.com (internet) and b.com (internet).

The scenario is


if { A-->down}
    (route it via link-b)
else
   ( route it via A)

such type of if else is critical in todays network. how to execute such type of
if-else statements in ASA and cisco Ios.

2 Replies 2

Hi,


Please let me is there any way to clearly determine the down in an ISP, if it is down route it through another link.


ie

   If we took IPSLA for monitoring ---- we have to give a remote IP for monitoring, if the route to this IP goes down , the whole netwok will be routed towards the second ISP. But this should not be the real case, even if the remote server is down our router./ ASA will consider this as ISP failure and chage the route. I thought of a solution


x.x.x.x  --- remote server, y.y.y.y --- our gateway. our router should change the route only if the route to remote IP as well as the gateway icmp request is down


Monitor x.x.x.x


if {  x.x.x.x goes down}

   
      { 

          Monitor y.y.y.y

            if { y.y.y.y goes down }

              change the route to ISP2

                    else  ( exit )           

                                      }


else

Keep the route


How to realise this program in cisco roter/ASA.  Is to configure dual IP SLA.


                                                    Thanks is Advance

                                                    Shankar Murali