驗證使用 [ AI 助教 ] 後的結果
進到 https://openpassexam-web-nphsu7ckja-de.a.run.app/ 選 [ AI 助教 ]
📅 匯出時間:2026-09-05 14:22:14
💬 對話總則數:3 則訊息
👋 您好!我是您的 PassExam AI 智慧助教。
我支援【三層智慧階層調度】:
請隨時點擊考題解析或直接向我提問。
CCNA 中的 OSPF 是什麼
⚡ [端側 Gemma 4 (2B) / Web Nano 離線極速推論 - 第 1 優先模式 (4096 Tokens)]
📱 運算環境:Web 瀏覽器環境:支援 Chrome 128+ Built-in AI (Gemini Nano) 與 WebGPU 加速
OSPF (Open Shortest Path First) 核心架構與實戰指令全解析:
! 1. 進入特權與全域模式,啟用 OSPF 進程 (進程 ID 僅具本機意義)
Router# configure terminal
Router(config)# router ospf 1
! 2. 手動指派 Router ID (強烈建議配置,選舉優先權最高)
Router(config-router)# router-id 1.1.1.1
! 3. 宣告網段與對應區域 Area (使用反向遮罩 Wildcard Mask)
Router(config-router)# network 192.168.1.0 0.0.0.255 area 0
Router(config-router)# network 10.0.0.0 0.0.0.3 area 0
! 4. (推薦現代作法) 亦可直接在特定介面啟用 OSPF (精準且不易出錯)
Router(config)# interface GigabitEthernet0/0/0
Router(config-if)# ip ospf 1 area 0
Router(config-if)# exit
! 5. 最佳實務:配置被動介面 (防止向用戶端 LAN 網段泛洪 Hello 封包)
Router(config)# router ospf 1
Router(config-router)# passive-interface GigabitEthernet0/0/1
Router(config-router)# exit
Router# show ip ospf neighbor ! 檢視鄰居狀態 (正常應為 FULL/DR 或 FULL/BDR)
Router# show ip route ospf ! 檢視路由表中的 OSPF 路由 (代碼標記為 O)
Router# show ip ospf interface brief ! 檢視各介面 Process ID、Area、Cost 及角色
Router# show ip ospf database ! 檢視鏈路狀態資料庫 (LSDB) 與各類 LSA
Router# clear ip ospf process ! 重設 OSPF 進程以重新建立鄰居 (需輸入 yes)
EXSTART / EXCHANGE 無法進入 FULL。(目前無任何除錯日誌)
由 OpenPassExam AI 助教匯出系統自動產出