CCNP-19 IS-IS試驗2(BSCI)

CCNP-19 IS-IS試驗2

實驗拓撲:

試驗要求:R1 R2 R3全部采用集成的ISIS路由協議,R1 R2在區域49.0001內,R3在區域49.0002內,R1R2之間的鏈路類型為L1R2R3之間的鏈路類型為L2
試驗目的:掌握基本的集成ISIS配置

實驗配置:
R1
R1(config)#router?isis
R1(config-router)#net 49.0001.1111.1111.1111.00
R1(config-router)#is-type level-1
R1(config-router)#exit
R1(config)#int loop0
R1(config-if)#ip add?1.1.1.1 255.255.255.0
R1(config-if)#ip router?isis
R1(config-if)#exit
R1(config)#int loop1
R1(config-if)#ip add?2.2.2.2 255.255.255.0
R1(config-if)#ip router?isis
R1(config-if)#exit
R1(config)#int f0/0
R1(config-if)#ip add 199.99.1.1 255.255.255.0
R1(config-if)#ip router?isis
R1(config-if)#no shu
R1(config-if)#exit
R2
R2(config)#router?isis
R2(config-router)#net 49.0001.2222.2222.2222.00
R2(config-router)#exit
R2(config)#int loop0
R2(config-if)#ip add?3.3.3.3 255.255.255.0
R2(config-if)#ip router?isis
R2(config-if)#exit
R2(config)#int loop1
R2(config-if)#ip add?4.4.4.4 255.255.255.0
R2(config-if)#ip router?isis
R2(config-if)#exit
R2(config)#int f0/0
R2(config-if)#ip add 199.99.1.2 255.255.255.0
R2(config-if)#ip router?isis
R2(config-if)#isis?circuit-type level-1
R2(config-if)#no shu
R2(config-if)#exit
R2(config)#int s1/0
R2(config-if)#ip add 199.99.2.1 255.255.255.0
R2(config-if)#ip router?isis
R2(config-if)#isis?circuit-type level-2-only
R2(config-if)#clock rate 64000
R2(config-if)#no shu
R2(config-if)#exit
R3
R3(config)#router?isis
R3(config-router)#net 49.0002.3333.3333.3333.00
R3(config-router)#is-type level-2-only
R3(config-router)#exit
R3(config)#int loop0
R3(config-if)#ip add?5.5.5.5 255.255.255.0
R3(config-if)#ip router?isis
R3(config-if)#exit
R3(config)#int loop1
R3(config-if)#ip add?6.6.6.6 255.255.255.0
R3(config-if)#ip router?isis
R3(config-if)#exit
R3(config)#int s1/0
R3(config-if)#ip add 199.99.2.2 255.255.255.0
R3(config-if)#ip router?isis
R3(config-if)#no shu
R3(config-if)#exit
以上為基本的集成ISIS的配置,起Loop接口做測試,注意有一點需要提出的是,在上次試驗中我既在ISIS配置模式下配置了路由器的level,又在接口模式下配置了circuit-typelevel,今天又一次看ISIS的時候發現其實這兩條命令之需要一條就可以了。OK,下面查看一下鄰居關系:
Router#show clns is-neighbors
System Id??????Interface???State??Type Priority??Circuit Id?????????Format
R2?????????Fa0/0???????Up?????L1???64????????R2.03??????????Phase V
R2#show clns is-neighbors
System Id??????Interface???State??Type Priority??Circuit Id?????????Format
R1?????????????Fa0/0???????Up?????L1???64????????R2.03??????????????Phase V
R3?????????????Se1/0???????Up?????L2???0?????????00?????????????????Phase V
R3#show clns is-neighbors
System Id??????Interface???State??Type Priority??Circuit Id?????????Format
R2?????????????Se1/0???????Up?????L2???0?????????00?????????????????Phase V
鄰居關系狀態都UP了,表示成功建立了ISIS的鄰居關系,R2.03表示在LAN環境下R2DIS。然后我們查看一下show ip protocols
R1#show ip protocols
Routing Protocol is "isis"
??Invalid after 0 seconds, hold down 0, flushed after 0
??Outgoing update filter list for all interfaces is not set
??Incoming update filter list for all interfaces is not set
?Redistributing:?isis
??Address Summarization:
????None
??Maximum path: 4
??Routing for Networks:
????Loopback0
????Loopback1
????FastEthernet0/0
??Routing Information Sources:
????Gateway?????????Distance??????Last Update
????3.3.3.3??????????????115??????00:00:39
??Distance: (default is 115)
R2#show ip protocols
Routing Protocol is "isis"
??Invalid after 0 seconds, hold down 0, flushed after 0
??Outgoing update filter list for all interfaces is not set
??Incoming update filter list for all interfaces is not set
??Redistributing:?isis
??Address Summarization:
????None
??Maximum path: 4
??Routing for Networks:
????Loopback0
????Loopback1
????FastEthernet0/0
????Serial1/0
??Routing Information Sources:
????Gateway?????????Distance??????Last Update
????5.5.5.5??????????????115??????00:00:11
????1.1.1.1??????????????115??????00:00:06
??Distance: (default is 115)
R3#show ip protocols
Routing Protocol is "isis"
??Invalid after 0 seconds, hold down 0, flushed after 0
??Outgoing update filter list for all interfaces is not set
??Incoming update filter list for all interfaces is not set
??Redistributing:?isis
??Address Summarization:
????None
??Maximum path: 4
??Routing for Networks:
????Loopback0
????Loopback1
????Serial1/0
??Routing Information Sources:
????Gateway?????????Distance??????Last Update
????3.3.3.3??????????????115??????00:00:11
?????Distance: (default is 115)
從上面的信息可以看到集成ISIS的一些信息,注意Gateway顯示的是loopback0的地址,ISIS的管理距離為115,為什么會選用這個地址?會不會像OSPF選取router-id一樣呢?我們做一下測試:
R3(config)#int loop2
R3(config-if)#ip add?1.1.2.1 255.255.255.0
R3(config-if)#ip router?isis
R3(config-if)#end
R3上再起一個loopback接口,IP地址要小于loopback0IP地址,然后在R2clear isis *后,在show ip procols查看:
R2#show ip protocols
Routing Protocol is "isis"
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing:?isis
Address Summarization:
None
Maximum path: 4
Routing for Networks:
Loopback0
Loopback1
FastEthernet0/0
Serial1/0
Routing Information Sources:
?Gateway?????????Distance??????Last Update
????5.5.5.5??????????????115??????00:00:00
????1.1.1.1??????????????115??????00:00:22
Distance: (default is 115)
沒有任何變化,好的,下面我們把R3loopback0接口地址做一下修改:
R3(config)#int loop0
R3(config-if)#ip add?1.1.3.1 255.255.255.0
R3(config-if)#end
這回再到R2show ip procols時會發現變化:
R2#show ip protocols
Routing Protocol is "isis"
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing:?isis
Address Summarization:
None
Maximum path: 4
Routing for Networks:
Loopback0
Loopback1
FastEthernet0/0
Serial1/0
Routing Information Sources:
??Gateway?????????Distance??????Last Update
????5.5.5.5??????????????115??????00:00:28
????1.1.1.1??????????????115??????00:00:02
????1.1.3.1??????????????115??????00:00:02
Distance: (default is 115)
多了一個1.1.3.1的地址,表示采用了新的R3 Loopback0接口地址,5.5.5.5的地址還在,并沒有消除,等鄰居計時器超時后就會消除的。由此我們可以判斷出這里顯示的地址為相鄰路由器loopback0口的IP地址。
下面我們來查看一下LSDB
R1#show?isis?database
IS-IS Level-1?Link?State?Database:
LSPID?????????????????LSP Seq Num??LSP Checksum??LSP Holdtime??????ATT/P/OL
R1.00-00????????????* 0x00000004???0x0170????????1086??????????????0/0/0
R2.00-00??????????????0x00000007???0x9E4A????????1114??????????????1/0/0
R2.03-00??????????????0x00000001???0x183C????????1040??????????????0/0/0
R2#show?isis?database
IS-IS Level-1?Link?State?Database:
LSPID?????????????????LSP Seq Num??LSP Checksum??LSP Holdtime??????ATT/P/OL
R1.00-00??????????????0x00000004???0x0170????????1162??????????????0/0/0
R2.00-00????????????* 0x00000007???0x9E4A????????1195??????????????1/0/0
R2.03-00????????????* 0x00000001???0x183C????????1120??????????????0/0/0
IS-IS Level-2?Link?State?Database:
LSPID?????????????????LSP Seq Num??LSP Checksum??LSP Holdtime??????ATT/P/OL
R2.00-00????????????* 0x0000000A???0x43B5????????1189??????????????0/0/0
R3.00-00??????????????0x00000002???0x2F4C????????1187??????????????0/0/0
R3#show?isis?database
IS-IS Level-2?Link?State?Database:
LSPID?????????????????LSP Seq Num??LSP Checksum??LSP Holdtime??????ATT/P/OL
R2.00-00??????????????0x0000000A???0x43B5????????1189??????????????0/0/0
R3.00-00????????????* 0x00000002???0x2F4C????????1191??????????????0/0/0
這里可以看到在LAN環境下,R2后面的ATT1,表示它為一個邊界路由器,R2.03-00表示R2DIS。最后我們來查看一下路由表:
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, 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 199.99.1.2 to network?0.0.0.0
1.0.0.0/24 is subnetted, 1 subnets
C???????1.1.1.0 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
C???????2.2.2.0 is directly connected, Loopback1
????3.0.0.0/24 is subnetted, 1 subnets
i L1????3.3.3.0 [115/20] via 199.99.1.2, FastEthernet0/0
?????4.0.0.0/24 is subnetted, 1 subnets
i L1????4.4.4.0 [115/20] via 199.99.1.2, FastEthernet0/0
C????199.99.1.0/24 is directly connected, FastEthernet0/0
i*L1?0.0.0.0/0 [115/10] via 199.99.1.2, FastEthernet0/0
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, 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/24 is subnetted, 3 subnets
i L1????1.1.1.0 [115/20] via 199.99.1.1, FastEthernet0/0
i L2????1.1.2.0 [115/20] via 199.99.2.2, Serial1/0
i L2????1.1.3.0 [115/20] via 199.99.2.2, Serial1/0
?????2.0.0.0/24 is subnetted, 1 subnets
i L1????2.2.2.0 [115/20] via 199.99.1.1, FastEthernet0/0
3.0.0.0/24 is subnetted, 1 subnets
C???????3.3.3.0 is directly connected, Loopback0
4.0.0.0/24 is subnetted, 1 subnets
C???????4.4.4.0 is directly connected, Loopback1
???6.0.0.0/24 is subnetted, 1 subnets
i L2????6.6.6.0 [115/20] via 199.99.2.2, Serial1/0
C????199.99.2.0/24 is directly connected, Serial1/0
C????199.99.1.0/24 is directly connected, FastEthernet0/0
R3#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, 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/24 is subnetted, 3 subnets
i L2????1.1.1.0 [115/30] via 199.99.2.1, Serial1/0
C???????1.1.2.0 is directly connected, Loopback2
C???????1.1.3.0 is directly connected, Loopback0
?????2.0.0.0/24 is subnetted, 1 subnets
i L2????2.2.2.0 [115/30] via 199.99.2.1, Serial1/0
?????3.0.0.0/24 is subnetted, 1 subnets
i L2????3.3.3.0 [115/20] via 199.99.2.1, Serial1/0
?????4.0.0.0/24 is subnetted, 1 subnets
i L2????4.4.4.0 [115/20] via 199.99.2.1, Serial1/0
6.0.0.0/24 is subnetted, 1 subnets
C???????6.6.6.0 is directly connected, Loopback1
C????199.99.2.0/24 is directly connected, Serial1/0
i L2 199.99.1.0/24 [115/20] via 199.99.2.1, Serial1/0
上面用紅顏色標記的部分表示都是通過ISIS學習到的,I L1表示的是LEVEL-1路由,I L2表示的是LEVEL-2的路由,I*L1表示的是缺省路由,下面在R1ping測試一下:
R1#ping 199.99.2.2
?
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 199.99.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 168/191/216 ms
通了。

