PC端配置:打开接口,配置ip地址
交换机配置:①创建VLAN
system-view
vlan 10
vlan 20
②配置PC端接口
interface gi 1/0/1
port link-type access
port access vlan 10
③配置交换机接口
interface gi 1/0/48
port link-type trunk
port trunk permit vlan 10 20
2024-04-08 18:44:04
PC端配置:打开接口,配置ip地址
交换机配置:①创建VLAN
system-view
vlan 10
vlan 20
②配置PC端接口
interface gi 1/0/1
port link-type access
port access vlan 10
③配置交换机接口
interface gi 1/0/48
port link-type trunk
port trunk permit vlan 10 20