beautypg.com

Destroy vlan – Allied Telesis AT-S62 User Manual

Page 442

background image

Chapter 28: VLANs and Multiple VLAN Commands

442

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

You can use this command, when the switch is operating in the user-
configure VLAN mode, 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