Performing The Edit-Config Operation; All-Module Configuration Data Retrieval Example - HP 5920 Configuration Manual

Table of Contents

Advertisement

</rpc>
Verifying the configuration
After receiving the get-config request, the device returns a response in the following format if the
operation is successful:
<?xml version="1.0"?>
<rpc-reply message-id="100"
<data>
All data matching the specified filter
</data>
</rpc-reply>

Performing the edit-config operation

The edit-config operation supports the following operation attributes: merge, create, replace, remove,
delete, default-operation, error-option, and test-option. For more information about these attributes, see
"Appendix A Supported NETCONF
# Copy the following text to perform the <edit-config> operation:
<?xml version="1.0"?>
<rpc message-id="100"
<edit-config>
<target><running></running></target>
<error-option>
Default operation when an error occurs
</error-option>
<config>
<top xmlns="http://www.hp.com/netconf/config:1.0">
Specify the module name, submodule name, table name, and column name
</top>
</config>
</edit-config>
</rpc>
After receiving the edit-config request, the device returns a response in the following format if the
operation is successful:
<?xml version="1.0">
<rpc-reply message-id="100" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
# Perform the get operation to verify that the current value of the parameter is the same as the value
specified through the edit-config operation. (Details not shown.)

All-module configuration data retrieval example

Network requirements
Retrieve configuration data for all modules.
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
operations."
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
252

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents