從開箱上架到日常巡檢,Cisco 路由器安裝維護涵蓋物理連接、電源接地、首次配置對話、WAN 介面配置 (同步撥號、專線、DDN、X.25)、介面故障判斷三大核心模組。本文提煉現場實踐經驗,提供標準化操作清單。
| 系列 | Console 纜線 | PC 端 |
|---|---|---|
| 2500/1000 | RJ-45 (Console) → RJ-45/DB-9 | COM1/2, 9600-8-N-1 (2 Stop Bits 視舊版說明) |
| 7000/4000 | DB-25 (Console) → DB-25/DB-9 | COM1/2, 9600-8-N-1 |
Windows 超級終端 / SecureCRT / PuTTY (Serial) 均可。
System Configuration Dialog。yes 寫入 NVRAM。Router>,enable 輸入 Secret 進入 Router#。ip routing
interface Serial0
ip address 1.1.1.1 255.0.0.0
encapsulation ppp
clock rate 64000 ! DCE 端
ppp authentication chap
!
interface Ethernet0
ip address 12.1.1.1 255.0.0.0
!
router igrp 1
network 1.0.0.0
network 12.0.0.0
interface Serial0
ip address 1.1.1.1 255.0.0.0
! 封裝預設 HDLC
!
interface Ethernet0
ip address 12.1.1.1 255.0.0.0
!
router igrp 1
network 1.0.0.0
network 12.0.0.0
interface Serial0
ip address 1.1.1.1 255.0.0.0
encapsulation x25
x25 address 32699
x25 htc 16
x25 idle 6
x25 map ip 1.1.1.2 32688 broadcast
!
interface Ethernet0
ip address 12.1.1.1 255.0.0.0
!
router igrp 1
network 1.0.0.0
network 12.0.0.0
show interface ethernet 0
Ethernet0 is up, line protocol is up -> 正常
Ethernet0 is up, line protocol is down -> 未接 LAN / 纜線/對端問題
Ethernet0 is down, line protocol is down -> 介面故障或 shutdown
Ethernet0 is administratively down -> 執行 no shutdown
show interface serial 0
Serial0 is up, line protocol is up -> 正常
Serial0 is up, line protocol is down -> 封裝不匹配/對端 Down/IP 不匹配/Keepalive 失敗
Serial0 is down, line protocol is down -> 物理故障 / DCE 無 clock / Modem 無 CD
Serial0 is administratively down -> no shutdown
show version:列出所有**物理正常**識別到的介面,**缺失的介面即硬體故障** (需換板/換卡/送修)。show version ! Uptime、Config Register、IOS 版本
show environment ! 電源、風扇、溫度、電壓
show interface | inc errors|drop|CRC
show processes cpu history ! CPU 趨勢
show memory ! 可用記憶體、碎片
show logging ! 近期告警、錯誤
show ip route summary ! 路由條目數、來源分布
show cdp neighbors detail ! 鄰居一致性
copy running-config startup-config ! 確認存檔