<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is there a &amp;quot;Juniper Monitor&amp;quot; or &amp;quot;Cisco Track&amp;quot; function in XOS in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-quot-juniper-monitor-quot-or-quot-cisco-track-quot/m-p/42549#M10055</link>
    <description>Create Date: May 29 2013 11:47AM&lt;BR /&gt;
&lt;BR /&gt;
Hi,&lt;BR /&gt;
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.&lt;BR /&gt;
Is there a way to do this on extreme.&lt;BR /&gt;
&lt;BR /&gt;
Could I use script to do it but would prefer some proper config setting?&lt;BR /&gt;
Can I get a return from ping to an if statement?&lt;BR /&gt;
eg&lt;BR /&gt;
&lt;BR /&gt;
conf ipr add default 10.1.1.1 (normal default route)&lt;BR /&gt;
conf ipr add route 8.8.8.8/32 10.1.1.1   (this is the normal default route)&lt;BR /&gt;
while(true)&lt;BR /&gt;
{&lt;BR /&gt;
     if (ping 8.8.8.8 and ROUTE_BACKUP)       /* i'm testing out via the default route to see if its working and i'm in backup mode*/&lt;BR /&gt;
     {&lt;BR /&gt;
             conf ipr add default 10.1.1.1           /* set the route back to the main link*/&lt;BR /&gt;
             conf ipr del default 10.1.1.2         /* remove the backup route */&lt;BR /&gt;
             ROUTE_BACKUP = FALSE&lt;BR /&gt;
             ROUTE_MAIN = TRUE&lt;BR /&gt;
      }&lt;BR /&gt;
     if (NOT ping 8.8.8.8 and ROUTE_MAIN)    /* the ping has failed out of the main route so change to backup link*/&lt;BR /&gt;
     {&lt;BR /&gt;
             conf ipr add default 10.1.1.2          /* set the route to backup link*/&lt;BR /&gt;
             conf ipr del default 10.1.1.1          /* remove the main route */&lt;BR /&gt;
             ROUTE_BACKUP = TRUE&lt;BR /&gt;
             ROUTE_MAIN = FALSE&lt;BR /&gt;
      }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
Many thanks&lt;BR /&gt;
ben...  (from ben_anrep)</description>
    <pubDate>Wed, 08 Jan 2014 06:02:00 GMT</pubDate>
    <dc:creator>EtherNation_Use</dc:creator>
    <dc:date>2014-01-08T06:02:00Z</dc:date>
    <item>
      <title>Is there a "Juniper Monitor" or "Cisco Track" function in XOS</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-quot-juniper-monitor-quot-or-quot-cisco-track-quot/m-p/42549#M10055</link>
      <description>Create Date: May 29 2013 11:47AM&lt;BR /&gt;
&lt;BR /&gt;
Hi,&lt;BR /&gt;
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.&lt;BR /&gt;
Is there a way to do this on extreme.&lt;BR /&gt;
&lt;BR /&gt;
Could I use script to do it but would prefer some proper config setting?&lt;BR /&gt;
Can I get a return from ping to an if statement?&lt;BR /&gt;
eg&lt;BR /&gt;
&lt;BR /&gt;
conf ipr add default 10.1.1.1 (normal default route)&lt;BR /&gt;
conf ipr add route 8.8.8.8/32 10.1.1.1   (this is the normal default route)&lt;BR /&gt;
while(true)&lt;BR /&gt;
{&lt;BR /&gt;
     if (ping 8.8.8.8 and ROUTE_BACKUP)       /* i'm testing out via the default route to see if its working and i'm in backup mode*/&lt;BR /&gt;
     {&lt;BR /&gt;
             conf ipr add default 10.1.1.1           /* set the route back to the main link*/&lt;BR /&gt;
             conf ipr del default 10.1.1.2         /* remove the backup route */&lt;BR /&gt;
             ROUTE_BACKUP = FALSE&lt;BR /&gt;
             ROUTE_MAIN = TRUE&lt;BR /&gt;
      }&lt;BR /&gt;
     if (NOT ping 8.8.8.8 and ROUTE_MAIN)    /* the ping has failed out of the main route so change to backup link*/&lt;BR /&gt;
     {&lt;BR /&gt;
             conf ipr add default 10.1.1.2          /* set the route to backup link*/&lt;BR /&gt;
             conf ipr del default 10.1.1.1          /* remove the main route */&lt;BR /&gt;
             ROUTE_BACKUP = TRUE&lt;BR /&gt;
             ROUTE_MAIN = FALSE&lt;BR /&gt;
      }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
Many thanks&lt;BR /&gt;
ben...  (from ben_anrep)</description>
      <pubDate>Wed, 08 Jan 2014 06:02:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-quot-juniper-monitor-quot-or-quot-cisco-track-quot/m-p/42549#M10055</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T06:02:00Z</dc:date>
    </item>
  </channel>
</rss>

