Verifying Cisco IP SLA udp echo responder

Wed 12 April 2017 by someone

Once you have enabled cisco IP sla udp echo and would like to check it

  ip sla 55555
  udp-echo 10.15.15.15 35000 control disable
  ip sla schedule 55555 life forever start-time now

and would like to check it

  nping -c100 -udp -p 35000 -g 35000 --data '0x00010000abcdabcdabcdabcdabcdabcd' 192.168.44.99

  Starting Nping 0.7.40 ( https://nmap.org/nping ) at 2017-04-12 21:07 EDT
  SENT (0.0332s) UDP 10.15.15.15:35000 > 192.168.44.99:35000 ttl=64 id=31096 iplen=44 
  RCVD (0.2180s) UDP 192.168.44.99:35000 > 10.15.15.15:35000 ttl=244 id=40587 iplen=44 
  SENT (1.0339s) UDP 10.15.15.15:35000 > 192.168.44.99:35000 ttl=64 id=31096 iplen=44 
  RCVD (1.2380s) UDP 192.168.44.99:35000 > 10.15.15.15:35000 ttl=244 id=40589 iplen=44 
  SENT (2.0349s) UDP 10.15.15.15:35000 > 192.168.44.99:35000 ttl=64 id=31096 iplen=44 
  ^C 
  Max rtt: N/A | Min rtt: N/A | Avg rtt: N/A
  Raw packets sent: 3 (132B) | Rcvd: 2 (92B) | Lost: 1 (33.33%)

IPs must be NOT NATed.