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/restconf
<protocol xmlns="http://openconfig.net/y <name>bgp-example</name> <identifier xmlns:x="http://openconfig.net <bgp xmlns="urn:opendaylight:params <global> <config> <router-id>20.20.20.2</router- <as>65530</as> </config> </global> </bgp> </protocol>
4) configured server (http://localhost:8181/restcon Method: PUT Content-Type: application/xml Request Body:
<bgp-peer-acceptor-config xmlns="urn:opendaylight:params <config-name>default</config-n <binding-address>0.0.0.0</bind <binding-port>179</binding-por </bgp-peer-acceptor-config>
5) Finally configured peer using below url
Method: POST Content-Type: application/xml Request Body:
<neighbor xmlns="urn:opendaylight:params <neighbor-address>10.10.10.2</ <timers> <config> <hold-time>90</hold-time> <connect-retry>10</connect-ret </config> </timers> <transport> <config> <remote-port>179</remote-port> <passive-mode>false</passive-m </config> </transport> <config> <peer-type>INTERNAL</peer-type </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.bgp
Did i miss anything ? Any inputs on this is really appreciated.Kindly help
Thanks and kind regards, Sameer Muhammed |
||||
|