以一边为例
LSW3
<Huawei>sys
[Huawei]undo info en//关闭提示
[Huawei]vlan batch 13 24
[Huawei] int e0/0/2
[Huawei-Ethernet0/0/2]port link-type a
[Huawei-Ethernet0/0/2] port de vlan 13
[Huawei-Ethernet0/0/2] q//退出
[Huawei] int e0/0/3
[Huawei-Ethernet0/0/3]port link-type a
[Huawei-Ethernet0/0/3]port de vlan 24
[Huawei-Ethernet0/0/3] q
[Huawei] int e0/0/1
[Huawei-Ethernet0/0/1] port link-type trunk
[Huawei-Ethernet0/0/1] port tr all vlan all
[Huawei-Ethernet0/0/1] disp vlan//查看配置
[Huawei]q
<Huawei>save//保存
y
LSW4同理
LSW1
<Huawei>sys
[Huawei]undo info en
[Huawei]vlan batch 13 24
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type tr
[Huawei-GigabitEthernet0/0/2]port tr all vlan all
[Huawei-GigabitEthernet0/0/2]q
[Huawei]int g0/0/3
[Huawei-GigabitEthernet0/0/3]port link-type tr
[Huawei-GigabitEthernet0/0/3]port tr al vlan all
[Huawei-GigabitEthernet0/0/3]q
[Huawei]disp vlan
[Huawei] int vlan 13
[Huawei-Vlanif] ip address 192.168.13.254 24//看题目所给的网关,ip和掩码配置
[Huawei-Vlanif13] q
[Huawei] int vlan 24
[Huawei-Vlanif24] ip add 192.168.24.254 24
[Huawei-Vlanif24] q
[Huawei]vlan 99//按要求的配置来
[Huawei-vlan99] q
[Huawei] int vlan 99
[Huawei-Vlanif99] ip address 200.1.1.241 30//按题目所给的ip和掩码进行子网划分
[Huawei-Vlanif99] q
[Huawei] int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type a
[Huawei-GigabitEthernet0/0/1]port de vlan 99
[Huawei-GigabitEthernet0/0/1]q
[Huawei]rip
[Huawei-rip-1]v 2
[Huawei-rip-1] net 200.1.1.0//看ip属于哪一类
[Huawei-rip-1] net 192.168.13.0
[Huawei-rip-1] net 192.168.24.0
[Huawei-rip-1] q
[Huawei]q
<Huawei>save
y
AR1
<Huawei>sys
[Huawei]undo info en
[Huawei] int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 200.1.1.242 30
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 200.1.1.245 30
[Huawei-GigabitEthernet0/0/0]q
[Huawei]rip
[Huawei-rip-1]version 2
[Huawei-rip-1] network 200.1.1.0
[Huawei-rip-1]q
[Huawei]
右边的配置与左边大差不差可以自己练习,最后打开PC1尝试与PC6是否ping通