Chapter 30: IGMP Snooping Commands

SET VLAN

Syntax

set vlan=namevid port=ports frame=taggeduntagged

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

470

Page 470
Image 470
Allied Telesis management software layer 2+ fast ethernet switches manual Set vlan=namevid port=ports frame=taggeduntagged