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

Page 61

Advertising
background image

Multi-Service IronWare YANG Configuration Guide

53

53-1003038-02

Full examples

3

<brcd:tag-mode>

<brcd:no></brcd:no>

</brcd:tag-mode>

<brcd:priority-level>

<brcd:level0></brcd:level0>

</brcd:priority-level>

<brcd:mac-address>748e.f811.8186</brcd:mac-address>

</brcd:interface>

</brcd:interface-statedata>

</netiron-statedata>

</nc:data>

</nc:rpc-reply>

]]>]]>

<get-config> operation example

The following example shows the RPC request and response of a <get-config> operation.

<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="1">

<nc:get-config>

<nc:source>

<nc:running/>

</nc:source>

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

<brcd:netiron-config>

<brcd:interface-config/>

</brcd:netiron-config>

</nc:filter>

</nc:get-config>

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

<nc:data>

<brcd:netiron-config>

<brcd:interface-config>

<brcd:interface>

<brcd:interface-id>management 1</brcd:interface-id>

<brcd:enable></brcd:enable>

<brcd:ip>

<brcd:address>10.20.99.187/20</brcd:address>

</brcd:ip>

<brcd:ipv6>

<brcd:address>2001::10:20:99:187/64</brcd:address>

</brcd:ipv6>

<brcd:priority>

</brcd:priority>

</brcd:interface>

<brcd:interface>

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

<brcd:disable></brcd:disable>

<brcd:loop-detection>

</brcd:loop-detection>

<brcd:flow-control></brcd:flow-control>

<brcd:speed-duplex>auto</brcd:speed-duplex>

<brcd:priority>

Advertising