作为第一篇技术文,可能不会写的那么详细,文字也不会那么优雅,只是因为年纪大了,写技术文也只是防止自己忘掉以前的东西而写的。
最近有个分支的ssg5出现了问题,更换了备件之后拿回来console一下就出现以下情况:
其实也没什么问题的,只是镜像校验出问题而已。。。。更换一下镜像就OK了(对于没有备份镜像的童鞋来说必定心里千万个草泥马的。。)
Nevermind,ssg5的e0/0口插上网线与电脑连接。找到电脑里面的镜像文件(后缀是0的文件),拉到cisco tftp server中,然后重启ssg5.
Juniper Networks SSG5-V92 Boot Loader Version 1.3.2 (Checksum: A1EAB858)
Copyright (c) 1997-2006 Juniper Networks, Inc.
Total physical memory: 128MB
Test - Pass
Initialization - Done
Hit any key to run loader
设备叫你Hit any key你hit了没有?有就进入恢复状态!go!go!go!
Serial Number [0168092006000880]: READ ONLY
HW Version Number [0710]: READ ONLY
Self MAC Address [0014-f6ee-da80]: READ ONLY
Boot File Name [screenos_p_w_picpath]: 写上你在电脑cisco tftp server中的镜像名称,反正你全部复制粘贴就行了。
Self IP Address [10.1.4.180]: 重新定义e0/0口的IP地址。
TFTP IP Address [10.1.4.254]: 你电脑的ip地址。回车!
Save loader config (56 bytes)... Done
### Time out, PHY link down ###
Please make sure cable is connected properly - hit any key to continue...
Loading file "ssg5.0"...
r!r!r!r!rtatatatatatatatatatatatatatatatatatatatatatatatatatatatatatatatatatata*n
经过了一大堆的at之后,ssg5就会提示
Loaded Successfully! (size = 13,344,720 bytes)
然后ssg5就会进入校验镜像,然后就重新装载新下载的镜像重启系统。这些反正你就yes就对了!
Juniper Networks, Inc
SSG5/SSG20 System Software
Copyright, 1997-2008
Version 6.3.0r11.0
Cksum:e526616f
Load Manufacture Information ... Done
Initialize FBTL 0........ Done
Load NVRAM Information ... (6.3.0)Done
Install module init vectors
The device is storing the firmware into reserved flash sectors.
Please do not power off the device during this operation. Doing so could result in loss of firmware.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The device successfully completed the operation.
Changed to l3 mode
Install modules (0126c800,020b4000) ...
PPP IP-POOL initiated, 256 pools
Initializing DI 1.1.0-ns
System config (2118 bytes) loaded
Done.
Load System Configuration ...................................................................................................................................Disabled licensekey auto update
.................Done
system init done..
login: nsserial0/0 interface change physical state to Up
netscrSystem change state to Active(1)
een
password:
恢复成功了。里面的配置也完的,所以童鞋们不用担心会丢配置。