Home > Networking Tips > Routing and Switching > Tracking to ensure failover
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ROUTING AND SWITCHING

Tracking to ensure failover


Tom Lancaster
04.13.2004
Rating: -4.11- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


In my last tip, I discussed Multi-group HSRP and how to set up some simple load-balancing with it. In this tip, I want to look at a better way for the routers to figure out which one is the primary.

Years ago, HSRP was very useful for providing failover, but it had some pretty serious drawbacks; it would only fail over if the LAN interface failed, or if the whole router failed. It would not fail over if the WAN interface went down, or if the routing got mixed up, etc. So Cisco added the ability to track interfaces with the standby command, but this was limited to the router itself. So, for instance, if the WAN interface went down on the primary router, the HSRP standby router would take over, but you couldn't track interfaces on another router, or a switch for instance, and this still caused some problems with Frame-relay interfaces which would remain up, even if the router on the far end went down. That issue was remedied by an obscure hack where frame-relay keepalives are used to trigger failover. Yet, none of these really solve the problem common in enterprise networks today, where what you really want to trigger a failover is a few hops away. This is particularly true in networks that use diverse POPs and especially diverse service providers for their redundant circuits.

As of IOS version 12.2(15)T, finally there is a really solid solution for this. The answer requires the Service Assurance Agent (SAA), which is capable of tracking devices. It can track routes, as well, and not just routes, but their metric and reachability.

The ability to track the presence of a route is likely immediately obvious to readers of this site, but consider how keen the metric tracking is. With the growing emphasis on minimal delay for such applications as VoIP, metric tracking gives your hosts the ability to automatically send their traffic to the router with the best route.

As an example, let's say your primary path is usually slightly faster than your backup path, but a failure occurs in a region of your service provider's backbone that causes the primary path to be slower (reflected in the route metrics). If HSRP is configured as an SAA client, then when a route metric crosses a threshold defined by you, it can trigger a failover.

To configure SAA to track a route, use the track command:

track <object> ip route <x.x.x.x/y> metric threshold
threshold metric down <x> up <y>

use the "show track" command to make sure it's working.

To configure HSRP as an SAA client, use the "standby track" command, which will allow you to decrement the priority when the tracked object exceeds a threshold.


Tom Lancaster, CCIE# 8829 CNX# 1105, is a consultant with 15 years experience in the networking industry, and co-author of several books on networking, most recently, CCSPTM: Secure PIX and Secure VPN Study Guide published by Sybex.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Router and Switch Management
How many more users will 802.11n wireless access points support?
How to connect wireless networks for printing capabilities
How can I prevent collisions on my network?
How to upgrade an Input/Output Supervisor (IOS) router
Inter-VLAN routing with a LAN and WAN on a single router
Troubleshooting IP Routing -- 'CCNA Official Exam Certification Library, 3rd Edition,' Chapter 7
How can I load balance between DSLs and LLs?
How can I configure 10 VLANs with 5 unmanaged switches?
Cisco's ISR inches the company toward openness
How do I configure two leased lines in one router?

Installation and Configuration
Use 'admin distance' to assist in migration
Networking Products of the Year 2004
The best of 2004
BGP peer groups
Automating configurations
Simplifying and standardizing your device configurations
Who cares about Cisco?
Top five things to know about access control lists
Know your network cable
Securing Cisco networks

Routing and Switching
Routing with NAT traversal and UPnP
Secure Cisco routers against IOS flaw attack
Configure WAN protocols on a Layer 3 switch
How routers work
Network summarization -- Supernetting and wildcard masks
Routing: Five common, easily avoided errors
Router Expert: Building a WLAN proxy server, implementing ASR
Router Expert: Building a WLAN proxy server, implementing WPAD
Cisco IOS IP routing -- dynamic routing
Cisco IOS IP routing: Static routes

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
32-bit IP addressing  (SearchNetworking.com)
autotrunking  (SearchNetworking.com)
delay-tolerant network  (SearchNetworking.com)
Internet Routing in Space (IRIS)  (SearchNetworking.com)
logical router  (SearchNetworking.com)
routing table  (SearchNetworking.com)
subnet  (SearchNetworking.com)
subnet mask  (SearchNetworking.com)
virtual routing and forwarding  (SearchNetworking.com)
weighted fair queueing  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business
IT Management Solutions and Services Directory.
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts