Introducción
Este documento provee una configuración muestra del feature Reliable Static Routing Backup Using Object Tracking feature, conocido también como tracking objects. Este feature da la habilidad al Cisco IOS software para utilizar Internet Control Message Protocol (ICMP) pings de forma que podamos identificar cuando un Point-to-Point over Ethernet (PPPoE) o un IP Security Protocol (IPSec) Virtual Private Network (VPN) tunnel va hacia abajo, permitiendo la entrada de una conexión backup desde un puerto alterno. Este feature es compatible tanto para rutas estáticas como configuraciones con DHCP.
Alcances
Este documento sirve como guía de configuración básica y en ningún momento sustituye la información que se encuentra en CCO y CEC
Prerrequisitos
· Verificar en el Cisco Feature Navigator sobre Soporte en la plataforma y las imágenes de IOS.
Configuración
· A partir de la versión 12.3(8)T
rtr 1
type echo protocol ipIcmpEcho 41.41.41.254 source-ipaddr 4.4.4.1
timeout 1000
threshold 2
frequency 3
rtr schedule 1 life forever start-time now
!
track 123 rtr 1 reachability
!
ip local policy route-map MY_LOCAL_POLICY
!
ip route 0.0.0.0 0.0.0.0 4.4.4.254 track 123
ip route 0.0.0.0 0.0.0.0 5.5.5.254 2
!
access-list 101 permit icmp any host 41.41.41.254
!
route-map MY_LOCAL_POLICY permit 10
match ip address 101
set ip next-hop 4.4.4.254
· A partir de la versión 12.3(14)T
ip sla monitor 1
type echo protocol ipIcmpEcho 41.41.41.254 source-ipaddr 4.4.4.1
timeout 1000
threshold 2
frequency 3
ip sla monitor schedule 1 life forever start-time now
!
track 123 rtr 1 reachability
!
ip local policy route-map MY_LOCAL_POLICY
!
ip classless
ip route 0.0.0.0 0.0.0.0 4.4.4.254 track 123
ip route 0.0.0.0 0.0.0.0 5.5.5.254 2
access-list 101 permit icmp any host 41.41.41.254
!
route-map MY_LOCAL_POLICY permit 10
match ip address 101
set ip next-hop 4.4.4.254
· A partir de la version 12.4(4)T
ip sla 1
icmp-echo 41.41.41.254 source-ip 4.4.4.1
timeout 1000
threshold 2
frequency 3
ip sla schedule 1 life forever start-time now
!
track 123 rtr 1 reachability
!
ip local policy route-map MY_LOCAL_POLICY
!
ip classless
ip route 0.0.0.0 0.0.0.0 4.4.4.254 track 123
ip route 0.0.0.0 0.0.0.0 5.5.5.254 2
!
access-list 101 permit icmp any host 41.41.41.254
!
route-map MY_LOCAL_POLICY permit 10
match ip address 101
set ip next-hop 4.4.4.254
Verificación
Router# show ip route track-table
ip route 0.0.0.0 0.0.0.0 10.1.1.242 track-object 123 state is [up]
Información Relacionada
http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html#wp1072790
Related Documents
Related Topic | Document Title |
IPSec configuration tasks | The "Configuring IPSec Network Security" chapter in the Cisco IOS Security Configuration Guide |
IPSec commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples | The Cisco IOS Security Command Reference |
VPDN configuration tasks | The Cisco IOS VPDN Configuration Guide |
VPDN commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples | The Cisco IOS VPDN Command Reference |
PPPoE configuration tasks | The "Configuring Broadband Access: PPP and Routed Bridge Encapsulation" chapter in the Cisco IOS Wide-Area Networking Configuration Guide |
PPPoE commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples | The Cisco IOS Wide-Area Networking Command Reference |
DDR configuration tasks | • The "Dial-on-Demand Routing Configuration" part in the Cisco IOS Dial Technologies Configuration Guide • Configuring and Troubleshooting DDR Backup |
DDR commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples | The Cisco IOS Dial Technologies Command Reference |
IP SLAs configuration tasks | Cisco IOS IP SLAs Configuration Guide |
IP SLAs commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples | Cisco IOS IP SLAs Command Reference |