IS-IS(Intermediate System to Intermediate System)是大型 ISP 與企業骨幹網常用的鏈路狀態路由協議。本文以實驗拓撲為例,詳細說明 Cisco 路由器啟用 IS-IS、配置 NET、介面啟用、路由器類型設定及狀態監控指令。
router(config)# router isis ! 啟用 IS-IS 進程
router(config-router)# net 49.0001.0000.0000.000a.00 ! 設定 NET
router(config-if)# ip router isis ! 介面啟用 IS-IS
router(config-router)# is-type level-2-only ! 設定為 Level-2 骨幹路由器
三台路由器全採 Level-2-only,構建單一區域骨幹:
interface Ethernet0
ip address 10.1.3.1 255.255.255.0
ip router isis
interface Serial0
ip address 10.1.4.1 255.255.255.0
ip router isis
router isis
net 49.0001.0000.0000.000a.00
is-type level-2-only
interface Ethernet0
ip address 10.1.5.2 255.255.255.0
ip router isis
interface Ethernet1
ip address 10.1.6.2 255.255.255.0
ip router isis
interface Serial0
ip address 10.1.4.2 255.255.255.0
ip router isis
router isis
net 49.0001.0000.0000.000b.00
is-type level-2-only
interface Ethernet0
ip address 10.1.7.3 255.255.255.0
ip router isis
interface Ethernet1
ip address 10.1.6.3 255.255.255.0
ip router isis
router isis
net 49.0001.0000.0000.000c.00
is-type level-2-only
| 用途 | 指令 |
|---|---|
| 查看鄰居狀態 | show clns is-neighbors |
| 查看連結狀態資料庫 (LSP) | show isis database |
| 查看 SPF 計算歷史 | show isis spf-log |
| 即時除錯 SPF 觸發事件 | debug isis spf-events |
透過以上指令可驗證鄰居建立、LSP 同步、路由收斂狀況,確保 IS-IS 正常運作。