Can you help with simple PBR?

Unanswered Question
Nov 5th, 2008
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
news2010a Wed, 11/05/2008 - 17:55
User Badges:

Perhaps tracking is the way to go...

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

Jon Marshall Thu, 11/06/2008 - 00:34
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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 Wed, 11/05/2008 - 22:18
User Badges:

Hi,

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


Chao

Vishwa

tcordier Thu, 11/06/2008 - 00:42
User Badges:
  • Bronze, 100 points or more

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


Actions

This Discussion