日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

IOS軟件中路由器的口令設(shè)置和口令恢復(fù)( 二 )


路由器的ROM中除固化了一種功能有限的IOS之外 , 還有一種非IOS的簡單操作系統(tǒng) , 同IOS一樣 , 也可以被加載 , 加載之后進入的模式被稱為ROM Monitor模式 。ROM Mintor模式通常被用于對設(shè)備進行低級調(diào)試和口令恢復(fù) 。在網(wǎng)絡(luò)設(shè)備的一般性調(diào)試中很少用到ROMMonitor模式 。這是許多人對它不熟悉的主要原因 。
以PC機的超級終端訪問路由器 , 在路由器加電后的60s內(nèi)按下Break鍵 (或Ctrl Break鍵)就能進入到ROM Monitor模式下 , 口令恢復(fù)的操作便可以進行了 。
監(jiān)測清單2-5記錄了對Cisco2500系列路由器口令恢復(fù)操作的全過程 , 其中與口令恢復(fù)操作無關(guān)的內(nèi)容己被刪節(jié) 。
監(jiān)測清單2-5 Cisco 2500系列路由器的口令恢復(fù)操作
第1段: ROM Monitor
System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
Copyright (c) 1986-1995 by cisco Systems
2500 processor with 16384 Kbytes of main memory
(按下Break鍵, 進入ROM Monitor模式)
Abort at Ox1OEA81C (PC)
>?
$ Toggle cache state
B [filename] [TFTP Server IP address I TFTP Server Name]
Load and execute system image from ROM or from TFTP server
C [address] Continue execution [optional address]
D/S M LV Deposit value V of size S into location L with modifier M
E/S M L Examine location L with size S with modifier M
G [address] Begin execution
H Help for commands
I Initialize
K Stack trace
L [filename] [TFTP Server IP address ! TFTP Server Name]
Load system image from ROM or from TFTP server, but do not
begin execution
O Show configuration register option settings
P Set the break point
S Single step next instrUCtion
T function Test device (? for help)
Deposit and Examine sizes may be B (byte), L (long) or S (short).
Modifiers may be R (register) or S (byte swap).
Register names are: DO-D7, AO-A6, SS, US, SR, and PC
>0
Configuration register=0xFFFF2102atlast boot
Bit# Configuration register option settings:
15 Diagnostic mode disabled
14 IP broadcasts do not have network numbers
13 Boot default ROM software if network boot fails
12-11 Console speed is 9600 baud
10 IP broadcasts with ones
08 Break disabled
07 OEM disabled
06 Ignore configuration disabled
03-OOBoot file is cisco2-2500 (or "boot system" command)
>o/r 0x2142
>i
第2段:路由器正常啟動
(以下為路由器的正常啟動過程)
System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
Copyright (c) 1986-1995 by cisco Systems
...(路由器啟動報告,省略)
---System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>en
Router#sh version
Cisco Internetwork Operating System Softwaree 0
... (此處為版本,接口等信息,省略)
Router#sh startup-config
Using 455 out of 32762 bytes
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
enable password cisco
... (此處省略多行)
!
line con 0
password ciscol
login
line aux 0
line vty 0 4
!
end
Router#copy start run
Destination filename [running-config]?
455 bytes copied in 4.708 sees (113 bytes/sec)
Router#conf t
Router(coiifig)#coiifig-register 0x2102
Router(config)#end
Router#sh version
Cisco Internetwork Operating System Softwaree 0
...(此處為版本、接口等信息 , 省略)
Configuration register is 0x2142(will be 0x2102 at next reload)
(1)進入路由器ROM Monitor模式后 。用問號可以查看其所有命令 。其中"o"命令的執(zhí)行結(jié)果顯示當前配置寄存器值為0xFFFF2l02 。

推薦閱讀