Get-config> operation – Brocade Multi-Service IronWare Administration Guide (Supporting R05.6.00) User Manual

Page 304

Advertising
background image

286

Multi-Service IronWare Administration Guide

53-1003028-02

Basic NETCONF operations

8

<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"

xmlns:brcd="http://brocade.com/ns/netconf/config/netiron-config/"

message-id="25">

<nc:get>

<nc:filter nc:type="subtree" >

<brcd:netiron-statedata>

<brcd:interface-statedata>

<brcd:interface>

<brcd:interface-id>ethernet 1/20</brcd:interface-id>

</brcd:interface>

</brcd:interface-statedata>

</brcd:netiron-statedata>

</nc:filter>

</nc:get>

</nc:rpc>

]]>]]>

<nc:rpc-reply xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"

xmlns:brcd="http://brocade.com/ns/netconf/config/netiron-config/"

message-id="25">

<nc:data>

<netiron-statedata xmlns="http://brocade.com/ns/netconf/config/netiron-config/">

<brcd:interface-statedata>

<brcd:interface>

<brcd:interface-id>ethernet 1/20</brcd:interface-id>

<brcd:link-state>

<brcd:down></brcd:down>

</brcd:link-state>

<brcd:l2-state>

<brcd:disabled></brcd:disabled>

</brcd:l2-state>

<brcd:duplex>

<brcd:none></brcd:none>

</brcd:duplex>

<brcd:speed></brcd:speed>

<brcd:tag-mode>

<brcd:yes></brcd:yes>

</brcd:tag-mode>

<brcd:priority-level>

<brcd:level0></brcd:level0>

</brcd:priority-level>

<brcd:mac-address>0000.0085.2d00</brcd:mac-address>

</brcd:interface>

</brcd:interface-statedata>

</netiron-statedata>

</nc:data>

</nc:rpc-reply>

]]>]]>

<get-config> operation

The NETCONF

<get-config>

operation retrieves all or part of a configuration from the source data

store. The

<get-config>

operation is similar to the show running-config command.

If the device can satisfy the request, the server sends an

<rpc-reply>

element containing a

<data>

element with the results of the query. If the request cannot be completed, an

<rpc-error>

element is included in the

<rpc-reply>

element.

Advertising