Cu Hình IGRP Timer

Một phần của tài liệu Quản trị mạng lan wan CCNA trọn bộ phần 1 (Trang 90 - 96)

1. Mô t bài lab:

Bài lab sau đây s d ng l nh đ c u hình 4 thơng s c a v timer c a IGRP bao g m update, invalid,holddown và flus timers). Tùy thu c vào s đ m ng và b ng thông , môi tr ng m ng mà chúng ta c u hình sao cho thơng s này phù h p nh t. L y m t ví d sau đây n u s d ng đ ng truy n 56Kbps, thì vi c t o ra nh ng gói tin update IGRP trong vịng 90 giây là khơng h p lý, vì t n nhi u tài nguyên b ng thông c a h th ng, gi i pháp lúc này là t ng th i gian update lên tuy nhiên làm nh v y s nh h ng đ n th i gian h i t c a hê th ng.

Ngoài th i gian update(update timer) ra, trong IGRP cịn có 3 kho ng th i gian khác là invalid timer, holddown timer và flush timer. C 3 kho ng th i gian này ph thu c vào th i gian update timer. Invalid timer, holddown timer có th i gian ít nh t là g p 3 l n so v i th i gian update, flush timer có th i gian ít nh t b ng t ng th i gian update và th i gian holddown. Ph thu c vào m i l n route đ c c p nh p, invalid timer s đ c kh i t o l i, vì nó xem trong m ng có route nào b l i hay khơng. Theo c u hình m c đnh, thì n u nh trong kho ng th i gian 270s mà khơng th y thơng tin gì v 1 route đang t n t i thì route đó đ c đ y lên tr ng thái holdown, trong th i gian này router v n s d ng route này nh ng không qu n bá route này n a, ví nó đang đ i th xem route này có ph i là b t t th t hay không. N u th i gian expire h t router s không

Trong hình trên có 3 router g m VSIC1,VSIC2,VSIC3 đ c n i v i nhau thông qua cáp Serial. Sinh viên th c hành gán đa và c m cáp, sau đó s c u hình giao th c đnh tuy n IGRP nh trên. Ki m tra quá trình ho t đ ng giao th c b ng l nh show ip route và ping, sau đó b t tay vào c u hình các tham s timer( C u hình t i VSIC1 tr c và khơng c u hình t i VSIC3,VSIC2) và giám sát quá trình h at đ ng trên các router. Cu i cùng s c u hình các router VSIC3,VSIC2 có tham s gi ng nh VSIC1.( thêm vào)

Tham s c u hình t i VSIC1 Update 5

Invalid 15 Holddown 15 Flush 30

Khi xét các tham s này, vi c th c hi n c p nh p s th c hi n qu ng bá trong vịng 5s, và khi thơng tin v route khơng đ c c p nh p trong vịng 15s thì router s cơng b route đã b l i.( thêm vào).

2. C u hình Router:

VSIC Education Corporation Trang 91

VSIC1#show run

Building configuration...

Current configuration : 687 bytes !

hostname VSIC1 !

logging rate-limit console 10 except errors ! ip subnet-zero ! interface Loopback0 ip address 10.1.1.1 255.255.255.0 interface Ethernet0 no ip address shutdown ! interface Serial0 ip address 192.1.1.1 255.255.255.0 no fair-queue ! interface Serial1 no ip address shutdown ! router igrp 100 network 10.0.0.0 network 192.1.1.0 !

ip kerberos source-interface any

VSIC2#show run

Building configuration...

Current configuration : 884 bytes ! hostname VSIC2 ! interface Serial0 ip address 192.1.1.2 255.255.255.0 no fair-queue clockrate 64000 ! interface Serial1 no ip address shutdown ! interface Serial2

VSIC Education Corporation Trang 92 ip address 193.1.1.1 255.255.255.0 ! interface Serial3 no ip address shutdown ! interface TokenRing0 no ip address shutdown ! interface BRI0 no ip address shutdown isdn x25 static-tei 0 cdapi buffers regular 0 cdapi buffers raw 0 cdapi buffers large 0 !

router igrp 100 network 192.1.1.0 network 193.1.1.0 !

ip kerberos source-interface any ip classless ip http server ! ! ! line con 0

transport input none line aux 0 line vty 0 4 ! end VSIC3#show run Building configuration...

Current configuration : 706 bytes !

hostname VSIC3 !

logging rate-limit console 10 except errors !

ip subnet-zero no ip finger !

VSIC Education Corporation Trang 93 ip address 152.1.1.1 255.255.255.0 ! interface Serial0 ip address 193.1.1.2 255.255.255.0 no fair-queue clockrate 64000 ! interface Serial1 no ip address shutdown ! router igrp 100 network 152.1.0.0 network 193.1.1.0 ! end

Bây gi ta c u hình timer cho VSIC1 v i các thông s nh trên:

VSIC1#conf t

Enter configuration commands, one per line. End with CNTL/Z. VSIC1(config)#router igrp 100

VSIC1(config-router)#timer

VSIC1(config-router)#timers basisc 5 15 15 30

Xem k t qu show ip route trên VSIC1, ta th y lúc có route c a 2 VSIC3,VSIC2 lúc l i khơng có, nguyên nhân là do quá trình kh i t o update c a VSIC1 nhanh h n VSIC3,VSIC2

VSIC1#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route Gateway of last resort is not set

I 152.1.0.0/16 [100/91456] via 192.1.1.2, 00:00:03, Serial0 10.0.0.0/24 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, Loopback0

I 193.1.1.0/24 [100/90956] via 192.1.1.2, 00:00:03, Serial0 C 192.1.1.0/24 is directly connected, Serial0

VSIC1#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

VSIC Education Corporation Trang 94 * - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route Gateway of last resort is not set

10.0.0.0/24 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, Loopback0 C 192.1.1.0/24 is directly connected, Serial0

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

VSIC1#show ip route

Gateway of last resort is not set

I 152.1.0.0/16 [100/91456] via 192.1.1.2, 00:00:16, Serial0 10.0.0.0/24 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, Loopback0

I 193.1.1.0/24 [100/90956] via 192.1.1.2, 00:00:16, Serial0 C 192.1.1.0/24 is directly connected, Serial0

Bây gi ta thi t l p các tham s timer c a VSIC3,VSIC2 gi ng nh c a VSIC1, và sau đó ta th y giao th c ho t đ ng đnh tuy n tr l i bình th ng.

VSIC3#conf t

Enter configuration commands, one per line. End with CNTL/Z. VSIC3(config)#router igrp 100

VSIC3(config-router)#timer basic

VSIC3(config-router)#timer basic 5 15 15 30

VSIC2#conf t

Enter configuration commands, one per line. End with CNTL/Z. VSIC2(config)#router igrp 100

VSIC2(config-router)#timers basic 5 15 15 30

VSIC3#ping 10.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: !!!!!

VSIC Education Corporation Trang 96

BÀI 15:C U HÌNH IGRP LOAD BALANCING 1. Gi i thi u :

Một phần của tài liệu Quản trị mạng lan wan CCNA trọn bộ phần 1 (Trang 90 - 96)

Tải bản đầy đủ (PDF)

(127 trang)