Is there a "Juniper Monitor" or "Cisco Track" function in XOS

  • 0
  • 1
  • Question
  • Updated 4 years ago
Create Date: May 29 2013 11:47AM

I would like to change routing dependent on access to an external IP address, on a  Juniper (SSG) they call this "monitor". on Cisco its called track.
Is there a way to do this on extreme.

Could I use script to do it but would prefer some proper config setting?
Can I get a return from ping to an if statement?

conf ipr add default (normal default route)
conf ipr add route   (this is the normal default route)
     if (ping and ROUTE_BACKUP)       /* i'm testing out via the default route to see if its working and i'm in backup mode*/
             conf ipr add default           /* set the route back to the main link*/
             conf ipr del default         /* remove the backup route */
             ROUTE_BACKUP = FALSE
             ROUTE_MAIN = TRUE
     if (NOT ping and ROUTE_MAIN)    /* the ping has failed out of the main route so change to backup link*/
             conf ipr add default          /* set the route to backup link*/
             conf ipr del default          /* remove the main route */
             ROUTE_BACKUP = TRUE
             ROUTE_MAIN = FALSE

Many thanks

(from ben_anrep)
Photo of EtherNation User

EtherNation User, Official Rep

  • 20,320 Points 20k badge 2x thumb

Posted 4 years ago

  • 0
  • 1

There are no replies.

This conversation is no longer open for comments or replies.