Defaults: None.

Access: Enabled.

Usage: If you do not specify a port-list, the entire VLAN is removed from the configuration.

Note: You cannot delete the default VLAN but you can remove ports from it. To remove ports from the default VLAN, use the port port-listoption.

Examples: The following command removes port 1 from VLAN green:

DWS-1008#clear vlan green port 1

This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y success: change accepted.

The following command removes port 4, which uses tag value 69, from VLAN red:

DWS-1008#clear vlan red port 4 tag 69

This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y success: change accepted.

The following command completely removes VLAN marigold:

DWS-1008#clear vlan marigold

This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y success: change accepted.

See Also:

set vlan port

show vlan config

D-Link DWS-1008 CLI Manual

63

Page 66
Image 66
D-Link dws-1008 manual DWS-1008#clear vlan green port, DWS-1008#clear vlan red port 4 tag, DWS-1008#clear vlan marigold