升木 发表于 2018-7-14 15:36:40

Cisco路由器在rommon模式下几种恢复IOS的方法

  IP_ADDRESS改为192.168.1.2 你就直接敲rommon 2 >IP_ADDRESS=192.168.1.2)  4.指定要恢复的IOS文件名,并保证该文件在Cisco TFTP Server根目录下。
  Rommon 3 > TFTP_FILE=/c2600-i-mz.121-3.T.bin
  不要忘记加上扩展文件名.bin
  5.开始恢复IOS文件:
  rommon 4 > tftpdnld
  执行该命令从TFTF Server下载IOS文件到flash,该命令仅适用于Cisco 2600系列路由器。
  IP_ADDRESS: 192.168.1.1
  IP_SUBNET_MASK: 255.255.255.0
  DEFAULT_GATEWAY: 192.168.1.2
  TFTP_SERVER: 192.168.1.2
  TFTP_FILE: /c2600-i-mz.121-3.T.bin
  Invoke this command for disaster recovery only.
  WARNING: all existing data in all partitions on flash will be lost!
  Do you wish to continue? y/n: : y
  Receiving /c2600-i-mz.121-3.T.bin from 192.168.1.2(确认后,路由器开始下载IOS文件,省略多行。)
  File reception completed.
  Copying file /c2600-i-mz.121-3.T.bin to flash.
  Erasing flash at 0x60fc0000
  program flash location 0x60160000
  6.重新启动路由器,运行新的IOS
  rommon 5 > reset
  (下面为正常的启动过程,省略)
  提示:Cisco ROM Monitor模式下还有其他很多不同功能的命令,我们可以使用它们对路由器进行一系列的测试与排错,
页: [1]
查看完整版本: Cisco路由器在rommon模式下几种恢复IOS的方法