beautypg.com

Set vlan – Allied Telesis AT-S62 User Manual

Page 470

background image

Chapter 30: IGMP Snooping Commands

470

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. You can specify the ports individually (for
example, 5, 7, 22), as a range (for example, 18-22), or
both (for example, 1, 5, 14-22).

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 untagged and vice versa.

Before using this command, note the following:

❑ Changing a port in a port-based, tagged, or protected ports VLAN

from untagged to tagged adds the port to the Default_VLAN as
untagged.

❑ 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 4 in the Sales VLAN from tagged
to untagged:

set vlan=Sales port=4 frame=untagged