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.

Bronze

PBR

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

Re: PBR

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

Bronze

Re: PBR

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

192
Views
0
Helpful
2
Replies
CreatePlease to create content