cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
447
Views
0
Helpful
2
Replies

PBR

Haris P
Level 4
Level 4

Dear Experts ,

I just wanted to do load sharing for my route-map through 2 links . Please find the attached diagram and the config . My Questions is that how can I make sure than the load balancing and failover working fine thru 2 links .

I tried the route-map with set-ip next hope as loopback , but it's not working

route-map TEST permit 10

match ip address 10

set ip next-hop 172.16.16.1

route-map TEST permit 20

match ip address 20

set ip next-hop 172.16.16.2

route-map TEST permit 30

match ip address 30

set ip next-hop 172.16.16.3

Another option for me to put next-hop as interface IP , but my question is that what will happen if one interface goes down ?

route-map TEST1 permit 10

match ip address 10

set ip next-hop 172.16.24.1 172.16.25.1

route-map TEST1 permit 20

match ip address 20

set ip next-hop 172.16.24.2 172.16.25.2

route-map TEST1 permit 30

match ip address 30

set ip next-hop 172.16.24.3 172.16.25.3

2 Replies 2

royalblues
Level 10
Level 10

PBR will not loadbalance your traffic and will just override the default routing behavior and point to the interface mentioned in the route-map if a match is found.

If the interface is down orif the packet does not match the PBR criteria, it will be routed normally using the entry in the routing table

Narayan

Dears ,

My problem is fixed now .

I put a route-map with recursive hops ,

route-map test permit 10

match ip address 10

set ip next-hop 172.16.12.2 172.16.13.2

set ip next-hop verify availability

first it will route traffic to 172.16.12.2 and if it's down the traffic will go to 172.16.13.2 . The verify availability command is working on when the neighbor is reachable thru CDP . so CDP is mandatory to be enabled on the interfaces .

Regards

Haris

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: