Download Print this page

HP 5920 Configuration Manual: Example For Filtering Data By Conditional Match

Hide thumbs

Advertisement

</top>
</data>
</rpc-reply>

Example for filtering data by conditional match

Network requirements
Retrieve data in the Name column with the ifindex value not less than 5000 in the Interfaces table under
the Ifmgr module.
Configuration procedure
# Enter XML view.
<Sysname> xml
# Exchange capabilities.
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<capabilities>
<capability>
</capability>
</capabilities>
</hello>
# Retrieve data in the Name column with the ifindex value not less than 5000 in the Interfaces table
under the Ifmgr module.
<rpc message-id="100"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns:nc="http://www.hp.com/netconf/base:1.0">
<get>
<filter type="subtree">
<top xmlns="http://www.hp.com/netconf/data:1.0">
<Ifmgr>
</Interface>
<Interface>
<IfIndex>2683</IfIndex>
<Description>Ten-GigabitEthernet1/0/3 Interface</Description>
</Interface>
<Interface>
<IfIndex>2684</IfIndex>
<Description>Ten-GigabitEthernet1/0/4 Interface</Description>
</Interface>
</Interfaces>
</Ifmgr>
urn:ietf:params:netconf:base:1.0
<Interfaces>
<Interface>
<IfIndex nc:match="more:5000"/>
<Name/>
</Interface>
</Interfaces>
263

Advertisement

This manual also for:

5900

Comments to this Manuals

Symbols: 0
Latest comments: