Hi,

My setup is  BGP over a ipsec tunnel.

Most of the time it works fine but in between on config soft reload, it goes into a error state.

So its intermittent issue where sometime it works.

Debug logs show bad BGP as  error but same configuration starts working intermittently, otherside of the bird is Juniper SRX endpoint


Log error message are:

015-09-21 16:32:22 <TRACE> evpn: Connecting to 10.11.201.1 from local address 10.11.201.13
2015-09-21 16:32:24 <TRACE> evpn: Connected
2015-09-21 16:32:24 <TRACE> evpn: Sending OPEN(ver=4,as=65529,hold=240,id=0a0bc90b)
2015-09-21 16:32:25 <TRACE> evpn: Got OPEN(as=0,hold=90,id=0a54c804)
2015-09-21 16:32:25 <RMT> evpn: Error: Bad peer AS: 0
2015-09-21 16:32:25 <TRACE> evpn: State changed to stop
2015-09-21 16:32:25 <TRACE> evpn: Sending NOTIFICATION(code=2.2)
2015-09-21 16:32:25 <TRACE> evpn: Down
2015-09-21 16:32:25 <TRACE> evpn: State changed to down



any help on this will be very useful.


Thanks,
Ajay