扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
1.实验目的
通过本实验,读者可以掌握以下技能
使用有关IGRP的Debug命令;
配置最大路径数。
配置不等度量值的负载均衡;
配置负载均衡方式,
监测IGRP相关信息。
2.设备需求和拓扑结构
本实验是在实验3的基础上进行的,其设备需求和网络拓扑结构与实验3完全相同。网络拓扑结构如图5-5所示。
3. 实验配置及监测结果
在实验3配置成功的基础上开始本实验的操作,监测清单5-3记录了EGRP协议高级配置项目及监测信息。
监测清单5-3 IGRP协议的高级配置
第1段:监测IGRP路由更新
R3#conft
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#logg con
R3(config)#^Z
R3#
00:56:43: %SYS-5-CONFIG_1: Configured from console by console
R3#debug ip igrp ?
events IGRP protocol events
transactions IGRP protocol transactions
R3#debug ip igrp events
IGRP event debugging is on
R3#
00:57:01: IGRP: received updatefrom 172.16.23.2 on Serial1
00:57:01: IGRP: Update contains 5 interior,0 system, and 0 exterior routes.
00:57:01: IGRP: Total routes in. update:5
R3#
00:57:28: IGRP: received update from 172.16.13.1 on SerialO
00:57:28: IGRP: Update contains 3 interior, 0 system, and 0 exterior routes.
00:57:28: IGRP: Total routes in update: 3
R3#
00:58:01: IORP: sending update to 255.255.255.255 via Ethernet0(172.16.3.3)
00:58:01: IGRP: Update contains 5 interior,0 system,and 0 exterior routes.
00:58:01: IGRP: Total routes inupdate:5
00:58:01: IGRP: sending update to 255.255.255.255 via Serial0 (172.16.13.3)
00:58:02: IGRP: Update contains 2 interior, 0 system, and 0 exterior routes.
00:58:02: IGRP: Total routes in update: 2
00:58:02: IGRP: sending update to 255.255.255.255 via Seriall (172.16.23.3)
00:58:02: IGRP: Update contains 5 interior, 0 system, and 0 exterior routes.
00:58:02: IGRP: Total routes in update: 5
R3#undebug all
All possible debugging has been turned off
R3#debug ip lgrp transactions
IGRP protocol debugging is on
00:58:44: IGRP: received update from 172.16,13.1 on
00:58:44: subnet 172.16.12.0, 24000 (neighbor 22000)
00:58:44: subnet 172.16.1.0, metric 22100 (neighbor 1100)
00:58:44: subnet 172,16.2.0. metric 24100 (neighbor 22100)
R3#
00:59:31: IGRP: sending update to 255.255.255.255 viaBtliemetO(172.16.3.3)
00:59:31: subnet 172.16,23.0, metric=158250
00:59:31: subnet 172.16.12.0, metric=24000
00:59:31: subnet 172.16.13.0 metric=22000
00:59:31: subnet 172.16.1A metric=22100
00:59:31: subnet 172.16.2.0, metric=24100
00:59:32: IGRP: sending update to 255.255.255.255 via (172.16.13.3)
00:59:32: subnet 172.16.23.0, metric==158250
00:59:32: subnet 172.16.3.0, metrical 100
00:59:32: IGRP: sending update to 255.255.255.255 via Serial1 (172,16.23.3)
00:59:32: subnet 172.16.12.0. metric=24000
00:59:32: subnet 172.16.13.0,
R3#
00:59:32: subnet 172.16.1.0, metric=22100
00:59:32: subnet 172.16.2.0, metric=24100
00:59:32: subnet 172.16.3.0, metric=1100
R3#
00:59:34: IGRP: received update from 172.16.23.2 on Serial1
00:59:34: subnet 172.16.12.0, metric 160250 (neighbor 22000)
00:59:34: subnet 172.16.13.0, metric 162250 (neighbor 24000)
00:59:34: subnet 172,16.1.0, metric 160350 (neighbor 22100)
00:59:34: subnet 172.16.2.0, metric 158350 (neighbor 1100)
00:59:34: subnet 172.16.3.0, metric 162350 (neighbor 24100)
R3#undebug all
All possible debugging has been turned off
R3#
第2段:设置最大路径数
R1#sh ip route igrp
172.16.0.0/24 is subnetted, 6 subnets
I 172.16.23.0 [100/160250] via S72.16.12.2, 00:00:05, Serial0
[100/160250] via 172.16.13.3,00:00:04,
I 172.16.2.0 [100/22100] via 172.16.12.2, 00:00:05, Serial0
I 172.16.3.0 [100/22100] via 172.16.13.3, 00:00:04, Serial1
R1#conft
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router igrp 100
R1(config-router)#maximum-paths 1
R1(config-router)#^Z
R1#sh ip route igrp
172.16.0.0/24 is subnetted, 6 subnets
I 172.16.23.0 [100/160250] via 172.16.12.2, 00:00:06, Serial0
I 172.16.2.0 [100/22100] via 172.16.12.2, 00:00:06, Serial0
I 172.16.3.0 [100/22100] via 172.16.13.3, 00:00:05, Serial1
第3段:设置非等值Metric负载均衡
Term_Server>2
[Resuming connection 2 to R2 ... ]
R2#conft
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router igrp 100
R2(config-router)#variance 128
R2(config-router)#^Z
R2#de ip route *
R2#sh ip route igrp
I 172.16.13.0[100/24000]via 172.16.12.1,00:00:02,Serial0
[100/160250] via 172,16.23.3. 00:00:01, Serial1
I 172.16.1.0 [100/22100] via 172.16.12.1, 00:00:02, Serial0
I 172.16.3.0 [100/24100] via 172.16.12.1, 00:00:02, Serial0
[100/158350] via 172.16.23.3, 00:00:01, Serial1
R2#
R2#tracel72.16.3.3
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者