昨天一台路由FLASH被学生误删,
过程很是奇怪:
执行过:
copy run atart
紧接着路由器要求确认是否erase flash[confirm]
的确没遇到保存配置时如此提示的。
重灌IOS时随手拿了12.0版的,可以启动,但是show
flash时,FLASH显示为unknown
device,所有接口无法识别,但网线插上指示灯显示正常,system指示灯也正常。
第一步、show version效果如下:
------------------ show version ------------------
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(5d), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Sat 02-Feb-02 03:36 by kellythw
Image text-base: 0x80008088, data-base: 0x80989870
ROM: System Bootstrap, Version 12.2(7r) [cmong 7r], RELEASE SOFTWARE (fc1)
Router uptime is 2 minutes
System returned to ROM by power-on
System image file is "flash:c2600-i-mz.122-5d.bin"
cisco 2600 (MPC860) processor (revision 0x100) with 28672K/4096K bytes of memory.
Processor board ID JAD07070EBN (4243500479)
M860 processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
32K bytes of non-volatile configuration memory.
Configuration register is 0x2102
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(5d), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Sat 02-Feb-02 03:36 by kellythw
Image text-base: 0x80008088, data-base: 0x80989870
ROM: System Bootstrap, Version 12.2(7r) [cmong 7r], RELEASE SOFTWARE (fc1)
Router uptime is 2 minutes
System returned to ROM by power-on
System image file is "flash:c2600-i-mz.122-5d.bin"
cisco 2600 (MPC860) processor (revision 0x100) with 28672K/4096K bytes of memory.
Processor board ID JAD07070EBN (4243500479)
M860 processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
32K bytes of non-volatile configuration memory.
Configuration register is 0x2102
显然没有发现FLASH大小的内容,难道FLASH硬件出了问题?内存显然正常,32M内存。NVRAM
32K,也一样OK。只是找不到有关FLASH的提示。
今天没时间写了,上课中,明天接着了。。。。。。
还有阿广这家伙,一直在催我,哈哈。
第二步,查看配置:
------------------ show running-config
------------------
Building configuration...
Current configuration : 289 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
no service dhcp
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
!
ip classless
ip http server
ip pim bidir-enable
!
!
line con 0
line aux 0
line vty 0 4
!
no scheduler allocate
end
Building configuration...
Current configuration : 289 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
no service dhcp
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
!
ip classless
ip http server
ip pim bidir-enable
!
!
line con 0
line aux 0
line vty 0 4
!
no scheduler allocate
end
没有任何有关接口的提示,所有接口好似人间蒸发。但网线插上LED指示灯绿色,没问题,模块插至其它路由器上一切正常。排除接口硬件故障。
第三步、show flash
dir等查看硬件命令均无效,有好多命令甚至无法执行,提示无此命令。初步怀疑为IOS问题。
第四步、进入www.cisco.com,选择support-->tools &
resources-->Output
Interpreter ,将show
tech显示结果传给CISCO,排错结果显示软硬件均无问题。
也就是说IOS也符合?到这一步也只能自已拯救自已了,还是实验结果最能说明一切。
第五步、试图用copy tftp
flash重新灌入其它版本IOS,但命令无效,提示无法找到FLASH:
最后,只能切回rommon模式下,用tftpdnld传IOS,这次找了个12.2T的,问题解决。
总结下经验,其实错就错在操作系统不匹配。虽然说耽误了点儿时间,但是下次如果再有同样问题,我想至少可以不用再登陆cisco了。“我就是CISCO”
前一篇:穿透ADSL路由入侵内网另类方法
后一篇:电源的安全认证标准

加载中…