Locking/Unlocking The Configuration - HP 5920 Configuration Manual

Table of Contents

Advertisement

Verifying the configuration
# If the client receives the following response, the subscription is successful:
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<ok/>
</rpc-reply>
# If fan 1 on the device encounters problems, the device sends the following text to the client that has
subscribed to all events:
<?xml version="1.0" encoding="UTF-8"?>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2011-01-04T12:30:46</eventTime>
<event xmlns="http://www.hp.com/netconf/event:1.0">
<Group>DEV</Group>
<Code>FAN_DIRECTION_NOT_PREFERRED</Code>
<Slot>6</Slot>
<Severity>Alert</Severity>
<context>Fan 1 airflow direction is not preferred on slot 6, please check
it.</context>
</event>
</notification>
# When another client (192.168.100.130) logs in to the device, the device sends a notification to the client
that has subscribed to all events:
<?xml version="1.0" encoding="UTF-8"?>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2011-01-04T12:30:52</eventTime>
<event xmlns="http://www.hp.com/netconf/event:1.0">
<Group>SHELL</Group>
<Code>SHELL_LOGIN</Code>
<Slot>6</Slot>
<Severity>Notification</Severity>
<context>VTY logged in from 192.168.100.130.</context>
</event>
</notification>

Locking/unlocking the configuration

The device supports multiple users to simultaneously manage and monitor the device using NETCONF.
During device configuration and maintenance or network troubleshooting, a user can lock the
configuration to prevent other users from changing it. After that, only the user holding the lock can
change the configuration, and other users can only read the configuration.
In addition, only the user holding the lock can release the lock. After the lock is released, other users can
change the current configuration or lock the configuration. If the session of the user that holds the lock is
terminated, the system automatically releases the lock.
247

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents