Configuring Enhanced Object Tracking Features
Configuring Static Routing Support
Static routing support using enhanced object tracking provides the ability for the switch to use ICMP
pings to identify when a preconfigured static route or a DHCP route goes down. When tracking is
enabled, the system tracks the state of the route and informs the client when that state changes. Static
route object tracking uses Cisco IP SLAs to generate ICMP pings to monitor the state of the connection
to the primary gateway.
For more information about Cisco IP SLAs support on the switch, see
IOS IP SLA Operations."
•
You use this process to configure static route object tracking:
Step 1
Configure a primary interface for static routing or for DHCP.
Step 2
Configure an IP SLAs agent to ping an IP address using a primary interface and a track object to monitor
the state of the agent.
Step 3
Configure a default static default route using a secondary interface. This route is used only if the primary
route is removed.
Configuring a Primary Interface
To configure a primary interface for static routing, perform this task:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
description string
Step 4
ip address ip-address mask [secondary]
Step 5
exit
To configure a primary interface for DHCP, perform this task:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
description string
Step 4
ip dhcp client route track number
Step 5
ip address dhcp
Step 6
exit
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
57-10
For more information about static route object tracking, see:
http://www.cisco.com/en/US/docs/ios/dial/configuration/guide/dia_rel_stc_rtg_bckup.html
Purpose
Enters global configuration mode.
Selects a primary or secondary interface and enter interface
configuration mode.
Adds a description to the interface.
Sets the primary or secondary IP address for the interface.
Returns to global configuration mode.
Purpose
Enters global configuration mode.
Selects a primary or secondary interface and enter interface
configuration mode.
Adds a description to the interface.
Configures the DCHP client to associate any added routes with the
specified track number. Valid numbers are from 1 to 500.
Acquires an IP address on an Ethernet interface from DHCP.
Returns to global configuration mode.
Chapter 57
Configuring Enhanced Object Tracking
Chapter 66, "Configuring Cisco
OL-25340-01