Bgp/bgp-community

bgp/bgp-community-local-as

R2(config-if)#ip add 4.4.4.4 255.255.255.255
R2(config-if)#exit
R2(config)#router bgp 23
R2(config-router)#no sync
R2(config-router)#no synchronization 
R2(config-router)#bgp log
R2(config-router)#bgp log-neighbor-changes 
R2(config-router)#bgp conf
R2(config-router)#bgp confederation iden
R2(config-router)#bgp confederation identifier 2345
R2(config-router)#bgp conf
R2(config-router)#bgp confederation peers 45
R2(config-router)#neighbor 3.3.3.3 remote-as 23
% Cannot configure the local system as neighbor

Hello Bahri

I’m assuming that your question has to do with the error message at the end that states:

% Cannot configure the local system as neighbor

If this is the case, then it seems that the IP address of 3.3.3.3 is being used by an interface on the local router. A router cannot create a neighbor relationship with itself. Check to see what other IP addresses are assigned to the router and make sure that 3.3.3.3 is not one of them.

I hope this has been helpful!

Laz

thanks a lot for answer,