天天看點

H3C單臂路由配置

Route配置

int g0/0.1

ip add 192.168.10.1 255.255.255.0

vlan-type dot1q vid 10 #子接口封裝dot1q并配置設定給VLAN 10

quit

int g0/0.2

ip add 192.168.20.1 255.255.255.0

vlan-type dot1q vid 20 #子接口封裝dot1q并配置設定給VLAN 20

Switch 配置

vlan 10

port e1/0/1

qu

vlan 20

port e1/0/2

int e1/0/50

port link-type trunk

port trunk permit vlan all

int e1/0/1

port link-type access

port access permit vlan all

int e1/0/2

繼續閱讀