Chapter 28: VLANs and Multiple VLAN Commands

DESTROY VLAN

Syntax

destroy vlan vlan=nameall [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

442

Page 442
Image 442
Allied Telesis management software layer 2+ fast ethernet switches manual Destroy Vlan, Destroy vlan vlan=nameall vid=vid