netconf
Syntax
netconf {
flatten-commit-results;
hello-message {
yang-module-capabilities {
advertise-native-yang-modules;
advertise-custom-yang-modules;
advertise-standard-yang-modules;
}
}
netconf-monitoring {
netconf-state-schemas {
retrieve-custom-yang-modules;
retrieve-standard-yang-modules;
}
}
notification {
interleave;
}
rfc-compliant;
ssh {
client-alive-count-max number;
client-alive-interval seconds;
connection-limit limit;
port port;
rate-limit limit;
}
tls {
client-identity client-id {
fingerprint fingerprint;
map-type (san-dirname-cn | specified);
username username;
}
default-client-identity {
map-type (san-dirname-cn | specified);
username username;
}
local-certificate local-certificate;
traceoptions {
file <filename> <files files> <match match> <size size> <(world-readable | no-world-readable)>;
flag name;
level (all | error | info | notice | verbose | warning);
no-remote-trace;
}
}
traceoptions {
file <filename> <files number> <match regular-expression> <size size> <world-readable | no-world-readable>;
flag flag;
no-remote-trace;
on-demand;
}
version-1.1;
yang-compliant;
yang-modules {
device-specific;
emit-anyxml-in-rpc-output;
emit-extensions;
emit-family-ns-and-module-name;
}
}
Hierarchy Level
[edit system services]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Configure the NETCONF XML management protocol.
Default
If you do not include the netconf statement, NETCONF connections are
not permitted.
Options
flatten-commit-results |
Suppress the <commit-results> XML subtree in the
NETCONF server's response for <commit> operations.
This statement must be configured in conjunction with the
rfc-compliant statement.Note:
You should configure the |
| version-1.1 |
Make NETCONF sessions compliant to RFC 6242, Using the NETCONF
Protocol over Secure Shell (SSH). This statement must be
configured in conjunction with the When you enable RFC 6242-compliant NETCONF sessions and both peers
advertise the |
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 7.5.
flatten-commit-results option added in Junos OS Release 21.2R1.
version-1.1 statement added in Junos OS Release 24.4R1 and Junos OS
Evolved Release 24.4R1.