Performing The Edit-Config Operation - HPE FlexNetwork 5510 HI Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexNetwork 5510 HI Series:
Table of Contents

Advertisement

The <get-config> and <get-bulk-config> messages are similar. The following is a <get-config>
message example:
<?xml version="1.0"?>
<rpc message-id="100" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter>
<top xmlns="http://www.hp.com/netconf/config:1.0">
Specify the module name, submodule name, table name, and column name
</top>
</filter>
</get-config>
</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, test-option, and incremental. For more information
about these attributes, see
# 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">
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
"Appendix A Supported NETCONF
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
256
operations."

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents