284
</Ifmgr>
</top>
</config>
</edit-config>
action
Issues actions that are not for
configuring data, for example,
reset action.
To clear statistics information for all interfaces:
<rpc message-
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<action>
<top
xmlns="http://www.hp.com/netconf/action:
1.0">
<Ifmgr>
<ClearAllIfStatistics>
<Clear>
</Clear>
</ClearAllIfStatistics>
</Ifmgr>
</top>
</action>
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
through NETCONF sessions,
rather than those through other
protocols, for example, SNMP.
To lock the configuration:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<lock>
<target>
<running/>
</target>
</lock>
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:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<unlock>
<target>
<running/>
</target>
</unlock>
get-sessions
Retrieves information about all
system.
To retrieve information about all NETCONF sessions
in the system:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<get-sessions/>