HPE FlexNetwork 5510 HI Series Network Management And Monitoring Configuration Manual page 294

Hide thumbs Also See for FlexNetwork 5510 HI Series:
Table of Contents

Advertisement

Operation
Description
Terminates
session for the current user, to
unlock the configuration and
close-session
release
example,
session. This operation logs the
current user off the XML view.
Terminates
session for another user. This
operation cannot terminate the
kill-session
NETCONF session for the
current user.
Executes CLI operations. A
request
commands
element,
message
command output in the <CLI>
element.
NETCONF
CLI
following views:
To execute a command in other
views, specify the command for
entering the specified view, and
then the desired command.
Saves
configuration. You can use the
<file> element to specify a file
for saving the configuration. If
save
the <file> element does not
exist, the running configuration
is automatically saved to the
main next-startup configuration
file.
Loads the configuration. After
the device finishes the load
operation, the configuration in
load
the specified file is merged into
the current configuration of the
device.
the
NETCONF
the
resources
(for
memory)
of
this
the
NETCONF
message
encloses
in
the
<CLI>
and
a
response
encloses
the
supports
the
Execution—User view.
Configuration—System
view.
the
running
285
XML example
To terminate the NETCONF session for the current
user:
<rpc
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<close-session/>
</rpc>
To terminate the NETCONF session with session-id
1:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<kill-session>
<session-id>1</session-id>
</kill-session>
</rpc>
To execute the display this command in system
view:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<CLI>
<Configuration>display
this</Configuration>
</CLI>
</rpc>
To save the running configuration to the file test.cfg:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"> <save>
<file>test.cfg</file>
</save>
</rpc>
To merge the configuration in the file a1.cfg to the
current configuration of the device:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"> <load>
<file>a1.cfg</file>
</load>
</rpc>
message-id="101"

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents