Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

bgp conditional peering

hi everyone, i had a question regarding bgp.

Suppose i have 2 routers peering with an ISP ( whether same ISP or 2 different ISP ) lets name these routers RA and RB. i want RB to make a peering session with its ISP if and only if RA fails its bgp session, now u can also assume that RA fails completely or just loses its bgp connection, in either case i want RB to start its own bgp session, so i want to make RB backup of RA in terms of BGP.

how can it be possible

6 REPLIES
Community Member

Re: bgp conditional peering

yes. that is commonly used. you can have backup line via BGP or have 2 paths likely loadbalancing.

Community Member

Re: bgp conditional peering

can u kindly tell me that how its possible ? what configuration i have to do ???

Re: bgp conditional peering

The only way i could think of achieving this is by configuring BGP over loopbacks and making sure that it is reachable only when your primary links come up.

Narayan

Community Member

Re: bgp conditional peering

that is very simple. you just command maximum-path 2. but please make sure all of BGP best path selection procedure.

router bgp 10

neighbor x.x.x.x remote-as xxxx

maximum-paths 2

end

Community Member

Re: bgp conditional peering

hello

i don't know exactly why you want to to this but you should do like this :

RA <=EBGP=> ISP

RB <=EBGP=> ISP

AND

RA <=IBGP=> RB

then RA set localpref150 on incoming routes,

RB do as path prepend on outgoing routes...

it's more clean than 'conditionnal peering'

Etienne

Community Member

Re: bgp conditional peering

Dear etienne,

I guess that he wants to have 2 paths on the same router. this means link redundency vis bgp not router redundency.

266
Views
0
Helpful
6
Replies
CreatePlease to create content