取消
显示结果 
搜索替代 
您的意思是: 
cancel
4586
查看次数
26
有帮助
1
评论
xupeng
Cisco Employee
Cisco Employee
本帖最后由 xupeng 于 2018-6-18 21:53 编辑
引擎crash后,卡在ROMMON模式无法加载IOS, 那么问题来了,如何在ROMMON模式导出crashinfo?

可以使用以下方法导出文件:

Rommon> priv //进入ROMMON的特权模式
//Issue the dev command to see all file systems,
Dir the directory you want to check.
To print a crash file to console, issue "cat directory:filename"
example:
Rommon> cat bootdisk:crashinfo_2012-182905-UTC //使用cat命令将文件导出
Example:
==========
rommon 3 > priv
You now have access to the full set of monitor commands.
Warning: some commands will allow you to destroy your
configuration and/or system images and could render
the machine unbootable.
rommon 4 > dev
Devices in device table:
id name
net: network
bootrom: Boot ROM
bootdisk: PCMCIA boot disk (device is file system capable)
disk0: PCMCIA disk 0 (device is file system capable)
disk1: PCMCIA disk 1 (device is file system capable)
mem: main memory (physical)
mkseg1: main memory (virtual)
rommon 5 > dir bootdisk:
Initializing ATA monitor library...
Directory of bootdisk:
4099 148461988 -rw- c7600rsp72043-advipservicesk9-mz.122-33.SRE9
2 33554432 -rw- sea_log.dat
4098 2848 -rw- backup
22147 46159 -rw- cmarc1.cfg
30475 146875300 -rw- c7600rsp72043-advipservicesk9-mz.122-33.SRE
rommon 6 > cat bootdisk:backup
Initializing ATA monitor library...
!
! Last configuration change at 15:56:13 UTC Sun Feb 16 2014
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
service counters max age 10
!



========================
请手动点个赞,支持一下楼主,谢谢大家
========================

评论
yangkai_716
Spotlight
Spotlight
很详细,感谢楼主分享
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接