Specifications

5-6 VLAN Commands
clear vlan
RemovesphysicalorvirtualportsfromaVLANorremovesaVLANentirely.
Syntax
clearvlanvlanid[portportlist[tagtagvalue]]
Parameters
Defaults
None.
Mode
Enabled.
Usage
Ifyoudonotspecifyaportlist,theentireVLANisremovedfromtheconfiguration.
Examples
Thefollowingcommandremovesport1fromVLANgreen:
RBT-8100# clear vlan green port 1
This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y
success: change accepted.
Thefollowingcommandremovesport4,whichusestagvalue69,fromVLANred:
RBT-8100# clear vlan red port 4 tag 69
This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y
success: change accepted.
ThefollowingcommandcompletelyremovesVLANmarigold:
RBT-8100# clear vlan marigold
This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y
success: change accepted.
Caution: When you remove a VLAN, MSS 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.
vlanid VLANnameornumber.
port portlist Listofphys icalports.MSSremovesthespecifiedportsfromtheVLAN.If
youdonotspecifyalistofports,MSSremovestheVLANentirely.
tag tagvalue Tagnumberthatidentifiesavirtualport.MSSremovesonlythespecified
virtualportfromthe
specifiedphysicalports.
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.