系统升级与密码恢复_第1页
系统升级与密码恢复_第2页
系统升级与密码恢复_第3页
系统升级与密码恢复_第4页
系统升级与密码恢复_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、cisco设备密码恢复交换机1、通过console线连接交换机,并通过超级终端或crt软件进行登录。2、重启交换机,并按交换机上的mode键。flash initload_helperdir flash:rename fl ash: co nfig. t ext flash:co nf ig.oldboot3、重新启动进入交换机操作系统。rename flash:config.old flash:config.textcopy flashiconfig.text system:running-config(此方式为插入的方式安装配置,如果原來running-config中存在的配置不会覆盖)

2、enable password bluefoxwrite memory路由器2500系列的路由器1、通过console线连接路由器,并通过超级终端或crt软件进行登录。2、重启路由器,在开机60秒内按ctlr+break使路由器进入rom monitor状态。提示符3、查看configure - register值,并将该值记下。>e/s2000002 (返回值正常时一般为2102 )4、更新configure-register值使路由器启动时跳过配置文件,直接启动,以便使原来的密码 不起作用。>o/r0x21425、重新启动路由器。>i6、启动后进入特权模式,执行如下命令使

3、原来的配置信息有效。router(config)#config mem7、此吋可以按照正常操作查看原来的密码,或修改为新的密码。8、将configure-register值复原,并重新启动路由器。router(config)#configure-register 0x2102router(config )#wrirouler(con fig)#reload2600系列路由器(3600系列、4500系列、12000系列都与之相似)1、通过console线连接路由器,并通过超级终端或crt软件进行登录。2、重启路由器,在开机60秒内按ctlr+break使路由器进入rom monitor状态。提示

4、符rommon 1 >3、重新配置组态寄存器值。rommon 1 >confeg当出现 do you wish to change the configuration (y/n) 时 选择 y接下来的选项选择n当出现 enablev ignore system configuration information" (y/n) 选择 y 接下來的选项选择n4、重新启动路由器。rommon 1 >reset5、启动后进入特权模式,执行如下命令使原来的配置信息有效。router(c on fig) #config mem6、此时可以按照正常操作查看原来的密码,或修改为新的

5、密码。7、将configure-register值复原,并重新启动路由器.router(co nfig) #configure-register 0x2102router(config) #wrirouter(config) #reload防火墙pix防火墙1、通过console线连接路由器,并通过超级终端或crt软件进行登录。2重启防火墙,按esc进入防火墙的monitor模式。monitor>interface 0monitor>address 00monitor>server monitor>file np63.binm

6、onitor>gateway 192.16 &11mon itor>tftpdo you wish to erase the passwords? ynyasa防火墙1、asa防火墙密码恢复与交换机的类似,asa防火墙是将寄存值0x11改为0x41,类似 于 ios 的 0x2102 改为 0x2142 o2、重启防火墙,按esc进入防火墙的rommon模式。3、修改寄存值并加载。rommon0#>confreg 0x41rommo n0# >boot4将startup-config的配置文件加载到操作系统屮asa#copy startup-config run

7、ning-config5重设密码。asa (config)# password bluefoxasa (config)# enable password bleufox6、将寄存器的值修改为原值。asa (config)# config-register 0x117、保存配置文件,切记,否则新密码无效。asa (config)# copy running-conf ig startup-configcisco设备的ios升级与灾难性恢复交换机通过tftp服务器升级i0s1、通过eth线连接交换机,并通过超级终端或crt软件进行登录。2、启动并配置tftp服务器。3、配置交换机、测试,并从tft

8、p服务器上下载ios。switch(config)#int vlan 1switch(config-if)#ip add 192. 16& 1.100 switch#copy tftp flash:source filename ? c3500xl-c3h2s-mz. 120-5. 4. wc.1. binaddress or name of remote host ? 192. 16& 1. 1destination filename c3500xl-c3h2s-mz. 120-5. 4. wc. 1. bin?通过console进行ios安装1、通

9、过console线连接路由器,并通过超级终端或crt软件进行登录(没有10s的交换机, 它自动进入switch:状态)。2、与超级终端间通过xmodem协议传输1os。switch: copy xmodem: flash:ios-filename.bin3、设置超级终端。呼叫-传送-发送文件(设置需要传送的文件路径和协议xmodem)4、若flash中存在多个i0s吋我们可以手动指定要启动的i0soswitch(config)#boot system flash:ios-filename. binios与配置文件备份switch(config)#int vian 1switch(config-

10、if)#ip add 192. 16& 1. 100 255. 255. 255. 0switch#copy flash: tftpsource filename ? c3500xl-c3h2s-mz. 120-5. 4. wc. 1. binaddress or name of remote host j? 192. 168. 1. 1dest inat ion f i1 ename c3500xl-c3h2s-mz. 120-5. 4. wc. 1. bin?路由器2500系列路由器通过tftp服务器升级ios1、通过console线连接路由器,并通过超级终端或crt软件进行登录。

