1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

lab 5-2 multi area integrated is-is

17 206 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

LAB 5-2: MULTI AREA INTEGRATED IS-IS Trong thực hành này, cấu hình MultiArea Integrated IS-IS với level thực công việc cài đặt IS-IS level và sau kiểm tra kết lệnh show - Bài thực hành sử dụng router 2600 với Cisco IOS Release 12.2(6i) Enterprise Plus Các router chạy ISIS cần phải có IOS phiên Enterprise Để kiểm tra việc này, ta dùng lệnh show version, xem thông số “flash:c2600-js-mz.121.5.XM.bin” Ký tự ‘j’ biểu thị phiên IOS sử dụng Enterprise, ký tự ‘s’ biểu thị phiên IOS Plus Thực Cấu hình địa IP router SaiGon1, SaiGon2, SaiGon3 HaNoi sơ đồ Các cấu hình ISIS khơng hoạt động chưa cấu hình địa IP Cấu hình IS-IS router SaiGon1, SaiGon2, SaiGon3 với địa mạng 49.0001 SaiGon1(config)#router isis SaiGon1(config-router)#network 49.0001.1111.1111.1111.00 SaiGon1(config-router)#interface e0/0 SaiGon1(config-if)#ip router isis SaiGon1(config-if)#interface loopback0 SaiGon1(config-if)#ip router isis SaiGon2(config)#router isis SaiGon2(config-router)#network 49.0001.2222.2222.2222.00 SaiGon2(config-router)#interface e0/0 SaiGon2(config-if)#ip router isis SaiGon2(config-if)#interface loopback0 SaiGon2(config-if)#ip router isis SaiGon3(config)#router isis SaiGon3(config-router)#network 49.0001.3333.3333.3333.00 SaiGon3(config-router)#interface e0/0 SaiGon3(config-if)#ip router isis SaiGon3(config-if)#interface loopback0 SaiGon3(config-if)#ip router isis Kiểm tra router láng giềng router lệnh lệnh sau : SaiGon3#show clns neighbors System Id Interface SNPA State Holdtime Type Protocol SaiGon1 Et0/0 0004.4d89.3500 Up 29 L1L2 IS-IS SaiGon2 Et0/0 0004.c14d.ec60 Up 28 L1L2 IS-IS SaiGon3#show isis database IS-IS Level-1 Link State Database: LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL SaiGon1.00-00 0x00000006 0x7491 413 0/0/0 SaiGon2.00-00 0x00000016 0x4B28 1123 0/0/0 SaiGon3.00-00 * 0x00000007 0xD3DF 1131 0/0/0 SaiGon3.01-00 * 0x00000001 0x042C 416 0/0/0 IS-IS Level-2 Link State Database: LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL SaiGon1.00-00 0x000000DB 0x61AF 1135 0/0/0 SaiGon2.00-00 0x0000000C 0xE304 1136 0/0/0 SaiGon3.00-00 * 0x00000007 0x28F5 1131 0/0/0 SaiGon3.01-00 * 0x00000001 0xB503 416 0/0/0 Trong đó, Saigon3 DIS có DIS phát Pseudonode ID khác Các IS thiết lập adjacency với qua level 1-2 giá trị mặc định Cisco router Cấu hình IS-IS cho HaNoi HaNoi(config)#router isis HaNoi(config-router)#net 50.0001.4444.4444.4444.00 HaNoi(config-if)#int loopback0 HaNoi(config-if)#ip router isis Khái niệm vùng IS-IS không rõ nghĩa OSPF, vậy, HaNoi không area với router khác (50.0001), HaNoi phải cấu hình System ID khác router khác ln Vì thế, ta khuyến khích lấy địa MAC router để làm SystemID để tránh đụng độ Thiết lập adjacency SaiGon2 SaiGon3 với HaNoi, ta cấu hình SaiGon2: SaiGon2(config)#int s0/0 SaiGon2(config-if)#ip router isis SaiGon3(config)#int s0/1 SaiGon3(config-if)#ip router isis HaNoi(config-router)#int s0/0 HaNoi(config-if)#ip router isis HaNoi(config-if)#int s0/1 HaNoi(config-if)#ip router isis Kiểm tra kết nối HaNoi với SaiGon2 SaiGon3 HaNoi#show clns neighbors System Id SNPA Interface State Holdtime Type Protocol SaiGon2 *HDLC* Se0/0 Up 27 L2 IS-IS SaiGon3 *HDLC* Se0/1 Up 23 L2 IS-IS - Ở field SNPA, Serial Cổng khơng có MAC address, nên router thay encapsulation type HDLC - Vì SaiGon2 nằm khác area với HaNoi, nên router tự động điều chỉnh trường Type thành Level (L2) HaNoi#show isis database IS-IS Level-1 Link State Database LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL HaNoi.00-00 * 0x00000004 0x5E8A 873 1/0/0 HaNoi.01-00 * 0x00000001 0xD8D6 878 0/0/0 IS-IS Level-2 Link State Database LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL SaiGon1.00-00 0x000000D9 0x353F 760 0/0/0 SaiGon2.00-00 0x0000000B 0x01F5 761 0/0/0 SaiGon2.01-00 0x00000002 0x919B (759) 0/0/0 SaiGon3.00-00 0x00000006 0xF073 756 0/0/0 SaiGon3.01-00 0x00000001 0xB503 758 0/0/0 HaNoi.00-00 * 0x00000004 0x0FDC 873 0/0/0 SaiGon3#show isis database IS-IS Level-1 Link State Database: LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL SaiGon1.00-00 0x00000006 0x7491 413 1/0/0 SaiGon2.00-00 0x00000016 0x4B28 1123 1/0/0 SaiGon2.01-00 0x00000002 0x919B (415) 0/0/0 SaiGon3.00-00 * 0x00000007 0xD3DF 1131 1/0/0 SaiGon3.01-00 * 0x00000001 0x042C 416 0/0/0 IS-IS Level-2 Link State Database: LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL SaiGon1.00-00 0x000000DB 0x61AF 1135 0/0/0 SaiGon2.00-00 0x0000000C 0xE304 1136 0/0/0 SaiGon2.01-00 0x00000002 0x919B (415) 0/0/0 SaiGon3.00-00 * 0x00000007 0x28F5 1131 0/0/0 SaiGon3.01-00 * 0x00000001 0xB503 416 0/0/0 SaiGon4.00-00 0x00000004 0x0FDC 528 0/0/0 Over Load bit (OL) bật lên router không đủ nhớ để lưu trữ route quảng bá đến Khơng giống giao thức định tuyến khác, IS-IS router có bit OL bật lên làm việc cảnh báo với router khác tình trạng học khơng đầy đủ route Và độ tin cậy router bị giảm xuống Các route mà router không đủ nhớ để học forward cho router khác Đây đặc điểm riêng hay IS-IS Vì SaiGon2 kết nối với HaNoi link level Do giá trị bit Attached Bit (ATT) bật số router Level Database Một router có ATT bật lên có nghĩa thân router L2 router biết đường đến vùng khác SaiGon1 theo default router L1L2, nên Level Link State Database ta thấy ATT SaiGon1 bật lên 1, điều chứng tỏ thân L2, có database cung cấp đầy đủ thơng tin để đến route vùng khác Điều không cần thiết, làm hao tốn nhớ, tài nguyên SaiGon1 SaiGon1 giống stub, cần học default route đủ Trong này, SaiGon2 SaiGon3 Boundary Router, hiểu Level để giao tiếp với nội (SaiGon1) hiểu Level 2, để giao tiếp với bên (HaNoi), nên ta khơng cần phải cấu hình thêm mặc định router L1L2 (hỗ trợ Level) Ta cấu hình để SaiGon1 thành Level router Cấu hình cho router SaiGon1 thành level SaiGon1(config)#router isis SaiGon1(config-router)#is-type level-1 Để bảo đảm tính bảo mật cho L1 adjacency, ta cấu hình interface password cho L1 connection router L1: SaiGon1(config)#interface e0/0 SaiGon1(config-if)#isis password cisco level-1 SaiGon2(config)#interface e0/0 SaiGon2(config-if)#isis password cisco level-1 SaiGon3(config)#interface e0/0 SaiGon3(config-if)#isis password cisco level-1 Ta sử dụng lệnh clear isis * tất router để IS-IS process update lại linkstate database Kiểm tra lệnh SaiGon1#show clns neighbor System Id Interface SNPA State Holdtime Type Protocol SaiGon2 Et0/0 0004.c14d.ec60 Up L1 IS-IS SaiGon3 Et0/0 00b0.6429.e660 Up 24 L1 IS-IS SaiGon1#show isis database IS-IS Level-1 Link State Database: LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL SaiGon1.00-00 0x00000006 0x7491 413 1/0/0 SaiGon2.00-00 0x00000016 0x4B28 1123 1/0/0 SaiGon2.01-00 0x00000002 0x919B (415) 0/0/0 SaiGon3.00-00 * 0x00000007 0xD3DF 1131 1/0/0 SaiGon3.01-00 * 0x00000001 0x042C 416 0/0/0 Ta thấy SaiGon1 khơng cịn lưu thơng tin Level-2 ban đầu, Level-1 SaiGon1#show ip route Gateway of last resort is 192.168.0.2 to network 0.0.0.0 172.16.0.0/24 is subnetted, subnets C 172.16.1.0 is directly connected, Loopback0 i L1 172.16.2.0 [115/20] via 192.168.0.2, Ethernet0/0 i L1 172.16.3.0 [115/20] via 192.168.0.3, Ethernet0/0 10.0.0.0/24 is subnetted, subnets i L1 10.0.2.0 [115/20] via 192.168.0.2, Ethernet0/0 i L1 10.0.1.0 [115/20] via 192.168.0.3, Ethernet0/0 C 192.168.0.0/24 is directly connected, Ethernet0/0 i*L1 0.0.0.0/0 [115/10] via 192.168.0.2, Ethernet0/0 [115/10] via 192.168.0.3, Ethernet0/0 Vì SaiGon1 L1 router, nên network nằm bên ngịai (ví dụ network 172.16.4.0/24) Thay vào đó, L1 learn học IS-IS default route để định tuyến vùng cần Theo bảng route SaiGon1 có default route theo hai đường: qua mạng 192.169.0.2 192.168.0.3 Ta để ý thấy metric đường giống (do đường Ethernet), IS-IS tự động chia tải đường Giả sử có đường metric khác nhau, ISIS chọn đường có metric tốt (thấp hơn) để đưa vào bảng định tuyến Cấu hình SaiGon1#show running-config Building configuration Current configuration : 954 bytes ! version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname SaiGon1 ! no logging buffered logging rate-limit console 10 except errors ! ip subnet-zero ! interface Loopback0 ip address 172.16.1.1 255.255.255.0 ip router isis ! interface Ethernet0/0 ip address 192.168.0.1 255.255.255.0 ip router isis isis password cisco level-1 ! router isis net 49.0001.1111.1111.1111.00 is-type level-1 ! ip kerberos source-interface any ip classless no ip http server ! line logging synchronous transport input none line aux line vty ! no scheduler allocate end SaiGon2#show running-config Building configuration Current configuration : 972 bytes ! version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname SaiGon2 ! no logging buffered logging rate-limit console 10 except errors ! ip subnet-zero ! interface Loopback0 ip address 172.16.2.1 255.255.255.0 ip router isis ! interface Ethernet0/0 ip address 192.168.0.2 255.255.255.0 ip router isis isis password cisco level-1 ! interface Serial0/0 ip address 10.0.2.1 255.255.255.0 ip router isis ! router isis net 49.0001.2222.2222.2222.00 ! ip kerberos source-interface any ip classless no ip http server ! line logging synchronous transport input none line aux line vty ! no scheduler allocate end SaiGon3#show running-config Building configuration Current configuration : 972 bytes ! version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname SaiGon3 ! no logging buffered logging rate-limit console 10 except errors ! ip subnet-zero ! interface Loopback0 ip address 172.16.3.1 255.255.255.0 ip router isis ! interface Ethernet0/0 ip address 192.168.0.3 255.255.255.0 ip router isis isis password cisco level-1 ! interface Serial0/1 ip address 10.0.1.1 255.255.255.0 ip router isis ! router isis net 49.0001.3333.3333.3333.00 ! ip kerberos source-interface any ip classless no ip http server ! line logging synchronous transport input none line aux line vty ! no scheduler allocate end HaNoi#show running-config Building configuration Current configuration: ! version 11.3 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname HaNoi ! interface Loopback0 ip address 172.16.4.1 255.255.255.0 ip router isis ! interface Serial0/0 ip address 10.0.2.2 255.255.255.0 ip router isis clockrate 64000 ! interface Serial0/1 ip address 10.0.1.2 255.255.255.0 ip router isis clockrate 64000 ! router isis net 50.0001.4444.4444.4444.00 ! ip classless ! line logging synchronous line aux line vty login ! end ... Holdtime Type Protocol SaiGon1 Et0/0 0004.4d89.3500 Up 29 L1L2 IS-IS SaiGon2 Et0/0 0004.c14d.ec60 Up 28 L1L2 IS-IS SaiGon3#show isis database IS-IS Level-1 Link State Database: LSPID LSP Seq Num LSP... *HDLC* Se0/0 Up 27 L2 IS-IS SaiGon3 *HDLC* Se0/1 Up 23 L2 IS-IS - Ở field SNPA, Serial Cổng khơng có MAC address, nên router thay encapsulation type HDLC - Vì SaiGon2 nằm khác area với HaNoi, nên... router Cấu hình IS-IS cho HaNoi HaNoi(config)#router isis HaNoi(config-router)#net 50.0001.4444.4444.4444.00 HaNoi(config-if)#int loopback0 HaNoi(config-if)#ip router isis Khái niệm vùng IS-IS không

Ngày đăng: 16/11/2014, 19:45

Xem thêm: lab 5-2 multi area integrated is-is

TỪ KHÓA LIÊN QUAN

w