beautypg.com

Vlan – Allied Telesis AT-DC2552XS User Manual

Page 326

background image

Chapter 13: VLAN Commands

326

Section II: Layer 2 Switching

VLAN

Syntax

vlan

vids

[name

vlanname

] [type madaddress]

Parameters

vids

Specifies a VLAN identifier. The range is 2 to 4094. The VID 1 is
reserved for the Default_VLAN. The VID cannot be the same as
the VID of an existing VLAN on the switch. You can specify
multiple VIDs at a time. Use a comma (,) to separate VIDs and a
hyphen (-) to indicate the range of VIDs.

vlanname

Specifies a name for a new VLAN. A name can be from 1 to 32
alphanumeric characters. Spaces and special characters except
hyphens (-) and underscores (_) are not allowed. The first
character must be a letter. A name cannot be the same as the
name of an existing VLAN on the switch. When comparing VLAN
names, the switch ignores their cases. For example, the switch
considers that “sales” and “Sales” are the same names. You
cannot include this parameter when specifying multiple VIDs.

type madaddress

Creates a MAC address-based VLAN. When these keywords are
not specified, a port-based VLAN is created. You cannot include
these keywords when specifying multiple VIDs.

Mode

VLAN Configuration mode

Description

Use this command to create port-based and MAC address-based VLANs.
You can create multiple port-based VLANs at one time; however, you
cannot name multiple VLANs. If you want to name a VLAN, create one
VLAN at a time. To create a MAC address-based VLAN, you must create
one MAC address-based VLAN at a time. A MAC address-based VLAN
can be assigned to both tagged and untagged ports.

Confirmation Command

“SHOW VLAN” on page 314 and “SHOW VLAN MACADDRESS” on
page 316