11、2、在引导监控模式下,进入特权模式,配置以太口的接口地址和掩码,使其与服务器接口 地址在同一子网。router(boot)#config trouter(boot)(config)#int ethemet 0router(boot)(config-if)#ip address 1926& 1.100 3、连通性测试。router(boot)#ping 4、配置tftp服务器。5、从tftp服务器上下载ios。router(boot)#copy tftp flash6重启路由器。router(boot)#reload注:2509与其他路由器

12、不同,在rom内部有一个引导监控模式,内含一个小的映象版本, 当flash中版本损坏时,可以用于正式版本下载。通过console进行ios安装(略)i0s与配置文件备份(略)2600系列路由器通过tftp服务器升级i0s (无i0s情况)1、通过console线连接路由器,并通过超级终端或crt软件进行登录(另将计算机网口与 路由器以太口(一定要与第一个以太口)相连)。2、启动并配置tftp服务器。3、配置交换机,并从tftp服务器上下载ios。4、路由器没有有效版本,路由器启动后将直接进入监控模式。rommon 1>5、路rh器参数配置。rommon2>ip_address= 1

13、92.168.100rommon3>ip_subnet_mask=rommon4>default_gateway= rommon5>tftp_file=ios-file.binrommon 6>tftpdnld6、启动路由器。rommon8> reset通过tftp服务器升级ios (有ios情况)1、通过console线连接路由器,并通过超级终端或crt软件进行登录。2、启动并配置tftp服务器。3、配置路由器、测试,并从tftp服务器上下载ios。router(config)#int f0/0router (co

14、nf ig-if)#ip add 192. 16& 1. 100 255. 255. 255. 0switch#copy tftp flash:source fi1ename ? ios-fi1 ename, binaddress or name of remote host j? 192. 16& 1. 1dest ination filcname ios-filename, bin?通过console进行ios安装1、通过console线连接路rfl器,并通过超级终端或crt软件进行登录。2>与超级终端间通过xmodem协议传输ios。rommon 1 > co

15、py xmodem: flash:ios-filename.bin3、设置超级终端。呼叫->传送->发送文件(设置需要传送的文件路径和协议xmodem)4、启动路由器。rommon8> reset5、若flash中存在多个tos时我们可以手动指定要启动的tosorouter(config)#boot system flash:ios-fi1 ename, binios与配置文件备份(略)防火墙有ios的情况1、在monitor模式下配置相关参数。monitor>interface 0 monitor>address 192.168.100 monitor>s

16、erver 192.168.1j monitor>file pix525.bin monitor>gateway monitor>tftp2、升级激活码。pix (config) #cictivation-key key无ios得情况与路由器的操作类似。h3c设备密码恢复交换机1、恢复控制台登录口令如果用户设置的控制台登录口令丢失,可以通过使用boot菜单中的“跳过配置文件启动” 功能进行恢复。2、使用配置线缆将计算机的串口与h3c系列交换机的console 口进行连接,配置终端仿真 程序,重新启动交换机。在交换机完成自检后,在下面的界面键入进入boo

17、t菜单。(缺省情 况下,进入boot菜单的口令为空。如果用户设置了 boot菜单口令,但该口令已经丢失,请 与代理商联系。)。boot menul download application file to flash2. select application file to boot3. display al 1 files in flash4. delete file from flash5. modify bootrom password6. enter bootrom upgrade menu7. skip current configuration file8. set bootrom

18、 password recovery9. set switch startup mode0. rebootenter your choice(0-9): 7the current setting is running configutstion f订e when reboot.are you sure to skip current configuration file when reboot? yes or no(y/n) y settingdone!3、回到boot菜单后,输入“0”重新启动交换机。4、用户登录后,可以使用display startup命令查看启动配置文件,并使用more命

19、令查 看该配置文件中的控制台口令配置。display startupcurrent startup saved-configuration file:nullnext startup saved-configuration file:flash:/vrpcfg cfgmore vrpcfg.cfg(略)4、如果用户设置的口令为明文,则口令将直接显示在配置文件屮;如果用户设置了密文的 口令,则将显示为转换后的密文字符,此时需要用户自行将密文转换为明文。5、用户可以使用ftp或tftp将启动配置文件发送到pc上,使用文木编辑软件(例如windows 系统的“记事本”或“写字板”软件)对配置文件进行

20、编辑,修改认证口令或修改认证方式 为none,再将配置文件上传到交换机上覆盖原有文件。再次启动后,交换机将使用更新后 的配置文件,用户可以重新进行口令配置,同时其他原有配置不会丢失。6、在第三步操作中选择的“跳过配置文件”选项会保存在bootrom中,如果不进行修改, 则此后每次重启设备都会跳过配置文件。因此,需要用户手工重启设备,并再次进入boot 菜单选择“跳过配置文件”选项,在提示确认的时候输入“n”,才能恢复启动时加载配置 文件。boot menu1. download application file to flash2. select application file to boot3. display al 1 files in flash4. delete file from flash5. modify bootrom password6. enter bootrom upgrade menu7. skip current configuration file8. set bootrom password recovery9. set switch startup mode0. rebootenter your choice(0-9): 7the current setting i

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论