5 IOS映像和密码恢复.ppt_第1页
5 IOS映像和密码恢复.ppt_第2页
5 IOS映像和密码恢复.ppt_第3页
5 IOS映像和密码恢复.ppt_第4页
5 IOS映像和密码恢复.ppt_第5页
已阅读5页,还剩18页未读 继续免费阅读

下载本文档

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

文档简介

1、IOS映像和密码恢复IOS Image and Password Recovery,福州软件职业技术学院计算机系网络系统管理专业,教学目标( Objectives ),1.路由器启动顺序(Router Startup Sequence ) 2.路由器加载IOS顺序 (Router Load IOS Sequence ) 3.配置路由器寄存器 (Configuring Router Configuration Register ) 4.路由器密码破解(Router Password Recovery) 5. IOS和配置文件备份 (Backup IOS and Configuration Fil

2、e) 6. IOS的恢复或升级 ( Recovery or Upgrade IOS ),Cisco IOS,Internetwork Operating System Software 互联网操作系统,Cisco IOS,启动顺序预览(An Overview of System Startup),上电自检(Power on self test (POST)) 装载引导程序(Load and run bootstrap code) 查找IOS(Find the IOS software) 装载IOS( Load the IOS software) 查找配置文件(Find the configur

3、ation) 装载配置文件(Load the configuration) 运行(Run),启动顺序( Startup Sequence ),RAM,加载 IOS顺序( Load IOS Sequence ),show version,show startup-config,Console,Config register 配置寄存器,NVRAM,1.在配置文件中,boot system命令指定了查找顺序,路由器会依次使用 Global configuration mode boot system commands can be specified to enter fallback sourc

4、es for the router to use in sequence. The router will use these commands as needed, in sequence, when it restarts.,2.否则,路由器会使用自己的Flash中的IOS软件 If NVRAM lacks boot system commands that the router can use, the system by default uses the Cisco IOS software in flash memory.,定位IOS( Locating the Cisco IOS

5、Software),配置寄存器( Configuration Registers ) 更改NVRAM中的寄存器,会改变Cisco IOS软件的基本选项,可以指定从哪里引导IOS,ROM功能( ROM Functions ),ROM,Bootstrap,Mini IOS,ROMmonitor,POST,show version,Console,Mini IOSRXBOOT模式 ROM monitorROMMON模式,查看当前配置寄存器的值(Determining the Current Configuration Register Value),Router#show version Cisco

6、 Internetwork Operating System Software IOS (tm) C2600 Software (C2600-I-M), Version 12.2(8)T1, RELEASE SOFTWARE (fc2) TAC Support: Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Sat 30-Mar-02 20:08 by ccai Image text-base: 0 x80008074, data-base: 0 x80A29E20 ROM: System Bootstrap, Version

7、12.2(7r) cmong 7r, RELEASE SOFTWARE (fc1) Router uptime is 5 minutes System returned to ROM by reload System image file is flash:c2600-i-mz.122-8.T1.bin“ Configuration register is 0 x2102,配置寄存器组成(Component of Configuration Registers ),寄存器组成:4位16进制 格式:0 xABCD,D,C,B,A,D: 启动域 C:使得系统软件忽略NVRAM中的内容 ,关键位“6

8、” (1)值为,当路由器启动后会从里面的配置文件调到里运行 (2)值为,路由器启动后会忽略的配置 A:13位,网络启动次数,值为1 5次 值为0无数次,15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0,实例 2 1 0 2,Console口 速率设定表 12 11 速率 0 0 9600 0 1 4800 0 1200 1 1 2400,启动域取值( Boot Field Values),配置寄存器启动域值 Value of Boot Field,0 x0,0 x2 to 0 xF,0 x1,描述 Description,路由器启动后会进入ROMMON模式,路由器属于

9、正常启动,如果路由器有FLASH,2是缺省值,路由器从ROM中启动,进入RXBOOT模式(FLASH空),Router#configure terminal Router(config)#config-register 0 x2102 Ctrl-Z Router#reload,Case Study(1),分别按下面步骤修改寄存器的值,然后重新启动,并比较不同点: 1.将寄存器的值修改为0 x2100 2.将寄存器的值修改为0 x2101 3.将寄存器的值修改为0 x2102 4.将寄存器的值修改为0 x2142,Configuration register value in show vers

10、ion 0 x2102 :工业默认值 0 x2142 :从FLASH中启动,但不使用NVRAM中的配置文件(用于口令恢复),路由器密码破解(Password Recovery),Password?,I dont know. So,how can I do?,密码恢复,破解步骤(Steps),准备TFTP服务器(Preparing for TFTP),Router# show flash System flash directory: File Length Name/status 1 5848552 c2600-i-mz.122-8.T1.bin 5848616 bytes used, 109

11、28600 available, 16777216 total 16384K bytes of processor board System flash (Read/Write),确定TFTP服务器有足够的空间 Verify that Flash memory has roomfor the Cisco IOS image,TFTP Server,备份IOS (Backup IOS ),从网络升级IOS(Upgrading IOS from the Network),备份配置文件到TFTP服务器(Backup Running-config to Tftp Server),Network ser

12、ver,running-config,R1#copy running-config tftp Address or name of remote host ? Destination filename r1-confg? ! 691 bytes copied in 0.725 secs,从TFTP下载配置文件(Update Running-config from Tftp Server),Network server,running-config,R1#copy tftp running-config Address or name of remote host ? 10.1

13、.1.2 Source filename ? r1-confg Destination filename running-config? Accessing t/r1-confg. Loading r1-confg from (via FastEthernet0/0): ! OK - 691/1024 bytes 691 bytes copied in 0.854 secs,Case Study (2),1.Cisco IOS 备份 2.running-config备份与加载,fa0/0:/24,PC1:/24 GW:,R1,TFTP SERVER,深入实验(Further Study ),fa0/0:/24,PC1:/24 GW:,R1,TFTP SERVER,R2,Case Study(4),Router,Networkserver,从TFTP Server加载IOS,思考题(Questions),1.Cisco 默认加载IOS的顺序是什么? 2.配置寄存器的启动域的0,1和2所

温馨提示

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

评论

0/150

提交评论