FW: not able to send mail. (Fw: Regarding BGP session establishment with router)
Sameer Muhammed
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.
3) Using rest configured protocol instance (using url
http://localhost:8181/
<protocol xmlns="http://openconfig.net/ <name>bgp-example</name> <identifier xmlns:x="http://openconfig. <bgp xmlns="urn:opendaylight: <global> <config> <router-id>20.20.20.2</router- <as>65530</as> </config> </global> </bgp> </protocol>
4) configured server (http://localhost:8181/ Method: PUT Content-Type: application/xml Request Body:
<bgp-peer-acceptor-config xmlns="urn:opendaylight: <config-name>default</config- <binding-address>0.0.0.0</ <binding-port>179</binding- </bgp-peer-acceptor-config>
5) Finally configured peer using below url
Method: POST Content-Type: application/xml Request Body:
<neighbor xmlns="urn:opendaylight: <neighbor-address>10.10.10.2</ <timers> <config> <hold-time>90</hold-time> <connect-retry>10</connect- </config> </timers> <transport> <config> <remote-port>179</remote-port> <passive-mode>false</passive- </config> </transport> <config> <peer-type>INTERNAL</peer- </config> </neighbor>
Router configuration - (Router id - 30.30.30.2, interface ip- 10.10.10.2,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.
Did i miss anything ? Any inputs on this is really appreciated.Kindly help
Thanks and kind regards, Sameer Muhammed
|
||||
|