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. And see here for current known issues.

New Member

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
Purple

PBR criteria

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.
4 REPLIES
New Member

PBR criteria

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,

New Member

PBR criteria

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

Thank you!

Purple

PBR criteria

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.
New Member

PBR criteria

Thanks a LOT!!

It's VERY working!

235
Views
0
Helpful
4
Replies
CreatePlease login to create content