Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Can you help with simple PBR?

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

  • WAN Routing and Switching
4 REPLIES
New Member

Re: Can you help with simple PBR?

Perhaps tracking is the way to go...

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

Hall of Fame Super Blue

Re: Can you help with simple PBR?

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

New Member

Re: Can you help with simple PBR?

Hi,

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

Chao

Vishwa

New Member

Re: Can you help with simple PBR?

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

131
Views
0
Helpful
4
Replies
This widget could not be displayed.