07-03-2012 11:19 AM - edited 03-07-2019 07:35 AM
We have a need to track specifc subnets on our two 6509s, running IOS version 12.2(18)SXF16. Basically, we want to do this:
track 1 192.168.0.0 255.255.255.252 reachability
track 2 192.168.1.0 255.255.255.252 reachability
However, the 6509 IOS only provides the option to track an interface. Is this a feature that's available in later IOS versions?
Is there another way to track these routes? The subnets are used for WAN links at a HQ and DR site and we are doing a specific PBR (sending all http/https traffic) using these subnets. If that WAN link goes down, we want to be able to utilize a backup WAN link to support that traffic.
07-03-2012 12:00 PM
You can use IP SLA to achieve your goal
ip sla 1
icmp-echo X.X.X.X ( IP address of ISP-1)
timeout 50 -- Time in msec to complete the IP SLA operation
frequency 3 --- number of pings it will send
ip sla schedule 1 start-time now life forever
track 1 rtr 1 reachability
ip route 0.0.0.0 0.0.0.0 Y.Y.Y.Y track 1
ip route 0.0.0.0 0.0.0.0 Z.Z.Z.Z 100
This will ping x.x.x.x and if it looses 3 pings then it will delete ip route 0.0.0.0 0.0.0.0 Y.Y.Y.Y from routing table and adds the following route ip route 0.0.0.0 0.0.0.0 Z.Z.Z.Z 100
Siddhartha
07-03-2012 12:10 PM
Unfortunately, ip sla isn't even an option in our IOS:
SWITCH(config)#ip ?
Global IP configuration subcommands:
[options removed]
sap Global IP Multicast SAP Commands
scp Scp commands
security Specify system wide security information
slb Server Load Balancing
source IP source
source-route Process packets with source routing header options
ssh Configure ssh options
sticky-arp Allow the creation of sticky ARP entries
subnet-zero Allow 'subnet zero' subnets
.
This is why I asked the original question (sorry, I forgot to mention that). I would have used ip sla, but since it's not available, I wondered if there was another option. Seems like we're limited with our options.
Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide