一、网络拓扑:

 

 

二、帧中继全链接-RIP默认配置

 1、帧中继交换机配置:

 

 

 2、配置路由器帧中继接口

AR1:

<Huawei>sys
[Huawei]undo info en
[Huawei]user con 0
[Huawei-ui-console0]idle 0 0
[Huawei-ui-console0]q
[Huawei]sys AR1
[AR1]int s1/0/0
[AR1-Serial1/0/0]link-protocol fr
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y
[AR1-Serial1/0/0]ip add 123.0.0.1 24
[AR1-Serial1/0/0]int lo 0
[AR1-LoopBack0]ip add 192.1.1.1 24

AR2:

<Huawei>sys
[Huawei]undo info en
[Huawei]user con 0
[Huawei-ui-console0]idle 0 0
[Huawei-ui-console0]q
[Huawei]sys AR2
[AR1]int s1/0/0
[AR1-Serial1/0/0]link-protocol fr
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y
[AR1-Serial1/0/0]ip add 123.0.0.2 24
[AR1-Serial1/0/0]int lo 0
[AR1-LoopBack0]ip add 192.1.2.1 24

AR3:

<Huawei>sys

[Huawei]undo info en

[Huawei]user con 0

[Huawei-ui-console0]idle 0 0

[Huawei-ui-console0]q

[Huawei]sys AR3

[AR1]int s1/0/0

[AR1-Serial1/0/0]link-protocol fr

Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y

[AR1-Serial1/0/0]ip add 123.0.0.3 24

[AR1-Serial1/0/0]int lo 0

[AR1-LoopBack0]ip add 192.1.3.1 24

3、路由配置(RIPv2协议)

AR1:

[AR1]rip
[AR1-rip-1]ver 2
[AR1-rip-1]net 123.0.0.0
[AR1-rip-1]net 192.1.1.0

AR2:

[AR2]rip
[AR2-rip-1]ver 2
[AR2-rip-1]net 123.0.0.0
[AR2-rip-1]net 192.1.2.0

AR3:

[AR3]rip
[AR3-rip-1]ver 2
[AR3-rip-1]net 123.0.0.0
[AR3-rip-1]net 192.1.3.0

4、验证配置:

 

 在图中出现了多余的路由信息【红框】这是在华为的路由器串行接口启用【帧中继协议后,将接口的水平分割关闭了】

5、剔除多余路由【分别在三个路由器的S1/0/0接口-rip  split-horizon  启用接口的rip水平分割

 

posted on 2022-10-16 17:51  湘雷公  阅读(398)  评论(0编辑  收藏  举报