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
quit


Switch 配置

vlan 10
port e1/0/1
qu

vlan 20
port e1/0/2
qu

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
port link-type access
port access permit vlan all

posted @   农夫三拳L  阅读(888)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示