實驗總結:掌握基本的集成ISIS配置方法,并會使用show命令對集成ISIS的配置進行檢驗。













本文轉自loveme2351CTO博客,原文鏈接:http://blog.51cto.com/loveme23/47989?,如需轉載請自行聯系原作者

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/454465.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/454465.shtml
英文地址,請注明出處:http://en.pswp.cn/news/454465.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

正道的光用計算機,正道的光作文500字

當那熟悉的轟天巨雷般的呼嚕聲響起,我就知道,這又是睡不著的一天。同樣在宿舍;同樣是小翟;同樣的時間;同樣在我昏昏欲睡的時候,那個熟悉的呼嚕聲,它又來了。它將我從即將到來的美夢中驚醒了&…

AVS高清立體視頻編碼器

一、成果項目背景 電視技術在經歷了從黑白到彩色、從模擬到數字的技術變革之后正在醞釀另一場技術革命,從單純觀看二維場景的平面電視跨越到展現三維場景的立體電視。立體電視,又稱三維電視(3DTV),提供了更為豐富的視覺信息和更具臨場感的觀…

RESTful介紹

RESTful介紹 REST與技術無關,代表的是一種軟件架構風格,REST是Representational State Transfer的簡稱,中文翻譯為“表征狀態轉移”或“表現層狀態轉化”。阮一峰 理解RESTful架構 RESTful API設計指南 阮一峰 RESTful設計指南 API與用戶…

