44-12
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter44 Configuring Enhanced Object Trackin g
Configuring Enhanced Object Tracking Features
Configuring a Routing Policy and Default Route
Beginning in privileged EXEC mode, follow these steps to configure a routing policy for backup static
routing by using object tracking. For more details about the commands in the procedure:
http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html
:
For configuration examples:
http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html
Step1 configure terminal Enter global configuration mode.
Step2 access-list access-list-number Define an extended IP access list. Configure any optional
characteristics.
Step3 route-map map-tag [permit | deny]
[sequence-number]
Enter route-map configuration mode and define conditions for
redistributing routes from one routing protocol to another.
Step4 match ip address {access-list number |
access-list name}
Distribute any routes that have a destination network number address
that is permitted by a standard or extended access list or performs
policy routing on packets. You can enter multiple numbers or names.
Step5 set ip next-hop dynamic dhcp For DHCP networks only. Set the next hop to the gateway that was
most recently learned by the DHCP client.
Step6 set interface interface-id For static routing networks only. Indicate where to send output
packets that pass a match clause of a route map for policy routing.
Step7 exit Exit route-map configuration mode.
Step8 ip local policy route-map map-tag Identify a route map to use for local policy routing.
Step9{ ip route prefix mask {ip-address |
interface-id [ip-address]} [distance] [name]
[permanent | track track-number] [tag tag]
For static routing networks only. Establish static routes.
Entering track track-number specifies that the static route is installed
only if the configured track object is up.
Step10 end Return to privileged EXEC mode.
Step11 show ip route track table Display information about the IP route track table.
Step12 copy running-config startup-config (Optional) Save your entries in the configuration file.