3750: Route tracking feature

Unanswered Question
Sep 22nd, 2008

Hi, i have a 3750 switch. I want to monitor an ip address and based on that change the route. how it is achievable in 3750 switches.

lets say i have 2 routes with different metrics.

1) 10.2.1.0/16 via 10.1.1.1

2) 10.2.1.0/16 via 10.1.1.2

I want to track an object that is not directly connected or same vlan. lets say it is 192.168.1.1.

and i have the route 192.168.1.1 via 10.1.1.3. how can i select the route bases on that object status through the ICMP or other mechanisms in cisco 3750 switch.

Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
dgroscost Mon, 09/22/2008 - 12:54

I've used this in routers, but I'm not sure if it's available in Cisco Catalyst series switches. Reliable Static Route Backup using Object Tracking.

http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html#wp1072790

Or, you can try route-maps w/ set ip next-hop verify-availability. Again, never tried on a switch but used on routers.

Lastly, if neither work, why not use static floating routes for that specific subnet? If one link fails, the other will take over automatically.

ip route 192.168.0.0 255.255.255.0 10.1.1.1 200

ip route 192.168.0.0 255.255.255.0 10.1.1.2 210

t4tauseef33 Tue, 09/23/2008 - 00:24

I know this will work but (this is not required) i want to track the ip address in another subnet which is 2/3 hops away to change the route. want to use the tracking objects.

Actions

This Discussion