JunOS : bgp_recv: peer (Internal AS 00000): received unexpected EOF

By | November 24, 2013

Have you seen this in the logs of one of your iBGP router?

rpd[0000]: bgp_recv: peer 0.0.0.2 (Internal AS 00000): received unexpected EOF

You can also notice this related error on your eBGP router :

rpd[0000]: bgp_listen_accept: Connection attempt from unconfigured neighbor: 0.0.0.2+00000

This mean you have a inexistant or unconfigured community for this neighbor trying establish the session on your edge router. Have a look at your iBGP router configuration and make sure all your neighbor statements are existent and configured on both end :

export BGP-iCORE-export;    
	peer-as 00000;              
	neighbor 0.0.0.1;           
	neighbor 0.0.0.2;

If applicable, remove the non-existent neighbor :

delete protocols bgp group iCOREv4 neighbor 0.0.0.2

Or fix/set the community on your edge router.