《H3C单臂路由配置实例.docx》由会员分享,可在线阅读,更多相关《H3C单臂路由配置实例.docx(2页珍藏版)》请在三一办公上搜索。
1、H3C单臂路由配置实例H3C单臂路由配置 H3c交换机配置 system-view H3Cvlan 10 /创建VLAN 10 H3C-vlan10port e1/0/1 /把端口e1/0/1划给VLAN 10 H3C-vlan10quit H3Cvlan 20 /创建VLAN 10 H3C-vlan20port e1/0/2 /把端口e1/0/1划给VLAN 10 H3Cint e1/0/3 H3C-Ethernet1/0/3port link-type trunk /设置e1/0/3端口为Trunk口 H3C-Ethernet1/0/3port trunk permit vlan all
2、/允许所有VLAN通过 路由器配置 system-view H3Cint g0/0.1 /进入g0/0子接口1 H3C-GigabitEthernet0/0.1ip address 192.168.10.1 255.255.255.0 /配置子接口IP地址 H3C-GigabitEthernet0/0.1vlan-type dot1q vid 10 /子接口封装为dot1q协议并分配给VLAN 10 H3C-GigabitEthernet0/0.1quit H3Cint g0/0.2 H3C-GigabitEthernet0/0.2vlan-type dot1q vid 20 H3C-GigabitEthernet0/0.2ip address 192.168.20.1 255.255.255.0