beautypg.com

Interface vlan – Brocade Network OS Command Reference v4.1.0 User Manual

Page 375

background image

Network OS Command Reference

337

53-1003115-01

interface vlan

2

interface vlan

Allows the user to create 802.1Q VLANs, as well as service or transport VFs in a Virtual Fabrics
context.

Synopsis

interface vlan vlan_id

no interface vlan vlan_id

Operands

vlan_id

Specifies the VLAN interface to configure. The range is from 1 through
8191. (Refer to the Usage Guidelines.)

Defaults

VLAN 1 is predefined on the switch.

Command Modes

Global configuration mode

Description

Use this command to configure a VLAN interface. This command applies to both 802.1Q VLANS
(whose VLAN IDs range from 1 through 4095) and service or transport VFs (whose VLAN IDs range
from 4096 through 8191).To support multitenancy, assigning VLAN IDs from 4096 through 8191
creates service or transport VFs that are unique within a local VCS Fabric but that cannot extend to
another VCS Fabric.

Usage Guidelines

All of the ports on the switch are a part of the default VLAN 1.

Make sure your converged mode interface is not configured to classify untagged packets to the
same VLAN as the incoming VLAN-tagged packets. By configuring a converged interface to classify
untagged packets (by using classifiers or the default port vlan_id) to the same VLAN as
VLAN-tagged packets coming into the interface, the FCoE hardware sends out untagged packets to
the CNA. These packets may be dropped, disrupting communications.

For service or transport VFs to be implemented in a Virtual Fabrics context, the user must execute
the vcs virtual-fabric enable command in global configuration mode.

On the Brocade VDX family of switches, VLANs are treated as interfaces from a configuration point
of view. By default, all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). Valid VLAN IDs
are as follows:

On Brocade VDX 8770 switches: 1 through 4086.for 802.1Q VLANs (VLAN IDs 4087
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

On all other Brocade VDX switches: 1 through 3962 for 802.1Q VLANs (VLAN IDs 3963
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

Enter no interface vlan vlan_id to delete a VLAN interface. This will also delete the corresponding
virtual Ethernet (VE) interface.

Examples

To create a VLAN with an ID of 56:

switch(config)# interface vlan 56

switch(conf-if-vl-56)#

To create a classified VLAN (with an ID from 4096 through 8191):

switch(config)# interface vlan 5000

switch(conf-if-vl-5000)#