beautypg.com

Example for locking the configuration, Network requirements, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual

Page 246: Verifying the configuration

background image

233

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

Example for locking the configuration

Network requirements

Lock the device configuration so that other users cannot change the device configuration.

Configuration procedure

# Enter XML view.

xml

# Exchange capabilities.

urn:ietf:params:netconf:base:1.0

# Lock the configuration.

Verifying the configuration

If the client receives the following response, the lock operation is successful:

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

If another client sends a lock request, the device returns the following response:

protocol

lock-denied

error

Lock failed because the NETCONF lock is held by another

session.