Hub/Switch Reference Guide

86 VLAN Commands
NN47250-100 (Version 02.51)
Defaults
If you do not specify a VLAN or all, counters for all VLANs are cleared.
Access
Enabled.
History
Introduced in WSS Software Version 4.1.
Usage
To clear MAC addresses from the list of addresses to which clients are allowed to send data, use the
clear security l2-restrict command instead.
Examples
The following command clears Layer 2 forwarding restriction statistics for VLAN abc_air:
WSS# clear security l2-restrict counters vlan abc_air
success: change accepted.
See Also
clear security l2-restrict on page 75
set security l2-restrict on page 78
show security l2-restrict on page 87
clear vlan
Removes physical or virtual ports from a VLAN or removes a VLAN entirely.
Syntax
clear vlan vlan-id [port port-list [tag tag-value]]
Defaults
None.
Access
Enabled.
Usage
If you do not specify a port-list, the entire VLAN is removed from the configuration.
Caution! When you remove a VLAN, WSS Software completely removes the VLAN
from the configuration and also removes all configuration information that uses the VLAN.
If you want to remove only a specific port from the VLAN, make sure you specify the port
number in the command.
vlan-id VLAN name or number.
port port-list
List of physical ports. WSS Software removes the specified ports from the
VLAN. If you do not specify a list of ports, WSS Software removes the
VLAN entirely.
tag tag-value
Tag number that identifies a virtual port. WSS Software removes only the
specified virtual port from the specified physical ports.
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-list option.