cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
472
Views
0
Helpful
4
Replies

PBR criteria

Adrian Ardelean
Level 1
Level 1

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
Level 1
Level 1

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.

Thanks a LOT!!

It's VERY working!

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco