Destroy vlan – Allied Telesis AT-S63 User Manual

Page 564

Advertising
background image

Chapter 32: MAC Address-based VLAN Commands

564

Section VI: Virtual LANs

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

The command deletes port-based, tagged, and MAC address-based
VLANs. You can use the command to deleted selected VLANS or to
delete all VLANs, with the exception of the Default_VLAN.

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