ASA monitor track route change via SNMP trap


1. Create SLA
sla monitor 100 type echo protocol ipIcmpEcho 8.8.8.8 interface OUTSIDE timeout 1000 frequency 3 sla monitor schedule 100 life forever start-time now

2. Create track
track 1 rtr 100 reachabilit

3. Create static route to use the track
route outside 8.8.8.8 255.255.255.0 203.0.113.1
route outside 0.0.0.0 0.0.0.0 203.0.113.1 track 1

4. Setup SNMP server
snmp-server host inside 192.168.100.11 community *****

5. Create logging list and enable SNMP trap for it.
logging list SLA-LIST message 622001 logging history SLA-LIST snmp-server enable traps syslog

Comments