H3c-technologies H3C S6300 Series Switches User Manual Page 268

  • Download
  • Add to my manuals
  • Print
  • Page
    / 306
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 267
255
O
p
eration Descri
p
tion XML exam
p
le
get-config
Retrieves the non-default
configuration data. If
non-default configuration data
does not exist, the device returns
a response with empty data.
To retrieve non-default configuration data for the
interface table:
<rpc message-id ="100"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"
xmlns:xc="http://www.h3c.com/netconf/bas
e:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<top
xmlns="http://www.h3c.com/netconf/config
:1.0">
<Ifmgr>
<Interfaces>
<Interface/>
</Interfaces>
</Ifmgr>
</top>
</filter>
</get-config>
</rpc>
get-bulk
Retrieves a number of data
entries (including device
configuration and state
information) starting from the
data entry next to the one with
the specified index.
To retrieve device configuration and state information
for all interface:
<rpc message-id ="100"
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<get-bulk>
<filter type="subtree">
<top
xmlns="http://www.h3c.com/netconf/data:1
.0">
<Ifmgr>
<Interfaces xc:count=”5”
xmlns:xc=”
http://www.h3c.com/netconf/base:1.0”>
<Interface/>
</Interfaces>
</Ifmgr>
</top>
</filter>
</get-bulk>
</rpc>
Page view 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 305 306

Comments to this Manuals

No comments