# 将接口Eth2/0/1~Eth2/0/5批量加入VLAN10。通过端口组批量将接口加入VLAN
(#`′)凸 [HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 //把接口GigabitEthernet0/0/1加入VLAN 10 Hybrid接口加入VLAN
2、将接口划入vlan [sw1]interface GigabitEthernet 0/0/1 [sw1-GigabitEthernet0/0/1]port link-type access ---修改链路类型为Access [sw1-GigabitEthernet0/0/1]port default vl将端口加入VLAN的命令格式如下:Switch(config)# interface interface-id Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan vlan-id