Advertisement
Guest User

Untitled

a guest
Mar 14th, 2013
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. version 12.4
  2. !
  3. track 1 rtr 123 reachability
  4. !
  5. ip route 0.0.0.0 0.0.0.0 37.77.176.177 track 1
  6. ip route 0.0.0.0 0.0.0.0 31.24.0.193 254 name ADSL_Backup
  7. !
  8. ip sla 123
  9. icmp-echo 37.77.176.177 source-interface FastEthernet0/0
  10. timeout 6000
  11. frequency 10
  12. ip sla schedule 123 life forever start-time now
  13. !
  14. event manager applet IP-SLA-123-TIMEOUT
  15. event snmp oid 1.3.6.1.4.1.9.9.42.1.2.9.1.6.123 get-type exact entry-op eq entry-val 1 exit-op eq exit-val 2 poll-interval 5
  16. action 1.0 syslog priority critical msg "37.77.176.177 not reachable - primary line is down"
  17. action 1.1 mail server "31.24.0.196" to "[email protected]" from "[email protected]" subject "IP SLA 123 Timeout" body "Timeout on the primary line"
  18. event manager applet IP-SLA-123-OK
  19. event snmp oid 1.3.6.1.4.1.9.9.42.1.2.9.1.6.123 get-type exact entry-op eq entry-val 2 exit-op eq exit-val 1 poll-interval 5
  20. action 1.0 syslog priority critical msg "37.77.176.177 is reachable - primary line is back up"
  21. action 1.1 mail server "31.24.0.196" to "[email protected]" from "[email protected]" subject "IP SLA 123 Restored" body "Primary line restored"
  22. !
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement