Feature similar to Cisco IP SLA and track

  • 1
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi
I new in Extreme stuff. Pls advise how can I configure to change default route based on ping check. Something similar to cisco ip lsa and tracking. Flow redirect doesn't meet my requirements , I need to change default route because it is propagated by ospf to others switches.

Thanks in advance
Photo of Pawel Zwierzynski

Pawel Zwierzynski

  • 80 Points 75 badge 2x thumb

Posted 2 years ago

  • 1
  • 1
Photo of André Herkenrath

André Herkenrath, Employee

  • 1,962 Points 1k badge 2x thumb
You can use the keyword "protection ping"

e.g.

configure iproute add 100.0.0.0/24 1.2.3.4 protection ping
configure iproute add 100.0.0.0/24 1.2.3.5 protection ping

if both gateways anwer you have a l3 load balancing. 

Regards
André
Photo of Kevin Kim

Kevin Kim, Employee

  • 2,266 Points 2k badge 2x thumb
The "ping" protection on a static route is supported in 16.1, 21.1 or later. You can modify parameters (interval and number of miss) for the ping protection with the following command.

# configure iproute protection ping interval <sec> miss <number of miss>  
Photo of André Herkenrath

André Herkenrath, Employee

  • 1,962 Points 1k badge 2x thumb
If you have an earlier EXOS you can still use upm:

Below a script, that does similar by disabling an Port to an ISP:

create upm profile pingtest

set var primeport 31
# the port of the primary ISP router
set var target 10.2.100.100
# the target IP address used to determine the health of connectivity to the
# primary ISP
set var CLI.OUT 0
ping count 1 vr vr-default $target
set var pinglist $TCL(split ${CLI.OUT} "\n")
delete var CLI.OUT
set var pingrespln $TCL(lsearch -glob $pinglist *received*)
set var pingresp $TCL(lindex $pinglist $pingrespln)
set var pingnorcv $TCL(regexp -nocase {0 packets received} $pingresp)
if ($pingnorcv == 1) then
   disable port $primeport
   create log entry "Failed Uplink "
   disable upm profile pingtest
endif


create upm timer pingtest
configure upm timer pingtest profile pingtest
configure upm timer pingtest after 1 every 1


Regards
André
Photo of Pawel Zwierzynski

Pawel Zwierzynski

  • 80 Points 75 badge 2x thumb
Thank you for responses. I have ExtremeOS 16.1.2.14, protection ping is available from 16.1.3. By the way it isn't meet requirements completly, I want to ping host which I can define.
Andre thank you for the script. What in case that route became available?