日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

IGRP協(xié)議的基本配置( 二 )


interface Serial 1
 ip address 172.16.23.3 255.255.255.0
 bandwidth 64
!
router igrp 100
 network 172.16.0.0
!
ip classless
ip http server
!
line con 0
 logging synchronous
 transport input none
line aux 0
line vty 0 4
!
end
第4段:show和debug
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:59, Serial0
[100/160250] via 172.16.13.3, 00:00:30, Serial1
I 172.16.2.0 [100/22100] via 172.16.12.2, 00:00:59, Serial0
I 172.16.3.0 [100/22100] via 172.16.13.3, 00:00:30, Serial1
R1#
Term_Server>2
[Resuming connection 1 to R2 ... ]
R2#sh ip route igrp
 172.16.0.0/24 is subnetted, 6 subnets
I 172.16.13.0 [100/24000] via 172.16.12.1, 00:00:21, Serial0
I 172.16.1.0 [100/22100] via 172.16.12.1, 00:00:21, Serial0
I 172.16.3.0 [100/24100] via 172.16.12.1, 00:00:21, Senal0
R2#
Term_Server>3
[Resuming connection 1 to R3 ... ]
R3#sh ip route igrp
 172.16.0.0/24 is subnetted, 6 subnets
I 172.16.12.0 [100/24000] via 172.16.13.1, 00:00:47, Serial0
I 172.16.1.0 [100/22100] via 172.16.13.1, 00:00:47, Serial0
I 172.16.2.0 [100/24100] via 172.16.13.1, 00:00:47, Serial0
R3#sh ip prof
Routing Protocol is "igrp 100"
 Sending updates every 90 seconds, next due in 25 seconds
 Invalid after 270 seconds, hold down 280, flushed after 630
 Outgoing update filter list for all interfaces is
 Incoming update filter list for ail interfaces is
 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 maximum hopcount 100
 IGRP maximum metric variance 1
 Redistributing: igrp 100
 Routing for Networks:
172.16.0.0
 Routing Information Sources:
 GatewayDistanceLast Update
 172.16.23.2100 00:00:28
 172.16.13.1100 00:00:09
 Distance: (default is 100)
 
R3#ping 172.16.12.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:
!!!!!
SUCcess rate is 1 (X) percent (5/5), round-trip min/avg/max == 8/12/28 ms
R3#trace 172.16.12.1
Type escape sequence to abort.
Tracing the route to 172.16.12.1
1 172.16.13.1 4 msec 4 msec *
(1)與RIP協(xié)議配置不同的是,在IGRP協(xié)議的配置申,我們沒有一步步地給出配置過(guò)程,而是給出了操作完成后的配置清單 。通過(guò)各路由器的配置清單可以清楚地了解到它們的配置 。
(2)bandwidth500命令設(shè)置對(duì)應(yīng)接口的速率為500kbit/s,bandwidth64則設(shè)置對(duì)應(yīng)接口速率為64kbit/s 。在RIP協(xié)議的配置中,這個(gè)命令對(duì)于路由選擇沒有實(shí)際意義,因?yàn)镽IP是以跳數(shù)為惟一度量值的;而對(duì)IGRP協(xié)議,這個(gè)命令很重要,只有加入這個(gè)命令,所計(jì)算出的路由表才能真實(shí)反映不同路徑的帶寬情況 。帶寬是IGRP協(xié)議的度量值之一 。
(3)使用router igrp命令創(chuàng)建IGRP路由進(jìn)程,后面的"100"是自治系統(tǒng)號(hào) 。3個(gè)路由器必須具有相同的自治系統(tǒng)號(hào),否則彼此的路由信息將不被互相傳遞和學(xué)司 。
(4)聲明網(wǎng)段的方法與RIP相同,即使用network命令,后面寫入網(wǎng)絡(luò)地址 。
(5)在第4段中,使用show ip route igrp命令單獨(dú)顯示了各路由器上由IGRP學(xué)習(xí)到的路由表項(xiàng) 。
在[100/24100]、[100/160250]的100是IGRP協(xié)議的治理距離,24100和160250是對(duì)應(yīng)表項(xiàng)的度量值 (Metric),度量值越小表明對(duì)應(yīng)的路徑越好 。
(6)show ip protocol命令顯示了IGRP協(xié)議的配置信息和統(tǒng)計(jì)信息 。其中有各種計(jì)日寸器信息、所路由的網(wǎng)絡(luò)、路由信息源、缺省治理距離等信息 。IGI讓的默認(rèn)治理距離是100 。

推薦閱讀