86 VLAN CommandsNN47250-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 theclear 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_airsuccess: change accepted.See Also• clear security l2-restrict on page 75• set security l2-restrict on page 78• show security l2-restrict on page 87clear vlanRemoves 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 VLANfrom 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 portnumber in the command.vlan-id VLAN name or number.port port-list List of physical ports. WSS Software removes the specified ports from theVLAN. If you do not specify a list of ports, WSS Software removes theVLAN entirely.tag tag-value Tag number that identifies a virtual port. WSS Software removes only thespecified virtual port from the specified physical ports.Note. You cannot delete the default VLAN but you can remove ports from it. To removeports from the default VLAN, use the port port-list option.