cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
320
Views
0
Helpful
4
Replies
Adrian Ardelean
Beginner

PBR criteria

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!

1 ACCEPTED SOLUTION

Accepted Solutions

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

Don't forget to rate helpful posts.

View solution in original post

4 REPLIES 4
vaib7av.shirkul
Beginner

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,

http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfpbr_ps1835_TSD_Products_Configuration_Guide_Chapter.html

HTH,

Yes, it is directly connected and in same network. I just don't know the "NOT expression"

Thank you!

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

Don't forget to rate helpful posts.

View solution in original post

Thanks a LOT!!

It's VERY working!