beautypg.com

Allied Telesis AT-S39 User Manual

Page 121

background image

AT-S39 Command Line Interface User’s Guide

121

Description

This command removes tagged and untagged ports from a VLAN. You
can also use this command to cancel a port functioning as a VLAN mirror.

This command has two syntaxes, just like the CREATE VLAN command.
You can use either command to delete ports from a VLAN. The
difference between the two is that Syntax 1 can remove only one type of
port, tagged or untagged, at a time from a VLAN, while Syntax 2 can
remove both in the same command. This is illustrated in Examples
below.

Note
To delete a VLAN, see the command DESTROY VLAN.

Note
You cannot use this command to change the name or VID of a VLAN.

When an untagged port is deleted from a VLAN, it is automatically
returned to the Default_VLAN as an untagged member. If the port is also
functioning as a tagged member of other VLANs, it remains a member of
the other VLANs. For example, if you remove Port 4 from a VLAN, the
port is automatically returned as an untagged port to the Default VLAN.
If Port 4 is functioning as a tagged member in one or more other VLANs,
it remains as a tagged member of those VLANs.

If you remove an untagged port from the Default_VLAN without
assigning it to another VLAN, the port is excluded as an untagged
member from all VLANs on the switch.

When a tagged port is removed from a VLAN, all of its other tagged and
untagged VLAN assignments remain unchanged.

Examples

The following command uses Syntax 1 to delete untagged Ports 4 and 7
from a VLAN called Sales:

delete vlan name=sales port=4,7 frame=untagged

The following command does the same thing using Syntax 2:

delete vlan name=sales untaggedports=4,7

The following command uses Syntax 1 to delete tagged Port 3 from a
VLAN called Production:

delete vlan name=production port=3 frame=tagged