Brocade Multi-Service IronWare YANG Configuration Guide (Supporting R05.6.00) User Manual

Page 107

Advertising
background image

Multi-Service IronWare YANG Configuration Guide

99

53-1003038-02

Full examples

5

uses priority-grouping;

leaf router-interface

{

type ve-intf-single;

description "router VE inteface";

}

leaf loop-detection

{

type empty;

description "Enable loop detection on the VLAN";

}

leaf vlan-accounting

{

type empty;

description "Enable VLAN Accounting on the VLAN";

}

leaf vlan-cpu-protection

{

type empty;

description "Enables Vlan CPU protection for "+

"unknown unicast and multicast packets";

}

}

leaf default-vlan-id

{

type vlan-identifier;

description "Default VLAN identifier";

}

}

}

}

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

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

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

<nc:edit-config>

<nc:target>

<nc:running/>

</nc:target>

<nc:config>

<brcd:netiron-config>

<brcd:vlan-config>

<brcd:default-vlan>2020</brcd:default-vlan>

<brcd:vlan>

<brcd:vlan-id>20</brcd:vlan-id>

<brcd:vlan-name>Test20</brcd:vlan-name>

<brcd:tagged>ethernet 1/2 to 1/3</brcd:tagged>

<brcd:tagged>ethernet 1/6 to 1/7</brcd:tagged>

Advertising