1、实验拓扑图
2、配置命令:
AR6:
<Huawei>system-view
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip addr 192.168.1.100 24
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip addr 192.168.12.1 24
[Huawei]rip 1
[Huawei-rip-1]network 192.168.1.0
[Huawei-rip-1]network 192.168.12.0
AR7:
<Huawei>system-view
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip addr 192.168.12.2 24
[Huawei]interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1]ip addr 192.168.23.1 24
[Huawei]rip 1
[Huawei-rip-1]network 192.168.12.0
[Huawei-rip-1]network 192.168.23.0
AR8:
<Huawei>system-view
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip addr 192.168.23.2 24
[Huawei]interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1]ip addr 192.168.3.100 24
[Huawei]rip 1
[Huawei-rip-1]network 192.168.23.0
[Huawei-rip-1]network 192.168.3.0
来源:https://www.cnblogs.com/cyz123/p/11283299.html