EasyManua.ls Logo

HP 5920 - Page 286

HP 5920
322 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
276
O
p
eration Descri
p
tion XML exam
p
le
edit-config:
test-option
Determines whether to issue a
configuration item in the
edit-configure operation. The
test-option element has one of
the following values:
• test-then-set—Performs a
validation test before
attempting to set. If the
validation test fails, the
edit-config operation is not
performed. This is the default
test-option value.
• set—Directly performs the
set operation without the
validation test.
• test-only—Performs only a
validation test without
attempting to set. If the
validation test succeeds, a
successful message is
returned. Otherwise, an
error message is returned.
To issue the configuration for an interface for test
purposes:
<rpc message-id ="101"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<edit-config>
<target>
<running/>
</target>
<test-option>test-only</test-option>
<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>
<Index>262</Index>
<Description>222</Description>
<ConfigSpeed>100</ConfigSpeed>
<ConfigDuplex>1</ConfigDuplex>
</Interface>
</Interfaces>
</Ifmgr>
</top>
</config>
</edit-config>
</rpc>
action
Issues actions that are not for
configuring data, for example,
reset action.
To clear statistics information for all interfaces:
<rpc message-id="101"
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>
</rpc>

Table of Contents

Other manuals for HP 5920

Related product manuals