Documente Academic
Documente Profesional
Documente Cultură
The PBR Support for Multiple Tracking Options feature extends the capabilities of object tracking using
Cisco Discovery Protocol (CDP) to allow the policy-based routing (PBR) process to verify object
availability by using additional methods. The verification method can be an Internet Control Message
Protocol (ICMP) ping, User Datagram Protocol (UDP) ping, or an HTTP GET request.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image
support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on
Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at
the login dialog box and follow the instructions that appear.
Contents
• Information About PBR Support for Multiple Tracking Options, page 2
• How to Configure PBR Support for Multiple Tracking Options, page 2
• Configuration Examples for PBR Support for Multiple Tracking Options, page 5
• Additional References, page 6
• Command Reference, page 7
Corporate Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
Object Tracking
Object tracking is an independent process that monitors objects such as the following:
• State of the line protocol of an interface
• Existence of an entry in the routing table
• Results of an IP SLA monitoring operation, such as a ping
Clients such as Hot Standby Router Protocol (HSRP), Virtual Router Redundancy Protocol (VRRP),
Gateway Load Balancing Protocol (GLBP), and (with this feature) PBR can register their interest in
specific, tracked objects and then take action when the state of the objects changes.
SUMMARY STEPS
1. enable
2. configure terminal
3. rtr operation-number
4. type echo protocol protocol-type target [source-ipaddr ip-address]
Book Title
2
PBR Support for Multiple Tracking Options
How to Configure PBR Support for Multiple Tracking Options
5. exit
6. rtr schedule operation-number [life {forever | seconds}] [start-time {hh:mm[:ss] [month day |
day month] | pending | now | after hh:mm:ss}] [ageout seconds]
7. track object-number rtr entry-number [reachability]
8. exit
9. interface type number
10. ip address ip-address mask [secondary]
11. ip policy route-map map-tag
12. exit
13. route-map map-tag [permit | deny] [sequence-number]
14. set ip next-hop verify-availability [next-hop-address sequence track object]
DETAILED STEPS
Example:
Router# configure terminal
Step 3 rtr operation-number Enters SAA RTR configuration mode and configures an
SAA operation.
Example: Note This command is replaced by the ‘ip sla monitor
Router(config)# rtr 1 operation-number’ command in Release
OR 12.3(14)T and later.
Router(config)# ip sla monitor 1
Step 4 type echo protocol protocol-type target Configures an SAA end-to-end echo response time probe
[source-ipaddr ip-address] operation.
Example:
Router (config-rtr)# type echo protocol
ipicmpecho 10.1.1.10
Step 5 exit Exits SAA RTR configuration mode and returns the router
to global configuration mode.
Example:
Router(config-rtr)# exit
Book Title
3
PBR Support for Multiple Tracking Options
How to Configure PBR Support for Multiple Tracking Options
Example:
Router(config)# rtr schedule 1 life forever
start-time now
Step 7 track object-number rtr entry-number Tracks the reachability of an Response Time Reporter
[reachability] (RTR) object and enters tracking configuration mode.
Example:
Router(config)# track 123 rtr 1 reachability
Step 8 exit Exits tracking configuration mode, and returns the router to
global configuration mode.
Example:
Router(config-track)# exit
Step 9 interface type number Specifies an interface type and number, and enters interface
configuration mode.
Example:
Router(config)# interface ethernet 0
Step 10 ip address ip-address mask [secondary] Specifies a primary or secondary IP address for an interface.
• Refer to the “Configuring IP Addressing” chapter of the
Example: Release 12.3 Cisco IOS IP Configuration Guide for
Router(config-if)# ip address 10.1.1.11 information on configuring IP addresses.
255.0.0.0
Step 11 ip policy route-map map-tag Enables policy routing and identifies a route map to be used
for policy routing.
Example:
Router(config-if)# ip policy route-map alpha
Step 12 exit Exits interface configuration mode and returns the router to
global configuration mode.
Example:
Router(config-if)# exit
Step 13 route-map map-tag [permit | deny] Specifies a route map and enters route-map configuration
[sequence-number] mode.
Example:
Router(config)# route-map alpha
Step 14 set ip next-hop verify-availability Configures the route map to verify the reachability of the
[next-hop-address sequence track object] tracked object.
Example:
Router(config-route-map)# set ip next-hop
verify-availability 10.1.1.1 10 track 123
Book Title
4
PBR Support for Multiple Tracking Options
Configuration Examples for PBR Support for Multiple Tracking Options
Book Title
5
PBR Support for Multiple Tracking Options
Additional References
Additional References
The following sections provide references related to the PBR Support for Multiple Tracking Options
feature.
Related Documents
Related Topic Document Title
Object tracking within Cisco IOS software Enhanced Object Tracking feature document, Cisco IOS
Release 12.2(15)T
Configuring IP addresses “Configuring IP Addressing” chapter in the Cisco IOS IP
Configuration Guide, Release 12.3
Standards
Standards Title
No new or modified standards are supported by this —
feature, and support for existing standards has not been
modified by this feature.
MIBs
MIBs MIBs Link
No new or modified MIBs are supported by this To locate and download MIBs for selected platforms, Cisco IOS
feature, and support for existing MIBs has not been releases, and feature sets, use Cisco MIB Locator found at the
modified by this feature. following URL:
http://www.cisco.com/go/mibs
Book Title
6
PBR Support for Multiple Tracking Options
Command Reference
RFCs
RFCs Title
No new or modified RFCs are supported by this —
feature, and support for existing RFCs has not been
modified by this feature.
Technical Assistance
Description Link
Technical Assistance Center (TAC) home page, http://www.cisco.com/public/support/tac/home.shtml
containing 30,000 pages of searchable technical
content, including links to products, technologies,
solutions, technical tips, and tools. Registered
Cisco.com users can log in from this page to access
even more content.
Command Reference
The following modified command is pertinent to this feature. To see the command pages for this
command and other commands used with this feature, go to the Cisco IOS Master Commands List,
Release 12.4, at http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124mindx/
124index.htm.
• set ip next-hop verify-availability
CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work,
Live, Play, and Learn, and iQuick Study are service marks of Cisco Systems, Inc.; and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP,
CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital,
the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, FormShare, GigaDrive, GigaStack, HomeLink,
Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo,
Networking Academy, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet,
The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the
United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a
partnership relationship between Cisco and any other company. (0601R)
Book Title
7
PBR Support for Multiple Tracking Options
Command Reference
Book Title
8