189
Operation
Description
XML example
edit-config:
error-option
Determines the action to take in
case of a configuration error.
The error-option element has
one of the following values:
•
stop-on-error
—Stops the
operation on error and
returns an error message.
This is the default
error-option value.
•
continue-on-error
—Cont
inues the operation on
error and returns an error
message.
•
rollback-on-error
—Rolls
back the configuration.
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:ba
se:1.0">
<edit-config>
<target>
<running/>
</target>
<error-option>continue-on-error</error-o
ption>
<config
xmlns:xc="urn:ietf:params:xml:ns:netconf
:base:1.0">
<top
xmlns="http://www.hp.com/netconf/config:
1.0">
<Ifmgr xc:operation="merge">
<Interfaces>
<Interface>
<IfIndex>262</IfIndex>
<Description>222</Description>
<ConfigSpeed>2</ConfigSpeed>
<ConfigDuplex>1</ConfigDuplex>
</Interface>
<Interface>
<IfIndex>263</IfIndex>
<Description>333</Description>
<ConfigSpeed>1000000</ConfigSpeed>
<ConfigDuplex>1</ConfigDuplex>
</Interface>
</Interfaces>
</Ifmgr>
</top>
</config>
</edit-config>
</rpc>
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...