Huawei-arm use routing, RIP and static routing protocols.

The following diagram, the IP with a good:

Huawei-arm use routing, RIP and static routing protocols.

R1 routing configuration:
<R1> System-View
interface 0/0/0 et Enter interface
interface et 0/0 / 0.1 to enter the sub-interface
dot1q termination vid 4 dot1q encapsulation protocol, the sub-interface. 4 corresponds VLAN
IP address 192.160.4.254 24 disposed sub-interface IP address and subnet mask
arp broadcast enable the ARP broadcast opener interface

interface et 0/0/0
interface et 0/0/0.2
dot1q termination vid 5
ip address 192.160.5.254 24
arp broadcast enable
Huawei-arm use routing, RIP and static routing protocols.

<SW5 is> System View-
VLAN. 5. 5 create VLAN
VLAN. 4
VLAN. 3
VLAN 2
VLAN. 1
(BATCH VLAN. 5. 4. 3. 1 2,. 1 to BATCH VLAN. 5) to create a continuous 2. 3. 4. 5. 1 VLAN
interface into the GI 0/0/2 Interface
port link-type access port type is provided Access
port default vlan 4 interface is divided into vlan 4

interface gi 0/0/3 进入接口
port link-type access 设置端口类型为access
port default vlan 5 将接口划分到vlan 5
也可以一起加端口。
port-group g2
group-member gi 0/0/5 to gi 0/0/9 选择5~9 端口
port link-type access 接口为access口,显示5~9口设置为access类型
port default vlan 2 端口组所有端口加入vlan2.
Huawei-arm use routing, RIP and static routing protocols.

display vlan 查看所有vlan 情况
Huawei-arm use routing, RIP and static routing protocols.

interface gi 0/0/1
port link-type trunk 设置端口为trunk (必须设置成trunk才能跑多个vlan)
port trunk allow-pass vlan all (允许所有的vlan通过)
Port trunk allow-pass vlan 2 允许单个VLAN2 通过

多个端口捆绑做trunk
port-group g6
[SW5-port-group-g6]group-member gi 0/0/1 to gi 0/0/3 选择1,2,3端口
port link-type trunk 端口G0 /0/1~G0/0/3 加入trunk.
允许所有VLAN通过:port trunk allow-pass vlan all

配置好PC4和PC5的IP。2边可以互通了。
单臂路由、VLAN、trunk 都做好了。

Huawei-arm use routing, RIP and static routing protocols.

R2 configuration of IP
configuration of R3 and allotting IP and IP interfaces
configuration of vlan SW6, trunk,
arranged as above.

Huawei-arm use routing, RIP and static routing protocols.

Huawei-arm use routing, RIP and static routing protocols.

Guess you like

Origin blog.51cto.com/14148388/2450036