- Configuring Asynchronous Serial Traffic Over UDP
- Modem Signal and Line States
- Configuring X.25 on ISDN Using AO/DI
- Configuring ISDN BRI
- Leased and Switched BRI Interface for ETSI NET3
- ISDN BCAC and Round-Robin Channel Selection Enhancements
- Configuring ISDN Special Signaling
- Configuring Snapshot Routing
- Reliable Static Routing Backup Using Object Tracking
- Configuring Dial Backup for Serial Lines
- Configuring Dial Backup with Dialer Profiles
- Dialer Watch Connect Delay
- Configuring Cisco Easy IP ..
- Configuring Virtual Profiles
- Configuring Virtual Template Interfaces
- Configuring Media-Independent PPP and Multilink PPP
- Customer Profile Idle Timer Enhancements for Interesting Traffic
- Troubleshooting Enhancements for Multilink PPP over ATM Link Fragmentation and Interleaving
- Configuring PPP Callback
- Configuring ISDN Caller ID Callback
- Configuring BACP
- Large-Scale Dial-Out (LSDO) VRF Aware
- Finding Feature Information
- Contents
- Prerequisites for Reliable Static Routing Backup Using ObjectTracking
- Restrictions for Reliable Static Routing Backup Using ObjectTracking
- Information About Reliable Static Routing Backup Using ObjectTracking
- How to Configure Reliable Static Routing Backup Using ObjectTracking
- Configuring the Primary Interface for Reliable Static Routing Backup Using Object Tracking
- Configuring the Backup Interface for Reliable Static Routing Backup Using Object Tracking
- Configuring Network Monitoring with Cisco IOS IP SLAs for Reliable Static Routing Backup Using Object Tracking
- Configuring the Routing Policy for Reliable Static Routing Backup Using Object Tracking
- Configuring the Default Route for the Primary Interface Using Static Routing
- Configuring a Floating Static Default Route on the Secondary Interface
- Verifying the State of the Tracked Object for Reliable Static Routing Backup Using Object Tracking
- Configuration Examples for Reliable Static Routing Backup Using Object Tracking
- Additional References
- Related Documents
- Feature Information for Reliable Static Routing Backup Using Object Tracking
Reliable Static Routing Backup Using Object Tracking
Last Updated: November 20, 2009
The Reliable Static Routing Backup Using Object Tracking feature introduces the ability for the Cisco IOS software to use Internet Control Message Protocol (ICMP) pings to identify when a
PPP over Ethernet (PPPoE) or IP Security Protocol (IPsec) Virtual Private Network (VPN) tunnel goes down, allowing the initiation of a backup connection from any alternative port. The Reliable Static Routing Backup Using Object Tracking feature is compatible with both preconfigured static routes and Dynamic Host Configuration Protocol (DHCP) configurations.
Finding Feature Information
For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the “Feature Information for Reliable Static Routing Backup Using Object Tracking” section.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
- Prerequisites for Reliable Static Routing Backup Using Object Tracking
- Restrictions for Reliable Static Routing Backup Using Object Tracking
- Information About Reliable Static Routing Backup Using Object Tracking
- How to Configure Reliable Static Routing Backup Using Object Tracking
- Configuration Examples for Reliable Static Routing Backup Using Object Tracking
- Additional References
- Feature Information for Reliable Static Routing Backup Using Object Tracking
Prerequisites for Reliable Static Routing Backup Using Object Tracking
Dial-on-demand routing (DDR) must be configured if the backup connection is configured on a dialer interface. For more information on configuring DDR, refer to the “Dial-on-Demand Routing Configuration ” part of th e Cisco IOS Dial Technologies Configuration Guide .
Restrictions for Reliable Static Routing Backup Using Object Tracking
This feature is supported in all Cisco IOS software images for the Cisco 1700 series modular access routers except the Cisco IOS IP Base image.
Information About Reliable Static Routing Backup Using Object Tracking
To configure the Reliable Static Routing Backup Using Object Tracking feature, you should understand the following concepts:
- Reliable Static Routing Backup Using Object Tracking
- Cisco IOS IP SLAs
- Benefits of Reliable Static Routing Backup Using Object Tracking
Reliable Static Routing Backup Using Object Tracking
The Reliable Static Routing Backup Using Object Tracking feature introduces the ability to reliably back up PPPoE or IPsec VPN deployments by initiating a DDR connection from an alternative port if the circuit to the primary gateway is interrupted. The Reliable Static Routing Backup Using Object Tracking feature can ensure reliable backup in the case of several catastrophic events, such as Internet circuit failure or peer device failure. A typical scenario is shown in Figure 1.
Figure 1 Reliable Static Routing Backup Using Object Tracking Scenario
Traffic from the remote LAN is forwarded to the main office from the primary interface of the remote router. If the connection to the main office is lost, the status of the tracked object changes from up to down. When the state of the tracked object changes to down, the routing table entry for the primary interface is removed and the preconfigured floating static route is installed on the secondary interface. Traffic is then forwarded to the preconfigured destination from the secondary interface. If DDR is configured on the secondary interface, interesting traffic will trigger DDR. The backup circuit can be configured to use the public switched telephone network (PSTN) or the Internet. When the state of the tracked object changes from down to up, the routing table entry for the primary interface is reinstalled and the floating static route for the secondary interface is removed.
Cisco IOS IP SLAs
The Reliable Static Routing Backup Using Object Tracking feature uses Cisco IOS IP Service Level Agreements (IP SLAs), a network monitoring feature set, to generate ICMP pings to monitor the state of the connection to the primary gateway. Cisco IOS IP SLAs is configured to ping a target, such as a publicly routable IP address or a target inside the corporate network. The pings are routed from the primary interface only. A track object is created to monitor the status of the Cisco IOS IP SLAs configuration. The track object informs the client, the static route, if a state change occurs. The preconfigured floating static route on the secondary interface will be installed when the state changes from up to down.
HTTP GET, User Datagram Protocol (UDP) echo, or any other protocol supported by Cisco IOS IP SLAs can be used instead of ICMP pings.
Benefits of Reliable Static Routing Backup Using Object Tracking
PPPoE and IPsec VPN deployments provide cost-effective and secure Internet-based solutions that can replace traditional dialup and Frame Relay circuits.
The Reliable Static Routing Backup Using Object Tracking feature can determine the state of the primary connection without enabling a dynamic routing protocol.
The Reliable Static Routing Backup Using Object Tracking feature introduces a reliable backup solution for PPPoE and IPsec VPN deployments, allowing these solutions to be used for critical circuits that must not go down without a backup circuit automatically engaging.
How to Configure Reliable Static Routing Backup Using Object Tracking
This section contains the following tasks:
- Configuring the Primary Interface for Reliable Static Routing Backup Using Object Tracking (required)
- Configuring the Backup Interface for Reliable Static Routing Backup Using Object Tracking
- Configuring Network Monitoring with Cisco IOS IP SLAs for Reliable Static Routing Backup Using Object Tracking (required)
- Configuring the Routing Policy for Reliable Static Routing Backup Using Object Tracking (required)
- Configuring the Default Route for the Primary Interface Using Static Routing (required)
- Configuring a Floating Static Default Route on the Secondary Interface (required)
- Verifying the State of the Tracked Object for Reliable Static Routing Backup Using Object Tracking (optional)
Configuring the Primary Interface for Reliable Static Routing Backup Using Object Tracking
You must configure the connection between the primary interface and the remote gateway. The status of this connection will be monitored by the Reliable Static Routing Backup Using Object Tracking feature.
The primary interface can be configured in one of three ways: for PPPoE, DHCP, or static routing. You must choose one of these configuration types. If you are not sure of which method to use with your network configuration, consult your Internet service provider (ISP) or network administrator.
Perform one of the following tasks to configure the primary interface:
Configuring the Primary Interface for PPPoE
Perform this task to configure the primary interface for PPPoE.
SUMMARY STEPS
3. interface type number [ name-tag ]
6. pvc [ name ] vpi / vci [ ces | ilmi | qsaal | smds | l2transport ]
DETAILED STEPS
Configuring the Primary Interface for DHCP
Perform this task to configure the primary interface for DHCP.
SUMMARY STEPS
3. interface type number [ name-tag ]
DETAILED STEPS
Configuring the Primary Interface for Static Routing
Perform this task to configure the primary interface for static routing.
SUMMARY STEPS
3. interface type number [ name-tag ]
DETAILED STEPS
|
|
|
---|---|---|
|
||
|
||
interface type number [ name-tag ] |
Configures an interface type and enters interface configuration mode. |
|
|
||
ip address ip- address mask [ secondary ] |
||
|
Configuring the Backup Interface for Reliable Static Routing Backup Using Object Tracking
You must configure a backup interface to contact the remote gateway. If the connection between the primary interface and the remote gateway goes down, the backup interface will be used.
Perform the following task to configure the backup interface. This task applies to PPPoE, DHCP, and static routing configurations.
SUMMARY STEPS
3. interface type number [ name-tag ]
DETAILED STEPS
Configuring Network Monitoring with Cisco IOS IP SLAs for Reliable Static Routing Backup Using Object Tracking
The Reliable Static Routing Backup Using Object Tracking feature uses a Cisco IOS IP SLAs configuration to generate ICMP pings to monitor the state of the connection to the primary gateway.
Beginning in Cisco IOS Release 12.3(14)T, the command used to configure Cisco IOS IP SLAs was modified.
Perform one of the following tasks to configure Cisco IOS IP SLAs depending on which Cisco IOS software release you are running:
Configuring Cisco IOS IP SLAs for Cisco IOS Release 12.3(8)T, 12.3(11)T, 12.2(33)SRA, and 12.2(33)SRE
Perform this task to create Cisco IOS IP SLAs depending on which Cisco IOS software release you are running. This task applies to PPPoE, DHCP, and static routing configurations.
SUMMARY STEPS
4. type echo protocol ipIcmpEcho { destination-ip-address | destination-hostname } [ source-ipaddr { ip-address | hostname }]
9. rtr schedule operation-number [ life { forever | seconds }] [ start-time { hh : mm [ : ss ] [ month day | day month ] | pending | now | after hh : mm : ss }] [ ageout seconds ]
10. track object-number rtr rtr-operation { state | reachability }
DETAILED STEPS
Configuring Cisco IOS IP SLAs for Cisco IOS Release 12.3(14)T, 12.4, 12.4(2)T, and 12.2(33)SXH
Perform this task to create an Cisco IP SLAs configuration to ping the target address depending on which Cisco IOS software release you are running. This task applies to PPPoE, DHCP, and static routing configurations.
SUMMARY STEPS
3. ip sla monitor [ operation-number ]
4. type echo protocol ipIcmpEcho { destination-ip-address | destination-hostname } [ source-ipaddr { ip-address | hostname } | source-interface interface-name ]
9. ip sla monitor schedule operation-number [ life { forever | seconds }] [ start-time { hh : mm [ : ss ] [ month day | day month ] | pending | now | after hh : mm : ss }] [ ageout seconds ] [ recurring ]
10. track object-number rtr rtr-operation { state | reachability }
DETAILED STEPS
Configuring Cisco IOS IP SLAs for Cisco IOS Release 12.4(4)T, 15.(0)1M, and Later Releases
Perform this task to create Cisco IP SLAs configuration in Cisco IOS Release 12.4(4)T, 15.0(1)M, and later releases to ping the target address. This task applies to PPPoE, DHCP, and static routing configurations.
SUMMARY STEPS
3. ip sla [ operation-number ]
4. icmp-echo { destination-ip-address | destination-hostname } [ source-ip { ip-address | hostname } | source-interface interface-name ]
9. ip sla schedule operation-number [ life { forever | seconds }] [ start-time { hh : mm [ : ss ] [ month day | day month ] | pending | now | after hh : mm : ss }] [ ageout seconds ] [ recurring ]
10. track object-number rtr rtr-operation { state | reachability }
DETAILED STEPS
Configuring the Routing Policy for Reliable Static Routing Backup Using Object Tracking
In order to track the status of the primary connection to the remote gateway, the Cisco IOS IP SLAs ICMP pings must be routed only from the primary interface.
Perform one of the following tasks to configure a routing policy that will ensure that the Cisco IOS IP SLAs pings are always routed out of the primary interface:
Configuring a Routing Policy for PPPoE
Perform this task to configure a routing policy if the primary interface is configured for PPPoE.
SUMMARY STEPS
3. access-list access-list-number [ dynamic dynamic-name [ timeout minutes ]] { deny | permit } icmp source source-wildcard destination destination-wildcard [ icmp-type [ icmp-code ] | icmp-message ] [ precedence precedence ] [ tos tos ] [ log | log-input ] [ time-range time-range-name ] [ fragments ]
4. route-map map-tag [ permit | deny ] [ sequence-number ]
5. match ip address { access-list-number | access-list-name } [... access-list-number |... access-list-name ]
6. set interface type number [... type number ]
DETAILED STEPS
Configuring a Routing Policy for DHCP
Perform this task to ensure that the primary interface is configured for DHCP:
SUMMARY STEPS
3. access-list access-list-number [ dynamic dynamic-name [ timeout minutes ]] { deny | permit } icmp source source-wildcard destination destination-wildcard [ icmp-type [ icmp-code ] | icmp-message ] [ precedence precedence ] [ tos tos ] [ log | log-input ] [ time-range time-range-name ] [ fragments ]
4. route-map map-tag [ permit | deny ] [ sequence-number ]
5. match ip address { access-list-number | access-list-name } [... access-list-number |... access-list-name ]
6. set ip next-hop dynamic dhcp
DETAILED STEPS
Configuring a Routing Policy for Static Routing
Perform one of the following tasks if the primary interface is configured for static routing:
Configuring a Routing Policy for Static Routing with a Point-to-Point Primary Gateway
Perform this task to configure a routing policy if the primary interface is configured for static routing and the primary gateway is a point-to-point gateway.
SUMMARY STEPS
3. access-list access-list-number [ dynamic dynamic-name [ timeout minutes ]] { deny | permit } icmp source source-wildcard destination destination-wildcard [ icmp-type [ icmp-code ] | icmp-message ] [ precedence precedence ] [ tos tos ] [ log | log-input ] [ time-range time-range-name ] [ fragments ]
4. route-map map-tag [ permit | deny ] [ sequence-number ]
5. match ip address { access-list-number | access-list-name } [... access-list-number |... access-list-name ]
6. set interface type number [... type number ]
DETAILED STEPS
Configuring a Routing Policy for Static Routing with a Multipoint Primary Gateway
Perform this task to configure a routing policy if the primary interface is configured for static routing and the primary gateway is a multipoint gateway.
SUMMARY STEPS
3. access-list access-list-number [ dynamic dynamic-name [ timeout minutes ]] { deny | permit } icmp source source-wildcard destination destination-wildcard [ icmp-type [ icmp-code ] | icmp-message ] [ precedence precedence ] [ tos tos ] [ log | log-input ] [ time-range time-range-name ] [ fragments ]
4. route-map map-tag [ permit | deny ] [ sequence-number ]
5. match ip address { access-list-number | access-list-name } [... access-list-number |... access-list-name ]
6. set ip next-hop ip-address [... ip-address ]
7. set interface type number [... type number ]
DETAILED STEPS
Configuring the Default Route for the Primary Interface Using Static Routing
Perform this task to configure the static default route only if you are using static routing.
SUMMARY STEPS
3. ip route prefix mask { ip- address | interface-type interface-number [ ip-address ]} [ distance ] [ name ] [ permanent | track number ] [ tag tag ]
DETAILED STEPS
Configuring a Floating Static Default Route on the Secondary Interface
Perform this task to configure a floating static default route on the secondary interface. This task applies to PPPoE, DHCP, and static routing configurations.
SUMMARY STEPS
3. ip route network-number network-mask { ip-address | interface } [ distance ] [ name name ]
DETAILED STEPS
|
|
|
---|---|---|
|
||
|
||
ip route network-number network-mask { ip-address | interface } [ distance ] [ name name ] |
Verifying the State of the Tracked Object for Reliable Static Routing Backup Using Object Tracking
Perform the following task to determine if the state of the tracked object is up or down.
SUMMARY STEPS
DETAILED STEPS
|
|
|
---|---|---|
|
||
|
Configuration Examples for Reliable Static Routing Backup Using Object Tracking
This section provides the following configuration examples:
- Configuring Reliable Static Routing Backup Using Object Tracking Using PPPoE: Example
- Configuring Reliable Static Routing Backup Using Object Tracking Using DHCP: Example
- Configuring Reliable Static Routing Backup Using Object Tracking: Example
- Verifying the State of the Tracked Object: Example
Configuring Reliable Static Routing Backup Using Object Tracking Using PPPoE: Example
The following example shows how to configure the Reliable Static Routing Backup Using Object Tracking feature using PPPoE. The primary interface is an ATM interface, and the backup interface is a BRI interface. This example applies to Cisco IOS Release 12.3(8)T, 12.3(11)T, 12.2(33)SRA, 12.2(33)SXH, and 12.2(33)SRE.
Configuring Reliable Static Routing Backup Using Object Tracking Using DHCP: Example
The following example show how to configure the Reliable Static Routing Backup Using Object Tracking feature using DHCP. The primary interface is an Ethernet interface, and the backup interface is a serial interface. This example applies to Cisco IOS Release 12.3(14)T.
Configuring Reliable Static Routing Backup Using Object Tracking: Example
The following example shows how to configure the Reliable Static Routing Backup Using Object Tracking feature using static routing for a point-to-point primary gateway. The primary interface is a PPPoE Fast Ethernet interface, and the backup interface is a dialer interface. This example applies to Cisco IOS Release 12.3(14)T and later releases.
The following example configures the Reliable Static Routing Backup Using Object Tracking feature using static routing for a multipoint primary gateway. Both the primary interface and the backup interface are Ethernet interfaces. This example applies to Cisco IOS Release 12.3(14)T and later releases.
Verifying the State of the Tracked Object: Example
The following example displays information about track objects in the IP route track table:
Additional References
The following sections provide references related to the Reliable Static Routing Backup Using Object Tracking feature.
Related Documents
|
|
---|---|
“ IP Security VPN Monitoring ” module in the Cisco IOS Security Configuration Guide |
|
IPsec commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples |
|
“ Configuring AAA for VPDN ” module in the Cisco IOS VPDN Configuration Guide |
|
VPDN commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples |
|
“ ATM RBE ” module in the Cisco IOS Broadband Access Aggregation and DSL Configuration Guide |
|
PPPoE commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples |
|
“ Dial Access Specialized Features ” module in the Cisco IOS Dial Technologies Configuration Guide |
|
DDR commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples |
|
“ IP SLAs ” module in the Cisco IOS IP SLAs Configuration Guide |
|
IP SLAs commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples |
Standards
|
|
---|---|
MIBs
|
|
---|---|
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
RFCs
|
|
---|---|
Technical Assistance
Feature Information for Reliable Static Routing Backup Using Object Tracking
Table 1 lists the features in this module and provides links to specific configuration information. Only features that were introduced or modified in Cisco IOS Release 12.2(33)SX or Cisco IOS Releases 12.2(33)SRE or 15.0(1)M or a later release appear in this table.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
|
|
|
---|---|---|
12.2(33)SXH |
The Reliable Static Routing Backup Using Object Tracking feature introduces the ability for the Cisco IOS software to use ICMP pings to identify when a PPPoE or IPsec VPN tunnel goes down, allowing the initiation of a backup connection from any alternative port. The Reliable Static Routing Backup Using Object Tracking feature is compatible with both preconfigured static routes and DHCP configurations. The following sections provide information about this feature:
The following commands were introduced or modified: ip dhcp client route, ip route prefix mask, set ip next-hop dynamic, and show ip route track-table. |