Top Banner
10

Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created

Sep 09, 2018

Download

Documents

LêAnh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created
Page 2: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created
Page 3: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created
Page 4: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created

linux:~$ ssh -s [email protected] netconf

Password:

<?xml version=”1.0″ encoding=”UTF-8″?><hello><capabilities>

<capability>urn:ietf:params:netconf:base:1.0</capability>

<capability>urn:ietf:params:netconf:capability:writeable-

running:1.0</capability>

<capability>urn:ietf:params:netconf:capability:startup:1.0</capability>

<capability>urn:ietf:params:netconf:capability:url:1.0</capability>

<capability>urn:cisco:params:netconf:capability:notification:1.0</capability

></capabilities>

<session-id>1731357996</session-id></hello>]]>]]>

Page 5: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created

<?xml version=”1.0″ encoding=”UTF-8″?>

<hello>

<capabilities>

<capability>urn:ietf:params:netconf:base:1.0</capability>

</capabilities>

</hello>]]>]]>

<?xml version=”1.0″ encoding=”UTF-8″?>

<rpc message-id=”101″ xmlns=”urn:ietf:params:xml:ns:netconf:base:1.0″

\

xmlns:cpi=”http://www.cisco.com/cpi_10/schema“>

<get-config>

<source>

<running/>

</source>

</get-config>

</rpc>]]>]]>

<?xml version=”1.0″ encoding=”UTF-8″?>

<rpc message-id=”101″ xmlns=”urn:ietf:params:xml:ns:netconf:base:1.0″

\

xmlns:cpi=”http://www.cisco.com/cpi_10/schema“>

<get-config>

<source>

<running/>

</source>

</get-config>

</rpc>]]>]]>

<?xml version=”1.0″ encoding=”UTF-8″?><rpc-reply message-id=”101″

xmlns=”urn:ietf:params:netconf:base:1.0″><data><cli-config-data-

block>!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname cisco

Page 6: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created

!

boot-start-marker

boot-end-marker

...

[some output omitted]

...

line aux 0

line vty 0 4

exec-timeout 0 0

login local

!

netconf ssh

!

</cli-config-data-block></data></rpc-reply>]]>]]>

ssh server netconf port 380

netconf-yang agent ssh

netconf ssh

netconf lock-time 60

netconf max-sessions 16

netconf max-message 37283

Page 7: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created
Page 8: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created
Page 9: Benefits of Implementing NETCONF - NIL Learninglearning.nil.com/assets/Tips-/Benefits-of-implementing-NETCONF.pdf · Benefits of Implementing NETCONF Author: Matjaž Jaušovec Created