R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
211
NETCONF commands
The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features,
commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about
FIPS mode, see Security Configuration Guide.
xml
Use xml to enter XML view.
Syntax
xml
Views
User view
Predefined user roles
network-admin
network-operator
Usage guidelines
In XML view, you can use NETCONF messages to configure the device or obtain data from the device.
NETCONF operations you can perform depend on the user roles you have, as shown in Table 52.
Table 52 NETCONF operations avail
able for the predefined user roles
User role NETCONF o
p
erations
network-admin All NETCONF operations
network-operator
• Get
• Get-bulk
• Get-bulk-config
• Get-config
• Get-sessions
• Close-session
NETCONF messages must comply with the XML format requirement and the XSD file semantic and
syntactic requirements. To ensure successful configuration, HP recommends that you use third-party
software to generate NETCONF messages.
To quit XML view, use a NETCONF message instead of the quit command.
If you have configured a shortcut key (Ctrl + C, by default) by using the escape-key command in user
line/user line class view, the NETCONF message should not contain the shortcut key string. Otherwise,
relevant configurations in XML view might be affected. For example, in user line view, you configured "a"
as the shortcut key by using the escape-key a command. When a NETCONF message contains the
character "a," only the contents after the last "a" in the message can be processed.
Examples
# Enter XML view.