Huawei multi-switch trunk.rip application network-wide interoperability. And build a server.
Using eNSP to build experimental environment
I. PC 192.168.10.254 gateway 192.168.10.254 as a deduction
Two: sw7 configuration (port plus vlan)
[Huawei] vlan batch 10 20
[Huawei] int eth0/0/3
Huawei-Ethernet0/0/3] undo shutdown
[Huawei-Ethernet0/0/3] port link-type access
[Huawei-Ethernet0/0/3] port default valn 10
[Huawei] int eth 0/0/2
[Huawei-Ethernet0/0/2] port link-type access
[Huawei-Ethernet0/0/2] port default valn 20
[Huawei-Ethernet0/0/1] int eth 0/0/1
[Huawei-Ethernet0/0/1] port link-type trunk
[Huawei-Ethernet0/0/1] port trunk allow-pass valn all
Three: sw8 configuration
[sw8] vlan 10
[sw8] int eth0/0/2
[sw8-Ethernet0/0/2] undo shutdown
[sw8-Ethernet0/0/2] port link-type access
[sw8-Ethernet0/0/2] port default vlan 10
[sw8] int eth0/0/1
[sw8-Ethernet0/0/1] port link-type trunk
[sw8-Ethernet0/0/1] port trunk allow-pass vlan all
Three: sw10 configuration
[sw10] vlan 40
[sw10-vlan40] int eth0/0/2
[sw10-Ethernet0/0/2] port link-type a
[sw10-Ethernet0/0/2] port link-type access
[sw10-Ethernet0/0/2] port default vlan 40
[sw10-Ethernet0/0/2] undo shutdown
Info: Interface Ethernet0/0/2 is not shutdown.
[sw10-Ethernet0/0/2] q
[sw10] int eth0/0/3
[sw10-Ethernet0/0/3] undo shutdown
[sw10-Ethernet0/0/3] port link-type access
[sw10-Ethernet0/0/3] port default vlan 40
[sw10-Ethernet0/0/4] undo shutdown
[sw10-Ethernet0/0/4] port link-type access
[sw10-Ethernet0/0/4] port default vlan 40
[sw10] int eth0/0/1
[sw10-Ethernet0/0/1] port link-type trunk
[sw10-Ethernet0/0/1] port trunk allow-pass vlan all
[sw10-Ethernet0/0/1] undo shutdown
Fourth, sw9 configuration (sw9.10trunk)
[sw9] vlan batch 30 40 50
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw9] int vlan 30
[sw9-Vlanif30] undo shutdown
Info: Interface Vlanif30 is not shutdown.
[sw9-Vlanif30] ip add 192.168.30.254 24
[sw9-Vlanif30] q
[sw9] int vlan 50
[sw9-Vlanif50] ip add 192.168.50.2 24
[sw9-Vlanif50] q
[sw9] int vlan 40
[sw9-Vlanif40] undo shutdown
[sw9-Vlanif40] ip add 192.168.40.254 24
[sw9-Vlanif40] q
[sw9] int g0/0/1
[sw9-GigabitEthernet0/0/1] undo shutdown
[sw9-GigabitEthernet0/0/1] port link-type trunk
[sw9-port-group-trunk] port trunk allow-pass vlan all
[sw9-port-group-trunk] q
[sw9] int g0/0/2
[sw9-GigabitEthernet0/0/2] port link-type trunk
[sw9-GigabitEthernet0/0/2] port trunk allow-pass vlan all
[sw9-GigabitEthernet0/0/2] undo shutdown
[sw9-GigabitEthernet0/0/2] q
[sw9] rip
[sw9-rip-1] version 2
[sw9-rip-1] network 192.168.30.0
[sw9-rip-1] network 192.168.40.0
[sw9-rip-1] network 192.168.50.0
Fifth, Sw6 configuration (sw6.9, 6.8, 6.7trunk)
[sw6] vlan batch 10 20 30 50
[sw6-GigabitEthernet0/0/3] undo shutdown
[sw6-GigabitEthernet0/0/3] port link-type trunk
[sw6-GigabitEthernet0/0/3] port trunk allow-pass vlan all
[sw6-GigabitEthernet0/0/3] q
[sw6] int g0/0/4
[sw6-GigabitEthernet0/0/4] port link-type trunk
[sw6-GigabitEthernet0/0/4] port trunk allow-pass vlan all
[sw6-GigabitEthernet0/0/4] undo shutdown
[sw6-GigabitEthernet0/0/4] q
[sw6] int vlan 10
[sw6-Vlanif10] ip add 192.168.10.254 24
[sw6-Vlanif10] undo shutdown
[sw6-Vlanif10] q
[sw6] int vlan 20
[sw6-Vlanif20] und shutdown
Info: Interface Vlanif20 is not shutdown.
[sw6-Vlanif20] ip add 192.168.20.254 24
[sw6-Vlanif20] q
[sw6] int g0/0/5
[sw6-GigabitEthernet0/0/5] port link-type access
[sw6-GigabitEthernet0/0/5] port link-type trunk
[sw6-GigabitEthernet0/0/5] port trunk allow-pass vlan all
[sw6-GigabitEthernet0/0/5] q
[sw6-GigabitEthernet0/0/5] undo shutdown
[sw6] int g0/0/1
[sw6-GigabitEthernet0/0/1] port link-type access
[sw6-GigabitEthernet0/0/1] port default vlan 30
[sw6-GigabitEthernet0/0/1] undo shutdown
[sw6-GigabitEthernet0/0/1] q
[sw6] int g0/0/2
[sw6-GigabitEthernet0/0/2] undo shutdown
[sw6-GigabitEthernet0/0/2] port link-type access
[sw6-GigabitEthernet0/0/2] port default vlan 30
[sw6] int vlan 50
[sw6-Vlanif50] undo shutdown
[sw6-Vlanif50] ip add 192.168.50.1 255.255.255.0
[sw6] rip
[sw6-rip-1] ver
[sw6-rip-1] version 2
[sw6-rip-1] network 192.168.10.0
[sw6-rip-1] network 192.168.20.0
[sw6-rip-1] network 192.168.30.0
[sw6-rip-1] network 192.168.50.0
Six. interconnection of the whole network