HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual page 267

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

Operation
Description
Determines the action to take in
case of a configuration error.
The error-option element has
one of the following values:
edit-config:
error-option
Determines whether to issue a
configuration item in an
<edit-config> operation. The
edit-config:
test-option element has one of
test-option
the following values:
the schema verification is
passed, a successful
message is returned.
Otherwise, an error
message is returned.
stop-on-error—Stops the
operation on error and
returns an error message.
This is the default
error-option value.
continue-on-error—Conti
nues the operation on error
and returns an error
message.
rollback-on-error—Rolls
back the configuration. This
value is not supported by
the current software
version, and it is reserved
for future use.
test-then-set—Performs a
258
XML example
To issue the configuration for two interfaces with the
error-option element value as continue-on-error:
<rpc message-id ="101"
xmlns="urn:ietf:params:xml:ns:netconf:base
:1.0">
<edit-config>
<target>
<running/>
</target>
<error-option>continue-on-error</error-opt
ion>
<config
xmlns:xc="urn:ietf:params:xml:ns:netconf:b
ase:1.0">
<top
xmlns="http://www.h3c.com/netconf/config:1
.0">
<Ifmgr xc:operation="merge">
<Interfaces>
<Interface>
<Index>262</Index>
<Description>222</Description>
<ConfigSpeed>100</ConfigSpeed>
<ConfigDuplex>1</ConfigDuplex>
</Interface>
<Interface>
<Index>263</Index>
<Description>333</Description>
<ConfigSpeed>100</ConfigSpeed>
<ConfigDuplex>1</ConfigDuplex>
</Interface>
</Interfaces>
</Ifmgr>
</top>
</config>
</edit-config>
</rpc>
To issue the configuration for an interface for test
purposes:
<rpc message-id ="101"
xmlns="urn:ietf:params:xml:ns:netconf:base
:1.0">
<edit-config>

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents