Set vlan – Allied Telesis AT-S63 User Manual

Page 272

Advertising
background image

Chapter 17: Port-based and Tagged VLAN Commands

272

Section IV: Virtual LANs

SET VLAN

Syntax

set vlan=

name

|

vid

port=

ports

frame=tagged|untagged

Parameters

vlan

Specifies the name or VID of the VLAN to be

modified.

ports

Specifies the port whose VLAN type is to be
changed. You can specify more than one port at a
time. Port numbers are specified in the following
format:

module ID.port number

For instructions, refer to “Port Numbers in
Commands” on page 40.

frame

Identifies the new VLAN type for the port. The type

can be tagged or untagged.

Description

This command changes a port’s VLAN type. You can use this command to
change a tagged port to an untagged port and vice versa.

Note the following before using this command:

ˆ

Changing an untagged port to a tagged port adds the port to the
Default_VLAN as an untagged port.

ˆ

Changing a port in the Default_VLAN from untagged to tagged results
in the port being an untagged member of no VLAN.

ˆ

Changing a port from tagged to untagged removes the port from its
current untagged port assignment.

Examples

The following command changes port 2.4 in the Sales VLAN from tagged
to untagged:

set vlan=Sales port=2.4 frame=untagged

Advertising