新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
CiscoCatalyst交換機(jī)一直處于rommon模式無法啟動IOS問題的解決
發(fā)現(xiàn)Cisco Catalyst交換機(jī)重啟一直處于Rommom模式下,執(zhí)行Confreg命令選擇啟動模式為1(從第一個(gè)文件啟動)時(shí),系統(tǒng)一直重啟,無法進(jìn)入正常界面。
MAC Address : 00-1e-be-38-06-ff
Ip Address : Not set.
Netmask : Not set.
Gateway : Not set.
TftpServer : Not set.
Main Memory : 256 MBytes
Type control-C to prevent autobooting.
. . . . .
config-register = 0x2102
Autobooting using BOOT variable specified file.....
文章標(biāo)題:CiscoCatalyst交換機(jī)一直處于rommon模式無法啟動IOS問題的解決
網(wǎng)站地址:http://www.dlmjj.cn/article/jodeoj.html
enter to boot:
0 = disable autoboot
1 = the first file from internal flash device
2 = commands specified in 'BOOT' environment variable
[2]: 1
分析認(rèn)為可能IOS文件損壞或者被清除,或者啟動未找到正確的IOS。若IOS損壞或被清除,則需要從新導(dǎo)入一個(gè)IOS到flash,從網(wǎng)上查得有兩種方法,一種是TFTP上傳,一種是XMODEM方式上傳,XMODEM上傳比較慢,需要幾個(gè)小時(shí)。TFTP上傳是先設(shè)置系統(tǒng)變量,然后執(zhí)行tftpdnld命令,但是發(fā)現(xiàn)這個(gè)交換機(jī)沒有tftpdmld命令。后來發(fā)現(xiàn)XMODEM命令也不支持。于是只有考慮把flash卡拔下來,放到別的交換機(jī)里導(dǎo)入IOS。不過還是先看看flash里有沒有IOS再說吧。
檢查flash里的IOS。在Rommom模式下輸入命令:dir bootflash: 顯示flash上的文件,果然第一個(gè)文件不是正確的IOS文件,第二個(gè)才是正確的IOS文件。這下就容易多了。
用confreg命令設(shè)置啟動模式為2,然后手動從正確的IOS啟動:
rommon 2 >boot bootflash:cat4000-is-mz.121-11b.EW
Rommon reg: 0x30004180
Running diags...
...
等啟動完了,進(jìn)入了IOS界面,于是修改啟動參數(shù):
Switch>enable
Switch#dir bootflash:
查看當(dāng)前的啟動參數(shù):
Switch#show bootvar
開始配置:
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#no boot system flash bootflash:cat4000-is-mz.121-8a.Ew
Switch(config)#boot system flash bootflash:cat4000-is-mz.121-11b.EW
Switch(config)#end
保存在查看:
Switch#write memory
Switch#show bootvar
BOOT variable = bootflash:cat4000-is-mz.121-11b.EW,1
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102
參考文檔:
http://www.cisco.com/en/US/products/hw/switches/ps663/products_configuration_example09186a0080094ecf.shtml
相關(guān)錯誤輸出:
**********************************************************
* *
* Welcome to Rom Monitor for WS-C4948 System. *
* Copyright (c) 2003-2007 by Cisco Systems, Inc. *
* All rights reserved. *
* *
**********************************************************
* *
* Welcome to Rom Monitor for WS-C4948 System. *
* Copyright (c) 2003-2007 by Cisco Systems, Inc. *
* All rights reserved. *
* *
**********************************************************
Rom Monitor Program Version 12.2(31r)SGA1
Supervisor: WS-C4948 Chassis: WS-C4948
Hardware Revisions - Board: 6.0 CPLD: 5 Dagobah: 226
Supervisor: WS-C4948 Chassis: WS-C4948
Hardware Revisions - Board: 6.0 CPLD: 5 Dagobah: 226
MAC Address : 00-1e-be-38-06-ff
Ip Address : Not set.
Netmask : Not set.
Gateway : Not set.
TftpServer : Not set.
Main Memory : 256 MBytes
***** The system will autoboot in 5 seconds *****
Type control-C to prevent autobooting.
. . . . .
******** The system will autoboot now ********
config-register = 0x2102
Autobooting using BOOT variable specified file.....
Could not find a valid file in BOOT environment variable.
BOOT variable can be set from IOS. To find currently set
Rom Monitor variables, please type 'set' command.
BOOT variable can be set from IOS. To find currently set
Rom Monitor variables, please type 'set' command.
For help on choosing a boot method, type 'confreg' command.
文章標(biāo)題:CiscoCatalyst交換機(jī)一直處于rommon模式無法啟動IOS問題的解決
網(wǎng)站地址:http://www.dlmjj.cn/article/jodeoj.html


咨詢
建站咨詢
