Destroy vlan – Allied Telesis AT-S63 User Manual

Page 314

Advertising
background image

Chapter 21: VLANs and Multiple VLAN Mode Commands

314

DESTROY VLAN

Syntax

destroy vlan vlan=

name

|all [vid=

vid

]

Parameters

vlan

Specifies the name of the VLAN to be deleted. To

delete all VLANs, use the ALL option.

vid

Specifies the VID of the VLAN to be deleted. This
parameter is optional.

Description

When the switch is operating in the user-configured VLAN mode, you
can use this command to delete port-based and tagged VLANs from a
switch. You can use the command to deleted selected VLANS or to
delete all VLANs, with the exception of the Default_VLAN.

When the switch is operating in the 802.1q-compliant mode, this
command returns the switch back to the user-configure VLAN mode.

Examples

The following command deletes the Sales VLAN from the switch:

destroy vlan vlan=Sales

The following command deletes the Sales VLAN using both the name
and the VID:

destroy vlan vlan=Sales vid=102

The following command deletes all port-based and tagged VLANs on a
switch:

destroy vlan=all

Advertising