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

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.

New Member

BGP Routing Clarification

Hi anyone please help to clarify the following BGP routing;


s0 -

e0 -

loopback0 -


s0 -

e0 -

loopback0 -

RouterA and RouterB are connected by different AS numbers

At RouterA;

L1 - RouterA(config)#router bgp 1

L2 - RouterA(config-router)#network mask

L3 - RouterA(config-router)#network mask

L4 - RouterA(config-router)#neighbor remote-as 2

L5 - RouterA(config-router)#redist static

L6 - RouterA(config-router)#no synch

L7 - RouterA(config-router)#exit

L8 - RouterA(config)#ip route s0

At RouterB;

L1 - RouterB(config)#router bgp 2

L2 - RouterB(config-router)#network mask

L3 - RouterB(config-router)#network mask

L4 - RouterB(config-router)#neighbor remote-as 1

L5 - RouterB(config-router)#redist static

L6 - RouterB(config-router)#no synch

L7 - RouterB(config-router)#exit

L8 - RouterB(config)#ip route s0


(1) In L4 of RouterA, what does it mean by "remote-as 2" ?

(2) In L5 of RouterA, what does it mean by "no synch"

(3) In L8 of RouterA, why we still need to specify the static default route ? The s0 here is referred to s0 of RouterA or s0 of RouterB ?

Please help to clarify.

Thank you.


Re: BGP Routing Clarification


This specifies to which (router / AS) . a BGP connection should be initiated. WHen you specify the command neighbor remote-as

is the ip address of the remote router to which BGP connection is required

is the AS number in which this remote router belongs (in your case 2)

L5- no synch.

no synch can be expanded as "no synchronization" ..... Describing why you need it here could take a bit of time....You might want to surf this link

L8 - default route

the serial 0 at the end of the default route always refers to the local routers serial interface. Please note that you are using loopback ip addresses as the peer ip addresses in the BGP commands. For router A, the peer ip address in the neighbor command is the loopback address of router B, which is not directly connected to router A. So router A still needs to know how to reach that loopback address. THat is the reason why a default route is used pointing to serial0 of router A. Same is the case in router B.

CreatePlease login to create content