
Multi-Service IronWare YANG Configuration Guide 91
53-1003038-02
Chapter
5
VLAN Configuration
In this chapter
•Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
•VLAN configuration elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
•VLAN state elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
•Full examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Overview
This chapter describes how to create virtual local area network (VLAN) with tagged and untagged
ports using the YANG model, and illustrates the equivalent XML and CLI commands.
For the most recent YANG models, visit http://my.brocade.com.
VLAN configuration elements
Each element of the VLAN corresponds to the following:
• A YANG model description
• An XML description
• A CLI description
The following subsections compare a specific example for each VLAN configuration element.
VLAN identifier
The VLAN identifier is a restricted integer type that behaves as a unique identifier.
TABLE 20 VLAN identifier
YANG model XML CLI
leaf vlan-id
{
type vlan-identifier;
description "VLAN ID";
}
<brcd:vlan>
<brcd:vlan-id>2</brcd:vlan-id>
</brcd:vlan>
vlan <num>
Comentarios a estos manuales