Destroy vlan – Allied Telesis AT-S63 User Manual
Page 270
![background image](/manuals/427496/270/background.png)
Chapter 17: Port-based and Tagged VLAN Commands
270
Section IV: 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 VLANs from the stack. You can use the
command to delete selected VLANs or all the VLANs on the stack. 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 283.
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 132.
Examples
The following command deletes the Sales VLAN from the stack:
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 the
stack:
destroy vlan=all