本文檔包含升級Cisco NI-2 DSLAM的逐步過程。必須在TCP/IP就緒工作站上安裝TFTP伺服器或遠端複製協定(RCP)伺服器應用程式。安裝應用程式後,必須執行最低級別的配置。首先,必須將TFTP應用程式配置為作為TFTP伺服器運行,而不是TFTP客戶端。其次,必須指定出站檔案目錄。這是Cisco IOS®軟體映像的儲存目錄。大多數TFTP應用程式都提供設定常式來協助完成這些配置任務。
如需文件慣例的詳細資訊,請參閱思科技術提示慣例。
本文件沒有特定先決條件。
本文件所述內容不限於特定軟體和硬體版本。
使用以下步驟升級Cisco IOS軟體映像。
在TFTP伺服器的出站目錄中安裝新的Cisco IOS軟體映像。
TFTP伺服器在此目錄中查詢DSLAM的Cisco IOS軟體映像。確保您要複製到快閃記憶體的映像位於此目錄中。
每個映像的記憶體要求也位於TFTP伺服器的出站目錄中。使用show version命令驗證是否有足夠的記憶體。
DSLAM#show version Cisco Internetwork Operating System Software IOS (tm) NI2 Software (NI2-DSL-M), Version 12.1(5)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc2) Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled Thu 07-Dec-00 19:27 by pnicosia Image text-base: 0x800082C0, data-base: 0x811EA000 ROM: System Bootstrap, Version 12.0(5)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) BOOTFLASH: NI2 Software (NI2-DBOOT-M), Version 12.1(3)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) 6130A uptime is 1 day, 18 hours, 19 minutes System returned to ROM by power-on System restarted at 16:11:23 PST Wed Feb 14 2001 System image file is "flash:ni2-dsl-mz.121-5.DA.bin" cisco 6130 (NI2) processor with 60416K/5120K bytes of memory. RC64475 CPU at 100Mhz, Implementation 48, Rev 0.0 Bridging software. 1 Ethernet/IEEE 802.3 interface(s) 4 ATM network interface(s) 522232 bytes of non-volatile configuration memory. 4096K bytes of Boot Flash (Sector size 256K). 16384K bytes of Flash internal SIMM (Sector size 256K). Configuration register is 0x2102
建立到DSLAM的控制檯會話。
這可以通過直接控制檯連線或虛擬Telnet連線完成。建議使用直接控制檯連線,因為在軟體安裝的重新啟動階段會丟失Telnet連線(請參閱步驟9)。 控制檯連線使用卷線電纜(黑色或藍色扁平電纜)建立,並將DSLAM的控制檯埠連線到PC的COM埠。
在PC上啟動HyperTerminal,然後使用以下設定:
9600位元/秒
8個資料庫
0奇偶校驗位
1停止位
無流量控制
檢驗TFTP伺服器是否與DSLAM具有IP連線。
TFTP伺服器必須具有與DSLAM的網路連線,並且必須能夠ping用於TFTP軟體升級的DSLAM的IP地址。要達到此目的,DSLAM介面和TFTP伺服器必須具備:
OR範圍內的IP地址;
已配置預設網關。
要驗證,請檢查TFTP伺服器的IP地址。
注意:驗證與TFTP伺服器的網路連線後,在DSLAM上發出write memory命令,將所有更改寫入記憶體。
DSLAM#write memory Building configuration... [OK] DSLAM#
驗證bootflash映像是ni2-dboot-mz.121-5.da1還是ni2-dboot-mz.121-4.da。如果是,請轉至步驟14。如果不是,請轉至步驟6,在bootflash中騰出空間。
DSLAM#dir bootflash: Directory of bootflash:/ 1 -rw- 3361208 Jan 01 2000 00:05:11 ni2-dboot-mz.121-2.DA 3801088 bytes total (439752 bytes free)
通過刪除當前啟動映像的名稱,在bootflash中騰出空間。
DSLAM#delete bootflash:ni2-dboot-mz.121-2.DA.bin Delete filename [ni2-dboot-mz.121-2.DA.bin]? Delete bootflash:ni2-dboot-mz.121-2.DA.bin? [confirm]
使用squeeze bootflash命令恢復bootflash中的可用空間。
DSLAM#squeeze bootflash All deleted files will be removed. Continue? [confirm] Squeeze operation may take a while. Continue? [confirm] Squeeze of bootflash complete
將開機映像複製到bootflash。
DSLAM#copy tftp://171.69.89.140/ni2-dboot-mz.121-5.DA1.bin bootflash: Destination filename [ni2-dboot-mz.121-5.DA1.bin]? Accessing tftp://171.69.89.140/ni2-dboot-mz.121-5.DA1.bin... Loading ni2-dboot-mz.121-5.DA1.bin from 171.69.89.140 (via Ethernet0/0): !!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 3405392/6810624 bytes] 3405392 bytes copied in 57.676 secs (59743 bytes/sec)
進入全域性配置模式並將配置暫存器設定為0x0000,以便NI-2在ROM監控器(ROMmon)模式下重新啟動。
DSLAM#configure terminal Enter configuration commands, one per line. End with CNTL/Z. DSLAM(config)#config-register 0X0 DSLAM(config)#exit
儲存運行配置並重置系統。
DSLAM#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] DSLAM#reload Proceed with reload? [confirm] *Jan 10 02:11:43.397: %SYS-5-RELOAD: Reload requested System Bootstrap, Version 12.0(5)DA1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Copyright (c) 1999 by cisco Systems, Inc. NI2 platform with 65536 Kbytes of main memory
如果您在輸入set命令後看到BOOTLDR,則bootflash中的映像已用作載入程式;轉到步驟13。否則,轉到步驟12,並輸入命令強制系統使用ni2-dboot-mz.121-5.bin作為載入程式。
rommon 1 > set
使用unset BOOTLDR刪除變數並同步以儲存ROMmon的狀態,然後重新啟動。
NI-2啟動時,會使用ni2-dboot-mz.121-5da.bin作為啟動程式。
rommon 2 > unset BOOTLDR rommon 3 > sync
將配置暫存器設回0x2102並重置系統。
rommon 4 > confreg 0x2102 rommon 5 > reset
顯示以ni2 — 開頭的快閃記憶體檔案的名稱,並在步驟15中將其用作檔名。
DSLAM#dir flash: Directory of flash:/ 1 -rw- 9447084 Jan 01 2000 00:13:03 ni2-dsl-mz.121-5.DA1.bin 15990784 bytes total (6543572 bytes free)
刪除步驟14中找到的快閃記憶體檔名。重複步驟14和步驟15,直到快閃記憶體中的所有檔案都已被刪除。
DSLAM#delete flash:ni2-dsl-mz.121-5.DA1.bin Delete filename [ni2-dsl-mz.121-5.DA1.bin]? Delete flash:ni2-dsl-mz.121-5.DA1.bin? [confirm]
恢復快閃記憶體中的可用空間。
DSLAM#squeeze flash: All deleted files will be removed. Continue? [confirm] Squeeze operation may take a while. Continue? [confirm] Squeeze of flash complete
將Cisco IOS軟體映像從TFTP伺服器複製到快閃記憶體。
DSLAM#copy tftp: flash: Address or name of remote host [171.69.89.140]? Source filename [ni2-dsl-mz.122-1b.DA.bin]? Destination filename [ni2-dsl-mz.122-1b.DA.bin]? Accessing tftp://171.69.89.140/ni2-dsl-mz.122-1b.DA.bin... Loading ni2-dsl-mz.122-1b.DA.bin from 171.69.89.140 (via Ethernet0/0): !!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 9447084/18893824 bytes] 9447084 bytes copied in 128.940 secs (73805 bytes/sec)
進入全域性配置模式並禁用從系統引導。儲存對啟動配置所做的更改,然後重新載入系統以升級映像。
DSLAM(config)#no boot system DSLAM(config)#end DSLAM(config)#write memory DSLAM(config)#reload
確認運行中的映像是ni2-dsl-mz.122-1b.da。如果不是,請轉至步驟17。
DSLAM#show version Cisco Internetwork Operating System Software IOS (tm) NI2 Software (NI2-DSL-M), Version 12.2(1b)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2001 by cisco Systems, Inc. Compiled Mon 20-Aug-01 14:13 by torowe Image text-base: 0x80008308, data-base: 0x814CC000 ROM: System Bootstrap, Version 12.0(5)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) BOOTLDR: NI2 Software (NI2-DBOOT-M), Version 12.2(1b)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) DSLAM uptime is 28 minutes System returned to ROM by reload at 00:06:58 UTC Sat Jan 1 2000 System image file is "flash:ni2-dsl-mz.122-1b.DA.bin" cisco 6100 (NI2) processor with 60416K/5120K bytes of memory. RC64475 CPU at 100Mhz, Implementation 48, Rev 0.0 Bridging software. 1 Ethernet/IEEE 802.3 interface(s) 8 DMT DSL Port interface(s) 4 ATM network interface(s) 522232 bytes of non-volatile configuration memory. 4096K bytes of Boot Flash (Sector size 128K). 16384K bytes of Flash internal SIMM (Sector size 256K). Configuration register is 0x2102
清除bootflash記憶體中的所有資訊。回答y以確認所有問題。當DSLAM返回執行提示符時,bootflash已成功格式化並可供使用。確保bootflash的總容量為3.8 MB。如果不是,請轉至步驟14。
DSLAM#format bootflash: Format operation may take a while. Continue? [confirm] Format operation will destroy all data in "bootflash:". Continue? [confirm] Formatting sector 1 Format of bootflash: complete
將開機映像從TFTP伺服器複製到bootflash。
DSLAM#copy tftp://171.69.89.140/ni2-dboot-mz.122-1b.DA.bin bootflash: Destination filename [ni2-dboot-mz.122-1b.DA.bin]? Accessing tftp://171.69.89.140/ni2-dboot-mz.122-1b.DA.bin... Loading ni2-dboot-mz.122-1b.DA.bin from 171.69.89.140 (via Ethernet0/0): !!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 3712100/7424000 bytes] 3712100 bytes copied in 69.476 secs (53798 bytes/sec)
重新載入DSLAM,使其從新的Cisco IOS軟體映像啟動。
DSLAM#reload
發出show version命令,確認從新的Cisco IOS軟體映像引導的DSLAM。
DSLAM#show version
show version命令的輸出應顯示已升級的Cisco IOS軟體映像的名稱。