03-07-2012 02:36 AM - edited 03-07-2019 05:24 AM
I need to make a route-map to set the ip next-hop if the destination IP in NOT in 172.16.0.0/16 network.
Is it possible?
Thank you!
Solved! Go to Solution.
03-07-2012 03:13 AM
Hi,
access-list 100 deny any 172.16.0.0 0.0.255.255
access-list 100 permit ip any any
route-map PBR
match ip add 100
set ip next-hop x.x.x.x
int x/x
ip policy route-map PBR
Regards.
Alain
03-07-2012 02:45 AM
Hi ,
For configuring PBR, IP address in ip-next-hop command must be directly connected and in same network.
for more details u can refer below link,
HTH,
03-07-2012 02:47 AM
Yes, it is directly connected and in same network. I just don't know the "NOT expression"
Thank you!
03-07-2012 03:13 AM
Hi,
access-list 100 deny any 172.16.0.0 0.0.255.255
access-list 100 permit ip any any
route-map PBR
match ip add 100
set ip next-hop x.x.x.x
int x/x
ip policy route-map PBR
Regards.
Alain
03-07-2012 04:22 AM
Thanks a LOT!!
It's VERY working!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide