FW: not able to send mail. (Fw: Regarding BGP session establishment with router)

Sameer Muhammed

Hi All,

I need to establish a bgp session with route reflector running with odl and my router and so far, i have done the following. 


1) Installed odl(karaf-0.7.1) - nitrogen version.


2) solved j dependencies (setting java home) and made odl up and running. Installed advanced rest client in browser, also installed rest,bgp features (feature:install odl-restconf odl-bgpcep-bgp) in ODL.




    <identifier xmlns:x="http://openconfig.net/yang/policy-types">x:BGP</identifier>

    <bgp xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">












Method: PUT

Content-Type: application/xml

Request Body:


<bgp-peer-acceptor-config xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-peer-acceptor-config">






5) Finally configured peer using below url


Method: POST

Content-Type: application/xml

Request Body:


<neighbor xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">




















 Router configuration  - (Router id -, interface ip-,as- 65530,peer as -65530,holdtime 90,keep-alive 30)


After these steps , i restarted odl and tried to establish bgp session,But i failed .In wireshark i saw that router is sending open packets and odl is rejecting the configuration with a notification packet(see attachment) . Also  checked the karaf logs which is provided below.


 enabled the debug option and checked karaf log which says .

(org.opendaylight.protocol.bgp.parser.BGPDocumentedException: BGP peer with ip: IpAddress [_ipv4Address=Ipv4Address [_value=]] not configured, check configured peers in : StrictBGPPeerRegistry{peers=[]} at org.opendaylight.protocol.bgp.rib.impl.AbstractBGPSessionNegotiator.startNegotiation(AbstractBGPSessionNegotiator.java:103)[117:org.opendaylight.bgpcep.bgp-rib-impl:0.8.1] at org.opendaylight.protocol.bgp.rib.impl.AbstractBGPSessionNegotiator.channelActive(AbstractBGPSessionNegotiator.java:278)[117:org.opendaylight.bgpcep.bgp-rib-impl:0.8.1] 2018-01-04 16:46:44,191 | DEBUG | ntLoopGroup-10-3 | AbstractBGPSessionNegotiator | 117 - org.opendaylight.bgpcep.bgp-rib-impl - 0.8.1 | Starting session negotiation on channel [id: 0xc90a1a8a, L:/ - R:/] 2018-01-04 16:46:44,191 | ERROR | ntLoopGroup-10-3 | BGPDocumentedException | 111 - org.opendaylight.bgpcep.bgp-parser-api - 0.8.1 | Error = CONNECTION_REJECTED.


Did i miss anything ? Any inputs  on this is really appreciated.Kindly help 


Thanks and kind regards,

Sameer Muhammed