HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual page 269

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

Operation
Description
Unlocks the configuration, so
NETCONF sessions can change
device configuration.
unlock
When a NETCONF session is
terminated, the related locked
configuration is also unlocked.
Retrieves information about all
get-sessions
NETCONF sessions in the
system.
Terminates the NETCONF
session for the current user, to
unlock the configuration and
close-session
release the resources (for
example, memory) of this
session. This operation logs the
current user off the XML view.
Terminates the NETCONF
session for another user. This
kill-session
operation cannot terminate the
NETCONF session for the
current user.
Executes CLI operations. A
request message encloses
commands in the <CLI>
element, and a response
message encloses the
command output in the <CLI>
element.
NETCONF supports the
following views:
CLI
To execute a command in other
views, specify the command for
entering the specified view, and
then the desired command.
Execution—User view.
Configuration—System
view.
260
XML example
</target>
</lock>
</rpc>
To unlock the configuration:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:base
:1.0">
<unlock>
<target>
<running/>
</target>
</unlock>
</rpc>
To retrieve information about all NETCONF sessions
in the system:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:base
:1.0">
<get-sessions/>
</rpc>
To terminate the NETCONF session for the current
user:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:base
: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:base
: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:base
:1.0">
<CLI>
<Configuration>display
this</Configuration>
</CLI>
</rpc>

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents