
92 Multi-Service IronWare YANG Configuration Guide
53-1003038-02
VLAN configuration elements
5
VLAN name
The VLAN name is a unique string that describes a specific VLAN.
Tagged ports
This data element indicates that a specific port is a tagged member of the VLAN.
Untagged ports
This data element indicates that a specific port is an untagged member of the VLAN.
TABLE 21 VLAN name
YANG model XML CLI
leaf vlan-name
{
type string
{
length "1..31";
}
description "VLAN Name";
}
<brcd:vlan-name>example</brcd:vlan-name>[no] vlan <vlan-id> name <vlan-name>
TABLE 22 VLAN tagged ports
YANG model XML CLI
leaf-list tagged
{
type ethernet-pos-intf-multiple;
description "Tagged Interfaces list";
}
<brcd:tagged>ethernet 1/1 to
1/2</brcd:tagged>
<brcd:tagged>ethernet 1/4</brcd:tagged>
[no] tagged ethernet
<slot-number>/<port-number> [to
<slot-number>/<port-number> |
ethernet
<slot-number>/<port-number>]
TABLE 23 VLAN untagged ports
YANG model XML CLI
leaf-list untagged
{
type ethernet-pos-intf-multiple;
description "Untagged Interfaces list";
}
<brcd:untagged>ethernet 1/1 to
1/2</brcd:untagged>
<brcd:untagged>ethernet
1/4</brcd:untagged>
[no] untagged <slot-number>/<port-number>
[to
<slot-number>/<port-number> | ethernet
<slot-number>/<port-number>]
Comentarios a estos manuales