Cisco Cisco 4G LTE Enhanced High-Speed WAN Interface Cards for Europe

Page of 63
 
 
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 20 of 63 
ip local policy route-map track-primary-if 
!local policy to swtich NAT when the primary to backup switch-over happens 
ip nat inside source route-map nat2dsl interface Dialer2 overload 
!NAT entry for primary internface 
ip nat inside source route-map nat2cell interface Cellular0/0/0 overload 
!NAT entry for the backup interface 
ip route 0.0.0.0 0.0.0.0 Dialer2 track 234 
!primary route being tracked by 234 track defined earlier 
ip route 0.0.0.0 0.0.0.0 Cellular0/0/0 254 
!Backup router with higher admin distance (254), this will become primary when 
track fails 
ip sla 1 
 icmp-echo 128.107.248.252 source-interface Dialer2 
 frequency 2000 
ip sla schedule 1 life forever start-time now 
!IP SLA defines the IP address to ping to and how often, when ping fails, the 
dialer-list 1 protocol ip permit 
!dialer list 1 allows the dialer group 1 to dial out for any IP packet 
route-map track-primary-if permit 10 
 match ip address 102 
 set interface Dialer2 Null0 
!to make sure we are sending tracking pings only via primary 
route-map nat2dsl permit 10 
 match ip address 101 
 match interface Dialer2 
route-map nat2cell permit 10 
 match ip address 101 
 match interface Cellular0/0/0 
!above route maps (nat2cell and nat2dsl) to choose correct interface in use to 
NAT