cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
339
Views
0
Helpful
4
Replies

Can you help with simple PBR?

news2010a
Level 3
Level 3

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

4 Replies 4

news2010a
Level 3
Level 3

Perhaps tracking is the way to go...

15. set ip next-hop verify-availability [next-hop-address sequence track object]

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

vishwancc
Level 3
Level 3

Hi,

I think you could use ip sla to track the next hop.

Chao

Vishwa

tcordier
Level 1
Level 1

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

Review Cisco Networking products for a $25 gift card