cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1078
Views
1
Helpful
17
Replies

BGP load sharing MID attribute

R Manjunatha
Level 3
Level 3

 

I have two hub routers, R1 and R2. R1 is the primary router for the office, and R2 is the backup. R1 is connected to 8000 offices through Flex VPN. My requirement is to share the load between the two hub routers, R1 and R2. Currently, I am using the BGP attribute MED to route all the traffic primarily to R1

 

R1

Rrouter 65020

bgp router id 10.10.10.10

bgp listing range 192.168.20.0/24 peer-group office

bgp listen limit 10000

address-family ipv4 vrf office

neighbor office peer group

neighbor office remote-as 65010

Neighbour office route-map office_BGP_OUT out

route-map office_BGP_OUT permit 10

set metric 100

R2

Rrouter 65020

bgp router id 20.20.20.20

bgp listing range 192.168.20.0/24 peer-group office

bgp listen limit 10000

address-family ipv4 vrf office

neighbor office peer group

neighbor office remote-as 65010

Neighbour office route-map office_BGP_OUT out

route-map office_BGP_OUT permit 10

set metric 110

 

 

17 Replies 17

Hello


@R Manjunatha wrote:
Could you please provide the sample configuration of how to send traffic to 4000 office to R1 and 4000 office to R2


MED is a lower preferance bgp attributue when comparing the bgp route path selection proecess, more preferred attributes or features can be used to traffic engineering like condictional route advertsiment, however can you elaborate your OP please as Flexvpn just like dmvpn creates dynamic tunnels between communicating spokes, so do you mean routes that the hubs receive externally that is then advertised to all spoke rtrs.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul