1. 进入华为S2300交换机配置界面并给交换机命名
[Mill2meetingroom-S2300]vlan batch 2 to 21
Please wait...
Done. // 添加 VLAN 2 到 VLAN 21(VLAN 1 为默认 VLAN)[Mill2meetingroom-S2300]port-group accessmeetingroom //建立端口组accessmeetingroom
[Mill2meetingroom-S2300-port-group-accessmeetingroom]group-member Ethernet 0/0/1
to Ethernet 0/0/22 //添加组成员1到22号端口
[Mill2meetingroom-S2300-port-group-accessmeetingroom]port link-type access
Execute command [port link-type access ] for port [Ethernet0/0/1] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/2] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/3] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/4] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/5] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/6] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/7] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/8] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/9] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/10] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/11] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/12] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/13] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/14] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/15] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/16] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/17] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/18] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/19] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/20] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/21] is finished.
Execute command [port link-type access ] for port [Ethernet0/0/22] is finished.
[Mill2meetingroom-S2300-port-group-accessmeetingroom]quit //设置成功后退出端口组配置
[Mill2meetingroom-S2300-vlan7]port ethernet 0/0/1 to 0/0/16 //把</