H3C Technologies H3C S6300 Series Switches User Manual
Page 276
263
Operation Description XML
example
CLI
Executes CLI operations. A
request message encloses
commands in the
element, and a response
message encloses the command
output in the
NETCONF supports the
following views:
•
Execution—User view.
•
Configuration—System view.
To execute a command in other
views, specify the command for
entering the specified view, and
then the desired command.
To execute the display this command in system view:
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
this
save
Saves the running configuration.
You can use the
to specify a file for saving the
configuration. If the
element does not exist, the
running configuration is
automatically saved to the main
next-startup configuration file.
To save the running configuration to the file test.cfg:
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
load
Loads the configuration. After
the device finishes the load
operation, the configuration in
the specified file is merged into
the current configuration of the
device.
To merge the configuration in the file a1.cfg to the
current configuration of the device:
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
rollback
Rolls back the configuration. To
do so, you must specify the
configuration file in the
element. After the device
finishes the rollback operation,
the current device configuration
is totally replaced with the
configuration in the specified
configuration file.
To roll back the current configuration to the
configuration in the file 1A.cfg:
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">