Example for filtering data by conditional match, Network requirements, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual

Page 260

Advertising
background image

247

<data>

<top xmlns="http://www.h3c.com/netconf/data:1.0">

<Ifmgr>

<Interfaces>

<Interface>

<IfIndex>2681</IfIndex>

<Description>Ten-GigabitEthernet1/0/1 Interface</Description>

</Interface>

<Interface>

<IfIndex>2682</IfIndex>

<Description>Ten-GigabitEthernet1/0/2 Interface</Description>

</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>

</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>

urn:ietf:params:netconf:base:1.0

</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"

Advertising