dijkstra算法代碼_數據科學家需要知道的5種圖算法(附代碼)

在本文中,我將討論一些你應該知道的最重要的圖算法,以及如何使用Python實現它們。作者:AI公園導讀因為圖分析是數據科學家的未來。作為數據科學家,我們對pandas、SQL或任何其他關系數據庫非常熟悉。我們習慣于將用戶的屬性以列的形…

大暴搜 chess

仔細讀題,會發現吃掉敵人點對方案數的貢獻很神奇。如果走的空格相同,而走的敵人點不同,對答案無貢獻,而對于走的空格相同,但一種走了敵人點,另一種沒走,算兩個方案。。。。sb出題人語文簡直是和…

網站的SEO以及它和站長工具的之間秘密

博客遷移沒有注意 URL 地址的變化,導致百度和 google 這兩只爬蟲引擎短時間內找不到路。近段時間研究了下國內最大搜索引擎百度和國際最大搜索引擎google的站長工具,說下感受。 百度的站長工具地址:http://zhanzhang.baidu.com/dashboard/ind…

html 縮略圖點擊預覽,[每天進步一點點~] uni-app 點擊圖片實現預覽圖片列表

點擊圖片,實現預覽圖片功能,并且可循環預覽圖片列表!image.png一、多張圖片預覽html代碼js代碼data(){return {photos:[{ src: 圖片路徑1},{ src: 圖片路徑2},{ src: 圖片路徑3},……]}},methods: {// 預覽圖片previewImage(index) {let phot…

git ssh拉取代碼_阿里云搭建git服務器

一.搭建步驟,分為兩步搭建中心倉庫自動同步代碼到站點目錄二.詳細步驟如下1.先檢查一下服務器上有沒有安裝gitgit --version如果出現版本號,說明服務器已經安裝git,如圖所示:2.如果沒有版本信息,則先安裝git&#xff1…

Django REST framework 序列化

創建一個序列化類 使用序列化有四種方式 使用json模塊,完全手寫使用django自帶的序列化模塊 1,# from django.core import serializers 2,# dataserializers.serialize(“json”,book_list)使用REST framework 帶的序列化方法&#xff0c…

基于SIMD的AVS整數反變換算法設計與優化

基于SIMD 的AVS 整數反變換算法設計與優化王玲娟,張剛**作者簡介:王玲娟,(1987-),女,在讀碩士,主要研究方向:視頻解碼算法通信聯系人:張剛,&#…

Word -- 列表重新編號

Word -- 列表重新編號office一言:我小心翼翼地灌溉,一日復一日地期待,那么費力,植成參天的喬木,豈愿見你終有一日從容赴死?問題 word 文檔早就想解決的一個問題,這次遇到了就上網找解決掉了&…

非持久連接和持久連接

非持久連接和持久連接 HTTP既可以使用非持久連接(nonpersistent connection),也可以使用持久連接(persistent connection)。HTTP/1.0使用非持久連接,HTTP/1.1默認使用持久連接。 非持久連接 讓我們查看一下非持久連接情況下從服務器到客戶傳送一個Web頁面…

計算機開機鍵鼠無法識別,我得電腦一開機就檢測不到鍵盤和鼠標

2005-10-18 16:06:131、開機后當出現dos界面時,按一下pause鍵(這個鍵在四個方向鍵的上邊,仔細找就能找到),如果計算機啟動停止,說明你的鍵盤起作用,主板在開機時就已經檢測到了鼠標鍵盤。啟動后不能使用鼠標鍵盤&#…

vs2003 局部友元訪問私有不可訪問_C++ 類:重載運算符與友元

18.類中重載運算符與友元上次節中學習了如何在類中重新定義賦值()運算符,實際上在一個自定義類中除了賦值()運算符外,類的對象是不可以直接使用運算符的,比如你在main函數中寫這樣的代碼會報錯:如果想解決這些報錯問題&#xff0c…

oracle sqlldr (一) 最基本語法

-- Create table create table DEPT2 (DEPTNO NUMBER(2) not null,DNAME VARCHAR2(14),LOC VARCHAR2(1000) ); alter table DEPT2add constraint DEPT_PK primary key (DEPTNO);------demo.ctl LOAD DATA INFILE * --數據在控制文件中 INTO TABLE DEPT2 INSERT ---默認加…

Django REST framework 視圖

上一部分代碼在序列化部分 類繼承順序 ############### mixins.py ################ # 類中調用的方法均在 GenericAPIView 類中實現,所以下列類需要結合 GenericAPIView 使用 class ListModelMixin(object) # 查看繼承類def list(self, reque…

AVS軟件解碼器的優化

AVS軟件解碼器的優化 董斌 , 姜昱明 (西安 電子科技大學計算機學院,陜西 西安,710071)) 摘 要: 主要研究了AVS標準的視頻壓縮部分,指出了影響解碼速度的瓶頸并提出了一種優化方案.使用從程序結構入手結合使用SIMD指令集的方案來優化AVS軟件解碼器.實驗結果表明優化方案可行并且…

IOS7.1.1真的像網上流傳的那么好?沒有任何問題么??

IOS7.1.1推送更新之后到處看到網上說711好的~~ 那么IOS7.1.1真的像網上現在流傳的那么好么? 其實不然,IOS7.1.1目前眾多網友反映說升級ios7.1.1之后APPstore連接不上了,提示無法連接到APPstore。 這個問題也不難解決~還是之前的老辦法~ 那么今…

三校生計算機對口本科有哪些學校,寶山三校生五月對口高考報名

多次復習生活不可能像你想象得那么好,但也不會像你想象得那么糟。我覺得人的脆弱和堅強都超乎自己的想象。多種方式結合起來復習單一的復習方法,易產生消極情緒和疲勞,如果采用交談復習法、討論復習法、自我檢查復習法多樣化的復習方法&#…

localhost 已拒絕連接_【Python】MongoDB數據庫的連接和操作

安裝Python 要連接 MongoDB 需要 MongoDB 驅動。pip安裝:python3 -m pip3 install pymongo創建數據庫import pymongo myclient pymongo.MongoClient("mongodb://localhost:27017/")mydb myclient["loaderman"]注意: 在 MongoDB 中&#xff0c…