R2(config-if)#ip add
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 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 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 is not one of them.

I hope this has been helpful!


thanks a lot for answer,