设为首页收藏本站language 语言切换
查看: 2174|回复: 0
收起左侧

[求助] Cisco路由器口令的恢复(800)

[复制链接]
发表于 2009-8-14 15:55:29 | 显示全部楼层 |阅读模式
Description
This document describes the password recovery procedure for the Cisco 800.
Step-by-Step Procedure
Attach a terminal or PC with terminal emulation to the console port of the router. Use the following terminal settings:
9600 baud rate
No parity
8 data bits
1 stop bit
The required console cable specifications are described in Cabling Guide for RJ-45 Console and AUX Ports (Cisco's 1000 series, 2500 series, and AS5100).
Type show version and record the setting of the configuration register. Click here to see output of a show version command.
The configuration register setting is usually 0x2102 or 0x102.
Using the switch, turn off the router and then turn it on.
Press Break on the terminal keyboard within 60 seconds of the powerup to put the router into ROMMON.
If the break sequence doesn't work, see Possible Key Combinations for Break Sequence During Password Recovery for other key combinations.
Type set ios-conf = 142 at the boot# prompt.
If Flash is intact, the best setting is 0x42.
If the Flash is not installed or is erased, use the 0x41 setting. Note that with this setting you can view or erase the configuration but cannot change the password.
Type boot at the boot#> prompt to initialize the router.
The router reboots but ignores its saved configuration.
Type no after each setup question or press Ctrl-C to skip the initial setup procedure.
Type enable at the Router> prompt.
You'll be in enable mode and see the Router# prompt.
Important Type config mem or copy start running to copy the nonvolatile RAM (NVRAM) into memory. Do not type config term.
Type wr term or show running.
The show running and wr term commands show the configuration of the router. In this configuration you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown. Also, you can see the passwords either in encrypted or unencrypted format.
Type config term and make the changes.
The prompt is now hostname(config)#.
Type enable secret <password>.
Issue the no shutdown command on every interface that is used. If you issue a show ip interface brief command, every interface that you want to use should be "up up".
Type config-register 0x2102, or the value you recorded in step 2.
Press Ctrl-z to leave the configuration mode.
The prompt is now hostname#.
16.Type write mem or copy running startup to commit the changes.
Router>show version
Cisco Internetwork Operating System Software
IOS (tm) C800 Software (C800-Y6-MW), Version 12.1(1), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Tue 14-Mar-00 16:01 by cmong
Image text-base: 0x000EA000, data-base: 0x005D3000
ROM: TinyROM version 1.0(3)
Router uptime is 2 days, 3 hours, 8 minutes
System returned to ROM by power-on
System image file is "flash:c800-y6-mw.121-1"
Cisco C801 (MPC850) processor (revision 0) with 51428K bytes of virtual memory.
Processor board ID JAD03050229
CPU part number 33
Bridging software.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface(s)
1 ISDN Basic Rate interface(s)
12M bytes of physical memory (DRAM)
8K bytes of non-volatile configuration memory
8M bytes of flash on board (4M from flash card)
Configuration register is 0x2102
!--- The router was just powercycled and during
bootup a break sequence was sent to the router.
TinyROM version 1.0(3)
Fri Apr 30 18:22:12 1999
Copyright (c) 1998-1999 by cisco Systems, Inc.
All rights reserved.
POST ......... OK. 12MB DRAM, 8MB Flash.
boot# set ios-conf = 142
boot# boot
Booting "c800-y6-mw.121-1" ...,
        Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
      cisco Systems, Inc.
      170 West Tasman Drive
      San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS (tm) C800 Software (C800-Y6-MW), Version
12.1(1), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Tue 14-Mar-00 16:01 by cmong
Image text-base: 0x000EA000, data-base: 0x005D3000
Cisco C801 (MPC850) processor (revision 0) with 51428K bytes of virtual memory.
Processor board ID JAD03050229
CPU part number 33
Bridging software.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface(s)
1 ISDN Basic Rate interface(s)
12M bytes of physical memory (DRAM)
8K bytes of non-volatile configuration memory
8M bytes of flash on board (4M from flash card)

    --- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: n

Press RETURN to get started! (press Enter)
00:01:45: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C800 Software (C800-Y6-MW), Version 12.1(1), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Tue 14-Mar-00 16:01 cmong
00:01:45: %LINK-5-CHANGED: Interface BRI0, changed state to administratively down
00:01:45: %LINK-5-CHANGED: Interface Ethernet0, changed state to administratively down
00:01:46: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0, changed state to down
00:01:46: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to down
Router>en
Router#copy start run
Destination filename [running-config]? (press Enter)
2010 bytes copied in 32.120 secs (62 bytes/sec)
Router#
Router#
00:02:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to down
00:02:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state to down
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret cisco
Router(config)#
00:03:39: %SYS-5-CONFIG_I: Configured from console by console
Router#sh ip int brief
Interface   IP-Address      OK?    Method   Status                 Protocol
BRI0        unassigned      YES    TFTP     administratively down  down
BRI0:1      unassigned      YES    unset    administratively down  down
BRI0:2      unassigned      YES    unset    administratively down  down
Dialer0     unassigned      YES    TFTP     up                     up
Dialer1     192.168.32.1    YES    TFTP     up                     up
Ethernet0   10.200.40.65    YES    TFTP     administratively down  down
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int e 0
Router(config-if)#no shut
Router(config-if)#
00:04:02: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
00:04:03: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up
Router(config)#config-reg 0x2102
Router(config)#^Z
Router#
00:04:36: %SYS-5-CONFIG_I: Configured from console by console
Router#write mem
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-2 20:46 , Processed in 0.051086 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表