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

Need help with PBR with multiple next hop

I am trying to figure out how I can configure PBR with multiple next hop coming from the same source. Router B is preferred.

Router A:

Source:  10.100.0.0/24

Next Hop

Router B: 172.1.1.1/24

Router C: 172.1.1.2/24

1 REPLY
Green

Re: Need help with PBR with multiple next hop

Joe,

!
ip cef
!
access-list 99 permit 10.100.0.0 0.0.0.255
!
route-map TEST99
set ip next-hop 172.1.1.1
set ip next-hop recursive 172.1.1.2
set interface null0
match ip address 99
!


This will try the next hop 172.1.1.1 and will
route to that address until it is unavailable then
the recursive next hop is used. If both fail then packets
are dropped by the set interface null0 command. If you do not include
the set interface null0 then packets will be sent to the default route if
available.

For more info see:-
http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/12s_pbr.pdf

Regards,
Alex.
Please rate useful posts.Joe,

Regards, Alex. Please rate useful posts.
251
Views
10
Helpful
1
Replies