萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 網路安全 >  >> 路由器知識 >> 路由器基礎

Cisco 路由器 IS-IS 協議配置實戰教學:指令、拓撲與驗證

IS-IS(Intermediate System to Intermediate System)是大型 ISP 與企業骨幹網常用的鏈路狀態路由協議。本文以實驗拓撲為例,詳細說明 Cisco 路由器啟用 IS-IS、配置 NET、介面啟用、路由器類型設定及狀態監控指令。

IS-IS 基本配置四步驟

  1. 規劃區域,於路由器啟用 IS-IS 流程
  2. 配置 NET(Network Entity Title):Area ID + System ID + SEL
  3. 於參與路由的介面啟用 IS-IS
  4. 設定路由器類型:Level-1(區域內)、Level-2(骨幹)、Level-1-2(預設)

核心配置指令

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,構建單一區域骨幹:

Router A

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

Router B

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

Router C

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

IS-IS 狀態監控與除錯指令

用途指令
查看鄰居狀態show clns is-neighbors
查看連結狀態資料庫 (LSP)show isis database
查看 SPF 計算歷史show isis spf-log
即時除錯 SPF 觸發事件debug isis spf-events

透過以上指令可驗證鄰居建立、LSP 同步、路由收斂狀況,確保 IS-IS 正常運作。

copyright © 萬盛學電腦網 all rights reserved