H3C Technologies H3C MSR 5600 User Manual
Page 180
167
Operation Description XML
example
lock
Locks the configuration data that
can be changed by the
edit-config operation. Other
configurations are not limited by
the lock operation.
This lock operation locks only
the configurations made
through NETCONF sessions,
rather than those through other
protocols, for example, SNMP.
To lock the configuration:
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
unlock
Unlocks the configuration, so
NETCONF sessions can change
device configuration.
When a NETCONF session is
terminated, the related locked
configuration is also unlocked.
To unlock the configuration:
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
get-sessions
Retrieves information about all
NETCONF sessions in the
system.
To retrieve information about all NETCONF sessions
in the system:
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
close-session
Terminates the NETCONF
session for the current user, to
unlock the configuration and
release the resources (for
example, memory) of this
session. This operation logs the
current user off the XML view.
To terminate the NETCONF session for the current
user:
se:1.0">
kill-session
Terminates the NETCONF
session for another user. This
operation cannot terminate the
NETCONF session for the
current user.
To terminate the NETCONF session with session-id 1:
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">