4.5.2 set vlan add port
Purpose
This command adds ports to VLANs and configures the attribute of the ports in the VLANs.
Command Mode
Global configuration mode
Syntax
set vlan <vlanlist> add port <portlist>[untag | tag]
Parameter Description
Parameter
<vlanlist>
<portlist>
tag
untag
Default
The attribute of the added ports is untag.
Example
The following example adds tag ports 2, 8, 9, 10 and 18 to VLANs 1, 5, 6, 7 and 12:
zte(cfg)#set vlan 1,5-7,12 add port 2,8-10,18 tag
4.5.3 set vlan delete port
Purpose
This command deletes ports from VLANs.
Command Mode
Global configuration mode
Syntax
set vlan <vlanlist> delete port <portlist>
SJ-20130731155059-003|2013-11-27 (R1.0)
Description
VLAN list.
Port list.
Port tag is added to VLANs.
Port untag is added to VLANs.
4-79
Chapter 4 Service Configuration
ZTE Proprietary and Confidential