Please enable JavaScript.
Coggle requires JavaScript to display documents.
NETCONF (4 Protocol Layers (Content (Configuration Data RPC input/output …
NETCONF
4 Protocol Layers
Content
Configuration Data
RPC input/output
Notification Content
contains the RPC request and response payload
Operations
<get-config>
<edit-config>
<commit-config>
Plus custom RPCs
<lock>
<unlock>
<copy-config>
<commit>
<discard-changes>
<delete-config>
<validate>
<create-subscription>
<close-session>
<kill-session>
Messages
<rpc>
<rpc-reply>
<notification>
<rpc> element encapsulations all remote procedure calls to the NETCONF service This includes all operation mode and configuration RPCs
<rpc-reply> encapsulations all replies from the NETCONF server
<notification> a one-way message to the client who initiated a <create-subscription> command, contains the event of interest
Transport
SSH
TLS
HTTP/TLS
JUNOS uses ssh
Enable port
set system services netconf ssh
enables netconf on 830
test from CLI using
netconf
XML
Find the right RPC
use the junos XML schema documents
use the XML API explorer
xml api opertional developer reference
show <config> | display xml rpc
RFC 6241