1、win7通过超级终端进入H3C交换机,端口设置需要修改
2、输入sys进入配置模式
3、进入24端口(在输入命令时按Tab键会智能补全命令) [H3C]interface GigabitEthernet 1/0/24
4、设置24端口为trunk口
[H3C-GigabitEthernet 1/0/24]port link-type trunk
[H3C-GigabitEthernet 1/0/24]port trunk permit vlan all [H3C-GigabitEthernet 1/0/24]quit
5、进入端口1,设置端口1为vlan101 [H3C]interface GigabitEthernet 1/0/1
[H3C-GigabitEthernet 1/0/1]port access vlan 101 [H3C-GigabitEthernet 1/0/1]quit
6、进入端口2,设置端口2为vlan102 [H3C]interface GigabitEthernet 1/0/2
[H3C-GigabitEthernet 1/0/1]port access vlan 102 [H3C-GigabitEthernet 1/0/1]quit