Destroy vlan – Allied Telesis AT-S63 User Manual
Page 512

Chapter 29: Port-based, Tagged, and Multiple Mode VLAN Commands
512
Section VI: Virtual LANs
DESTROY VLAN
Syntax
destroy vlan=
name
|
vid
|all
Parameters
vlan
Specifies the name or VID of the VLAN to be deleted.
To delete all VLANs, use the ALL option.
Description
This command deletes port-based, tagged, and MAC address-based
VLANs from a switch. You can use the command to delete selected
VLANs or all the VLANs on the switch. Note the following before using this
command:
You cannot delete the Default_VLAN.
You cannot delete a VLAN if it has a routing interface. You must first
delete the interface from the VLAN. To delete an interface, refer to
“DELETE IP INTERFACE” on page 566.
All untagged ports in a deleted VLAN are returned to the
Default_VLAN as untagged ports.
Static addresses assigned to the ports of a deleted VLAN become
obsolete and should be deleted from the MAC address table. For
instructions, refer to “DELETE SWITCH FDB|FILTER” on page 142.
You cannot delete a VLAN if it is a monitored interface of a VRRP. To
remove the VLAN from a monitored interface, refer to “DELETE VRRP
MONITOREDINTERFACE” on page 612.
Examples
The following command deletes the Sales VLAN from the switch:
destroy vlan=Sales
The following command deletes the Sales VLAN using both the name and
the VID:
destroy vlan=Sales vid=102
The following command deletes all port-based and tagged VLANs on a
switch:
destroy vlan=all