资料简介:
R01(config)#router igrp 1R01(config-router)#network 1.0.0.0
R01(config-router)#network 12.0.0.0
R01(config-router)#network 13.0.0.0
R01(config-router)#end //*使用IGRP宣告1.0.0.0/24、12.0.0.0/24和13.0.0.0/24三个网段
%SYS-5-CONFIG_I: Configured from console by console
R01#show ip protocols
Routing Protocol is "igrp 1"
Sending updates every 90 seconds, next due in 62 seconds
Invalid after 270 seconds, hold down 280, flushed after 630
//*和RIP类似。具体的更新时间和丢弃路由时间
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
//*IGRP的度量值和RIP不一样。RIP仅和路由经过的跳数有关,而IGRP要考虑五个参数:带宽、延迟、负载、可靠性、MTU
IGRP maximum hopcount 100
IGRP maximum metric variance 1
Redistributing: igrp 1
Routing for Networks:
1.0.0.0
12.0.0.0
13.0.0.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 100) //*IGRP的默认管理距离是100
//*以同样的方法将R02、R03的网段宣告
R02(config)#router igrp
R02(config)#router igrp 1
R02(config-router)#network 2.0.0.0
R02(config-router)#network 12.0.0.0
R02(config-router)#end
R03(config)#router igrp 1
R03(config-router)#network 3.0.0.0
R03(config-router)#network 13.0.0.0
R03(config-router)#end
共3条评论