Create vlan – Allied Telesis AT-S63 User Manual

Page 376

Advertising
background image

Chapter 21: Port-based and Tagged VLAN Commands

376

Section VI: Virtual LANs

CREATE VLAN

Syntax 1

create vlan=

name

vid=

vid

[type=port] ports=

ports

|all

frame=untagged|tagged

Syntax 2

create vlan=

name

vid=

vid

[type=port] taggedports=

ports

|all

untaggedports=

ports

|all

Parameters

vlan

Specifies a name of up to 20 alphanumeric

characters for the new VLAN. A VLAN must have a
name. It should reflect the function of the member
nodes of the VLAN (for example, Sales or
Accounting). The name cannot contain spaces or
special characters, such as asterisks (*) or
exclamation points (!).

The name cannot be the same as an existing VLAN

on the stack.

If the VLAN is unique in your network, then the

name should be unique as well. If the VLAN spans
multiple switches or stacks, then the name of the
VLAN should be the same on each switch or stack.

vid

Specifies a VLAN identifier. The range is 2 to 4094.

A VLAN must have a VID. You cannot use the VID
1, which is reserved for the Default_VLAN. The VID
cannot be the same as the VID of an existing VLAN
on the stack.

If this VLAN is unique in your network, then its VID
should also be unique. If this VLAN is part of a
larger VLAN that spans multiple switches or stacks,
then the VID value for the VLAN should be the
same on each switch or stack. For example, if you
are creating a VLAN called Sales that spans three
stacks, assign the Sales VLAN the same VID value
on each stack.

type

Specifies the type of VLAN to be created. The

option PORT signifies a port-based or tagged
VLAN. This parameter is optional.

Advertising