cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1997
Views
10
Helpful
1
Replies

Need help with PBR with multiple next hop

captainbluff
Level 1
Level 1

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 1

acampbell
VIP Alumni
VIP Alumni

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.
Getting Started

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:

Review Cisco Networking products for a $25 gift card