Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 92 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
92
Dung lượng
4,34 MB
Nội dung
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 1
Mc lc
MODULE 2: EIGRP 2
MODULE 3: OSPF 18
MODULE 4: ISIS 45
MODULE 5: MANIPULATE ROUTING UPDATE 54
MODULE 6 : BGP 65
MODULE 7 : MULTICAST 80
MODULE 8: IPV6 84
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 2
MODULE 2: EIGRP
Mc tiêu:
Cu hình EIGRP gia R1 và R2, qung bá tt c interface ngoi tr 2 interface Loopback 4
trên R1 và Loopback32 trên R2 bng cách s dnh lnh network trên R1 và R2
Hng dn:
Cu hình đa ch ip interface E0/0 ca R1 là: 12.0.0.1/8
Cu hình đa ch ip interface E0/0 ca R2 là: 12.0.0.2/8
Cu hình interface looback trên R1 và R2 nh hình v
Cu hình EIGRP AS1 trên R1 và R2
Cu hình R1 và R2 qung bá tt c interface ngoi tr Lo4 ca R1 và Lo32 ca R2
Cu hình:
R1:
interface Loopback0
ip address 1.1.1.0 255.255.255.255
!
interface Loopback1
ip address 1.1.1.1 255.255.255.255
!
interface Loopback2
ip address 1.1.1.2 255.255.255.255
!
interface Loopback3
ip address 1.1.1.3 255.255.255.255
!
interface Loopback4
ip address 1.1.1.4 255.255.255.255
!
interface Ethernet0/0
ip address 12.0.0.1 255.0.0.0
!
router eigrp 1
network 1.1.1.0 0.0.0.3
network 12.0.0.1 0.0.0.0
no auto-summary
R2:
interface Loopback24
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 3
ip address 2.2.2.24 255.255.255.255
!
interface Loopback25
ip address 2.2.2.25 255.255.255.255
!
interface Loopback26
ip address 2.2.2.26 255.255.255.255
!
interface Loopback27
ip address 2.2.2.27 255.255.255.255
!
interface Loopback28
ip address 2.2.2.28 255.255.255.255
!
interface Loopback29
ip address 2.2.2.29 255.255.255.255
!
interface Loopback30
ip address 2.2.2.30 255.255.255.255
!
interface Loopback31
ip address 2.2.2.31 255.255.255.255
!
interface Loopback32
ip address 2.2.2.32 255.255.255.255
!
interface Ethernet0/0
ip address 12.0.0.2 255.0.0.0
!
router eigrp 1
network 2.2.2.24 0.0.0.7
network 12.0.0.2 0.0.0.0
no auto-summary
Kim tra:
R1#show ip route
Codes: C - connected, S - static, 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
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
1.0.0.0/32 is subnetted, 5 subnets
C 1.1.1.1 is directly connected, Loopback1
C 1.1.1.0 is directly connected, Loopback0
C 1.1.1.3 is directly connected, Loopback3
C 1.1.1.2 is directly connected, Loopback2
C 1.1.1.4 is directly connected, Loopback4
2.0.0.0/32 is subnetted, 8 subnets
D 2.2.2.26 [90/409600] via 12.0.0.2, 00:00:35, Ethernet0/0
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 4
D 2.2.2.27 [90/409600] via 12.0.0.2, 00:00:35, Ethernet0/0
D 2.2.2.24 [90/409600] via 12.0.0.2, 00:00:35, Ethernet0/0
D 2.2.2.25 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0
D 2.2.2.30 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0
D 2.2.2.31 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0
D 2.2.2.28 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0
D 2.2.2.29 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0
C 12.0.0.0/8 is directly connected, Ethernet0/0
R1#
R2#show ip route
Codes: C - connected, S - static, 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
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
1.0.0.0/32 is subnetted, 4 subnets
D 1.1.1.1 [90/409600] via 12.0.0.1, 00:00:49, Ethernet0/0
D 1.1.1.0 [90/409600] via 12.0.0.1, 00:00:49, Ethernet0/0
D 1.1.1.3 [90/409600] via 12.0.0.1, 00:00:49, Ethernet0/0
D 1.1.1.2 [90/409600] via 12.0.0.1, 00:00:49, Ethernet0/0
2.0.0.0/32 is subnetted, 9 subnets
C 2.2.2.26 is directly connected, Loopback26
C 2.2.2.27 is directly connected, Loopback27
C 2.2.2.24 is directly connected, Loopback24
C 2.2.2.25 is directly connected, Loopback25
C 2.2.2.30 is directly connected, Loopback30
C 2.2.2.31 is directly connected, Loopback31
C 2.2.2.28 is directly connected, Loopback28
C 2.2.2.29 is directly connected, Loopback29
C 2.2.2.32 is directly connected, Loopback32
C 12.0.0.0/8 is directly connected, Ethernet0/0
EIGRP Auto-Summary
Mc tiêu:
Cu hình EIGRP trên tt c interface ca R1 và R2. R1 s hc đc đa ch loopback ca R2
vi mask là /8, và ngc li R2 hc đc loopback ca R1 vi mask là /8. R1 và R2 hc đc
Interface Loopback 1 vi subnet mask nh hình v.
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 5
Hng dn:
Cu hình đa ch ip interface E0/0 R1 là 12.0.0.1/16
Cu hình đa ch ip interface E0/0 R2 là 12.0.0.2/16
Cu hình R1 vi đa ch ip interface loopback0 là 1.1.1.1/32 và interface loopback1 là
12.1.1.1/24
Cu hình R2 vi đa ch ip interface loopback0 là 1.1.1.1/32 và interface loopback1 là
12.2.2.2/24
Cu hình EIGRP AS 1 trên tt c interface ca R1 và R2
Cu hình:
R1:
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Loopback1
ip address 12.1.1.1 255.255.255.0
!
interface Ethernet0/0
ip address 12.0.0.1 255.255.0.0
!
router eigrp 1
network 0.0.0.0
auto-summary
R2:
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Loopback1
ip address 12.2.2.2 255.255.255.0
!
interface Ethernet0/0
ip address 12.0.0.2 255.255.0.0
!
router eigrp 1
network 0.0.0.0
auto-summary
Kim tra:
R1#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, su - IS-IS summary, 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
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.1/32 is directly connected, Loopback0
D 1.0.0.0/8 is a summary, 00:00:44, Null0
D 2.0.0.0/8 [90/409600] via 12.0.0.2, 00:00:44, Ethernet0/0
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 6
12.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
D 12.0.0.0/8 is a summary, 00:00:44, Null0
D 12.2.2.0/24 [90/409600] via 12.0.0.2, 00:00:44, Ethernet0/0
C 12.1.1.0/24 is directly connected, Loopback1
C 12.0.0.0/16 is directly connected, Ethernet0/0
R1#
R2#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, su - IS-IS summary, 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
D 1.0.0.0/8 [90/409600] via 12.0.0.1, 00:04:51, Ethernet0/0
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.2.2.2/32 is directly connected, Loopback0
D 2.0.0.0/8 is a summary, 00:07:38, Null0
12.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
D 12.1.1.0/24 [90/409600] via 12.0.0.1, 00:04:51, Ethernet0/0
D 12.0.0.0/8 is a summary, 00:07:38, Null0
C 12.2.2.0/24 is directly connected, Loopback1
C 12.0.0.0/16 is directly connected, Ethernet0/0
R2#
Tuning EIGRP Convergence Timers
Mc tiêu:
Cu hình EIGRP sao cho VLAN A có th kt ni ti VLAN B trong vòng 5 giây sau khi
đng frame-relay b down
Hng dn:
Cu hình đa ch IP ca R1, R2,R3 nh hình v
Cu hình Frame-relay s dng static map
Cu hình EIGRP AS 1 trên tt c interface ca R1,R2,R3
Cu hình Hello-interval 1 giây và hold-time 3 giâu trên R1 và R2
Cu hình:
R1:
interface Ethernet0/0
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 7
ip address 1.0.0.1 255.0.0.0
!
interface Serial0/0
ip address 12.0.0.1 255.255.255.0
ip hello-interval eigrp 1 1
ip hold-time eigrp 1 3
encapsulation frame-relay
frame-relay map ip 12.0.0.2 102 broadcast
!
interface Serial0/1
ip address 13.0.0.1 255.0.0.0
!
router eigrp 1
network 0.0.0.0
R2:
interface Ethernet0/0
ip address 2.0.0.2 255.0.0.0
!
interface Serial0/0
ip address 12.0.0.2 255.0.0.0
ip hello-interval eigrp 1 1
ip hold-time eigrp 1 3
encapsulation frame-relay
frame-relay map ip 12.0.0.1 201 broadcast
!
interface Serial0/1
ip address 23.0.0.2 255.0.0.0
!
router eigrp 1
network 0.0.0.0
R3:
interface Serial1/2
ip address 13.0.0.3 255.0.0.0
clock rate 64000
!
interface Serial1/3
ip address 23.0.0.3 255.0.0.0
clock rate 64000
!
router eigrp 1
network 0.0.0.0
Kim tra:
R1#ping 2.0.0.2 source ethernet0/0 repeat 1000 timeout 1
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 2.0.0.2, timeout is 1 seconds:
Packet sent with a source address of 1.0.0.1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Rack2AS>2
[Resuming connection 2 to r2 ]
R2(config)#interface serial0/0
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 8
R2(config-if)#shut
R2(config-if)#
Rack2AS>1
[Resuming connection 1 to r1 ]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!
%DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 12.0.0.2 (Serial0/0) is
down: holding time expired destroy peer: 12.0.0.2
RT: delete route to 2.0.0.0 via 12.0.0.2, eigrp metric [90/2195456]
RT: no routes to 2.0.0.0
RT: NET-RED 2.0.0.0/8
RT: NET-RED queued, Queue size 1
RT: delete network route to 2.0.0.0
RT: NET-RED 2.0.0.0/8
RT: NET-RED queued, Queue size 2
RT: add 2.0.0.0/8 via 13.0.0.3, eigrp metric [90/21049600]
RT: NET-RED 2.0.0.0/8
RT: NET-RED queued, Queue size 3
RT: !!!!!!!!!!!!!!!!!!delete route to 23.0.0.0 via 12.0.0.2, eigrp
metric [90/2681856]
RT: no routes to 23.0.0.0
RT: NET-RED 23.0.0.0/8
RT: NET-RED queued, Queue size 4
RT: delete network route to 23.0.0.0
RT: NET-RED 23.0.0.0/8
RT: NET-RED queued, Queue size 5
RT: add 23.0.0.0/8 via 13.0.0.3, eigrp metric [90/21024000]
RT: NET-RED 23.0.0.0/8
RT: NET-RED queued, Queue size 6!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!
Success rate is 99 percent (997/1000), round-trip min/avg/max =
4/23/68 ms
Cu Hình Chung
Mc tiêu:
Cu hình chung cho các bài Lab EIGRP phn sau:
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 9
Hng dn:
Cu hình đa ch IP nh hình v
ng Serial gia R4 và R5 đc đóng gói bng HDLC
Dùng interface vt lý và static mapping trên đng frame-relay
To interface loopback0 trên R4 và R5 vi IP là: 150.1.4.4/24 và 150.1.5.5/24
Cu hình EIGRP AS 100 trên R4 và R5 bao gm đng FR và serial
Qung bá interface loopback trên c 2 router vào EIGRP
Cu hình:
R4:
interface Serial0/0
ip address 155.1.0.4 255.255.255.0
encapsulation frame-relay
frame-relay map ip 155.1.0.5 405 broadcast
no frame-relay inverse-arp
no shutdown
!
interface Serial0/1
ip address 155.1.45.4 255.255.255.0
no shutdown
!
interface Loopback0
ip address 150.1.4.4 255.255.255.0
!
router eigrp 100
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 10
no auto-summary
network 150.1.4.4 0.0.0.0
network 155.1.0.4 0.0.0.0
network 155.1.45.4 0.0.0.0
R5:
interface Serial0/0
bandwidth 256
ip address 155.1.0.5 255.255.255.0
encapsulation frame-relay
frame-relay map ip 155.1.0.4 504 broadcast
no frame-relay inverse-arp
no shutdown
!
interface Serial0/1
bandwidth 64
ip address 155.1.45.5 255.255.255.0
clockrate 64000
no shutdown
!
interface Loopback0
ip address 150.1.5.5 255.255.255.0
!
router eigrp 100
no auto-summary
network 150.1.5.5 0.0.0.0
network 155.1.0.5 0.0.0.0
network 155.1.45.5 0.0.0.0
Kim tra:
R5#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 155.1.0.4 Se0/0 152 00:01:26 43 570 0 6
0 155.1.45.4 Se0/1 12 00:01:56 25 2280 0 7
R5#show ip route eigrp
150.1.0.0/24 is subnetted, 2 subnets
D 150.1.4.0 [90/10639872] via 155.1.0.4, 00:01:53, Serial0/0
Unequal-Cost Load-Balancing
Mc tiêu:
Cu hình unequal-cost load-balancing trên EIGRP
[...].. .Lab BSCI H Tài li u dành cho h c viên ng d n: C u hình router nh bài c u hình chung C u hình FR có bandwidth là256 kb/s và serial là 64kb/s Tính và c u hình variance trên R5 load-balance trên 2 ng C u... AS(100)/ID(150.1.5.5) Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status P 150.1.5.0/24, 1 successors, FD is 128256 VSIC Education Corporation Trang 11 Lab BSCI Tài li u dành cho h c viên via Connected, Loopback0 P 150.1.4.0/24, 1 successors, FD is 10639872 via 155.1.0.4 (10639872/128256), Serial0/0 via 155.1.45.4 (40640000/128256), Serial0/1 P 155.1.0.0/24,... 155.1.0.4, from 155.1.0.4, 00:00:05 ago, via Serial0/0 Route metric is 10639872, traffic share count is 80 Total delay is 25000 microseconds, minimum bandwidth is 256 Kbit VSIC Education Corporation Trang 12 Lab BSCI Tài li u dành cho h c viên Reliability 255/255, minimum MTU 1500 bytes Loading 1/255, Hops 1 Adjacency Authentication M c tiêu: C u hình ch ng th c EIGRP H ng d n: C u hình router nh bài c u hình... & R5: key chain EIGRP key 1 key-string CISCO123 accept-lifetime 00:00:00 Jan 1 1993 00:15:00 Jan 1 2007 send-lifetime 00:00:00 Jan 1 1993 00:00:00 Jan 1 2007 key 2 VSIC Education Corporation Trang 13 Lab BSCI Tài li u dành cho h c viên key-string CISCO456 accept-lifetime 23:45:00 Dec 31 2006 infinite send-lifetime 00:00:00 Jan 1 2007 infinite ! interface Serial 0/0 ip authentication mode eigrp 100... lifetime (23:45:00 UTC Dec 31 2006) - (infinite) send lifetime (00:00:00 UTC Jan 1 2007) - (infinite) R4#clock set 23:55:00 31 Dec 2006 R5#clock set 00:05:00 1 Jan 2007 VSIC Education Corporation Trang 14 Lab BSCI Tài li u dành cho h c viên R5#show ip eigrp neighbors IP-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 1 155.1.0.4 Se0/0 150 00:08:03 1244 5000... (infinite) [valid now] send lifetime (00:00:00 UTC Jan 1 2007) - (infinite) Stub Router Feature M c tiêu: C u hình Router EIGRP ch n l i nh ng tín hi u query không c n thi t VSIC Education Corporation Trang 15 Lab BSCI Tài li u dành cho h c viên H ng d n: C u hình router nh bài c u hình chung C u hình R4 là EIGRP Stub router Ki m tra quá trình ho t ng c a EIGRP trên R5 C u hình: R4: router eigrp 100 eigrp stub... Enqueueing QUERY on Serial0/0 nbr 155.1.0.4 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 26-26 EIGRP: Enqueueing QUERY on Serial0/1 nbr 155.1.45.4 iidbQ un/rely 0/0 peerQ VSIC Education Corporation Trang 16 Lab BSCI Tài li u dành cho h c viên un/rely 0/0 serno 26-26 EIGRP: Sending QUERY on Serial0/0 nbr 155.1.0.4 AS 100, Flags 0x0, Seq 52/52 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 26-26 EIGRP:... idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0 EIGRP: Received QUERY on Serial0/0 nbr 155.1.0.4 AS 100, Flags 0x0, Seq 65/64 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0 VSIC Education Corporation Trang 17 Lab BSCI Tài li u dành cho h c viên MODULE 3: OSPF OSPF DR/BDR Election M c tiêu: C u hìng OSPF sao cho R1 quá trình l a ch n H c l a ch n nh là DR, R2 là BDR và R3 không tham gia vào ng d n: C u hình... 0.0.0.0 area 0 R2: interface Ethernet0/0 ip address 10.0.0.2 255.0.0.0 ip ospf priority 50 ! router ospf 1 network 10.0.0.2 0.0.0.0 area 0 R3: interface Ethernet0/0 VSIC Education Corporation Trang 18 Lab BSCI Tài li u dành cho h c viên ip address 10.0.0.3 255.0.0.0 ip ospf priority 0 ! router ospf 1 network 10.0.0.3 0.0.0.0 area 0 Ki m tra: R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address... 10.0.0.2, Interface address 10.0.0.2 OSPF over Frame Relay - Non-Broadcast M c tiêu: C u hình OSPF trên m ng FR gi a R1, R4,R5 dùng OSPF network type non-broadcast VSIC Education Corporation Trang 19 Lab BSCI Tài li u dành cho h c viên H ng d n: C u hình IP E0/0 c a R1 là: 1.0.0.1/8 C u hình IP E0/0 c a R4 là: 4.0.0.4/8 C u hình IP E0/0 c a R5 là: 5.0.0.5/8 C u hình IP S0/0 c a R1 là: 10.0.0.1/8 C . ms
Cu Hình Chung
Mc tiêu:
Cu hình chung cho các bài Lab EIGRP phn sau:
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation. UPDATE 54
MODULE 6 : BGP 65
MODULE 7 : MULTICAST 80
MODULE 8: IPV6 84
Lab BSCI Tài liu dành cho hc viên
VSIC Education Corporation Trang 2
MODULE