how to connect junos via netconf

asked 2016-01-19 22:20:38 -0700

keven gravatar image

updated 2016-01-19 22:26:39 -0700

hi ,

i can access junos to get capability .

$ ssh -p 830 root@10.79.44.238 -s netconf

< hello>

< capabilities>

<capability>urn:ietf:params:xml:ns:netconf:base:1.0</capability>
<capability>urn:ietf:params:xml:ns:netconf:capability:candidate:1.0</capability>
<capability>urn:ietf:params:xml:ns:netconf:capability:confirmed-commit:1.0</capability>
<capability>urn:ietf:params:xml:ns:netconf:capability:validate:1.0</capability>
<capability>urn:ietf:params:xml:ns:netconf:capability:url:1.0?protocol=http,ftp,file</capability>
<capability>http://xml.juniper.net/netconf/junos/1.0</capability>
<capability>http://xml.juniper.net/dmi/system/1.0</capability>

</capabilities> < session-id>41706< /session-id>

< /hello>

]]>]]>

////////

i refer this link to config ODL .

https://wiki.opendaylight.org/view/Op...Controller:Config:Examples:Netconf#SpawningAdditionalNetconfConnectorsWhiletheControlleris_Running

but the ODL netconf connector can't connect to the junos .

http://localhost:8181/restconf/operat...

< node>

< node-id>junos< /node-id>

< connection-status>unable-to-connect< /connection-status>

< connected-message>RemoteDevice{junos}: No more sources for schema context< /connected-message>

< /node>


Thanks in advance.

edit retag flag offensive close merge delete