11-05-2008 03:11 PM - edited 03-04-2019 12:12 AM
Imagine on SWITCH-4500, I want to send traffic from network 10.10.52.0/30 to next hop 10.10.52.100/30. Then I want to ping 'next hop' to make sure it is not down so that I can make PBR stop sending traffic if is down. How can I accomplish that? So far I have done the first step:
route-map ROUTEHOPPOP
set ip next-hop 10.10.52.100
match ip address 101
access-list 100 permit 10.10.52.0 0.0.0.3.0
11-05-2008 05:55 PM
Perhaps tracking is the way to go...
15. set ip next-hop verify-availability [next-hop-address sequence track object]
11-06-2008 12:34 AM
Marlon
Yes you can do this. Note that if you just use verify-availability then the router uses CDP to verify that the next-hop is up which may or may not be what you want. If you don't want that then you can use tracking with this command as well.
http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_pi2.html#wp1012541
Jon
11-05-2008 10:18 PM
Hi,
I think you could use ip sla to track the next hop.
Chao
Vishwa
11-06-2008 12:42 AM
As an additional remark to the previous posts: you can also add a backup next-hop in your route-map which will be used in case your primary next-hop is down:
set ip next-hop 10.10.52.100 10.10.52.101
where 10.10.52.101 is your backup next hop.
HTH, Thomas
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: