Cisco IOS Upgrade/Recovery Process

在Cisco目前的正式課程中並沒有讓各位實作IOS upgrade的練習,因此我把這個動作相關的指令寫出來:

1.首先你需要一台TFTP Server,如果沒有的話,可以利用Cisco Router/Switch來充當,不過IOS必須存放於即將成為TFTP Server的Router/Switch Flash中。

Router_A# sh flash:

System flash directory:
File Length Name/status
1 16299836 c2600-ik9o3s3-mz.123-15.bin
[16299900 bytes used, 477312 available, 16777212 total]
16384K bytes of processor board System flash (Read/Write)

2.Router_A#conf t
Router_A(config)# ip tftp source-interface fastEthernet 0/0
!指定TFTP Server將會使用那個介面上的IP當Source Interface
Router_A(config)# tftp-server flash:c2600-ik9o3s3-mz.123-15.bin
!設定此Router提供那一個檔案開放TFTP下載

3.假設今天是在RouterB要昇級IOS或是Flash不小心被清空了(請千萬不要Reload…否則會無法開機):

RouterB#copy tftp: flash: =>從TFTP上複製檔案到Flash:
Address or name of remote host []? 10.1.1.1 => Router_A FastEthernet 0/0 IP Address
Source filename []? c2600-ik9o3s3-mz.123-15.bin
Destination filename [c2600-ik9o3s3-mz.123-15.bin]?

4.為了確保IOS檔案正確性,建議使用以下指令在重新開機前,請使用以下指令:
RouterB# verify flash:c2600-ik9o3s3-mz.123-15.bin

Comments

Popular posts from this blog

TCP/IP 明確擁塞通知 (ECN)

L2TPv3 Enables Layer 2 Services for IP Networks

Q-in-Q(Dot1Q Tunnel) Sample Configuration