17 févr. 2012

Static Routing Backup with Tracking

Use ip sla + tracking object to check the next-hop availability.
If the next hop is not reachable, the static route disappears from the routing table, useful if there is a switch between the routers:

!
interface FastEthernet1/0.102
 encapsulation dot1Q 102
 ip address 192.168.12.2 255.255.255.0
!
track 5 ip sla 1 reachability
 default-state up
!
ip sla 1
 icmp-echo 192.168.12.1 source-ip 192.168.12.2
 timeout 900
 threshold 2
 frequency 3
ip sla schedule 1 life forever start-time now
!
ip route 1.1.1.1 255.255.255.255 192.168.12.1 name Bob track 5
!

NTP - ACL

NTP - Network Time Protocol Packet types: -  Control messages : don't bother with this. -  NTP request/update messages: used for time sy...