This is an old revision of the document!
Netconf xml:
Fun facts:
<?xml version="1.0"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"xmlns:cpi="http://www.cisco.com/cpi_10/schema"
message-id="101">
<get-config>
<source>
<running/>
</source>
<filter>
<config-format-text-cmd>
<text-filter-spec>
interface Loopback113
</text-filter-spec>
</config-format-text-cmd>
</filter>
</get-config>
</rpc>]]>]]>
BASIC NETCONF TEST:
To test netconf from a linux client:
netconf-console --host=<ip> --port=830 --user=<user> --password=<pass>
Configure netconf in IOX-XE:
ip https secure-server username <name> privilege 15 password <pass> netconf-yang
Configure netconf in IOX-XR:
crypto key generate rsa ssh server v2 ssh server netconf netconf agent tty netconf-yang agent shh
YANG visualization
NETCONF on IOS-XE using ncclient