Chapter4ServiceConguration
4.5.2setvlanaddport
Purpose
ThiscommandaddsportstoVLANsandcongurestheattributeoftheportsintheVLANs.
CommandMode
Globalcongurationmode
Syntax
setvlan<vlanlist>addport<portlist>[untag|tag]
ParameterDescription
ParameterDescription
<vlanlist>VLANlist.
<portlist>Portlist.
tagPorttagisaddedtoVLANs.
untagPortuntagisaddedtoVLANs.
Default
Theattributeoftheaddedportsisuntag.
Example
Thefollowingexampleaddstagports2,8,9,10and18toVLANs1,5,6,7and12:
zte(cfg)#setvlan1,5-7,12addport2,8-10,18tag
4.5.3setvlandeleteport
Purpose
ThiscommanddeletesportsfromVLANs.
CommandMode
Globalcongurationmode
Syntax
setvlan<vlanlist>deleteport<portlist>
4-79
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential