变态重口极致另类在线-波多久久夜色精品国产-波多野结衣在线观看一区-波多野结衣在线观看一区二区-污污的网站免费阅读-污污视频网址

當前位置:首頁文章首頁 IT學院 IT技術

cisco路由器密碼全攻略勝一籌

作者:  來源:  發布時間:2012-1-11 11:55:45  點擊:

1、首先在試驗之前我們要理解路由器的工作原理:路由器在開機時首先會進行POST,檢查硬件無故障后先讀取ROM里的BootStrap程序進行初步引導。

2、初步引導完成后,嘗試定位并讀取完整的IOS鏡像文件。在這里,路由器將會首先在FLASH中查找IOS文件,如果找到了IOS文件的話,那么讀取IOS文件,引導路由器。

4. 如果在FLASH中沒有找到IOS文件的話,那么路由器將會進入BOOT模式,在BOOT模式下可以使用TFTP上的IOS文件。或者使用TFTP/X-MODEM來給路由器的FLASH中傳一個IOS文件(一般我們把這個過程叫做灌IOS)。傳輸完畢后重新啟動路由器,路由器就可以正常啟動到CLI模式。

5. 當路由器初始化完成IOS文件后,就會開始在NVRAM中查找STARTUP-CONFIG文件,STARTUP-CONFIG叫做啟動配置文件。該文件里保存了我們對路由器所做的所有的配置和修改。當路由器找到了這個文件后,路由器就會加載該文件里的所有配置,并且根據配置來學習、生成、維護路由表,并將所有的配置加載到RAM(路由器的內存)里后,進入用戶模式,最終完成啟動過程。

6. 如果在NVRAM里沒有STARTUP-CONFIG文件,則路由器會進入詢問配置模式,也就是俗稱的問答配置模式,在該模式下所有關于路由器的配置都可以以問答的形式進行配置。

 


在上面第5步我們會有所發現,只要我們跳過加載startup-config文件,不就是可以不需要密碼進入了?因為我們所有的配置文件running-config完成配置后都需要cp running-config startup-config將內存的配置拷貝到NVRAM,這樣才會保證重新加電時配置丟失,這里我們可以通過修改寄存器的值來實現這一過程。

下面是實驗過程:

a、在打開路由器開關時,按下ctrl+break鍵進入ROM監控模式

monitor: command "boot" aborted due to user interrupt

rommon 1 >

b、修改寄存器值ox2102為ox2142

rommon 1 > confreg 0x2142

c、重啟路由器

rommon 2 >

System Bootstrap, Version 12.2(7r)XM2, RELEASE SOFTWARE (fc1)

TAC Support: http://www.cisco.com/tac

Copyright (c) 2003 by cisco Systems,

C1700 platform with 65536 Kbytes of main memory

monitor: command "boot" aborted due to user interrupt

rommon 1 > confreg 0x2142

rommon 2 > reset

?

System Bootstrap, Version 12.2(7r)XM2, RELEASE SOFTWARE (fc1)

TAC Support: http://www.cisco.com/tac

Copyright (c) 2003 by cisco Systems, Inc.

C1700 platform with 65536 Kbytes of main memory

program load complete, entry point: 0x80008000, size: 0x553334

Self decompressing the image : #################################################

################################################### [OK]

Smart Init is enabled

smart init is sizing iomem

ID MEMORY_REQ TYPE

MainBoard 0X00027A80 1721

0X000F3BB0 public buffer pools

0X00211000 public particle pools

0X0039 0X0000DC00 Card in slot 0

0X0012 0X0001B800 Card in slot 1

TOTAL: 0X00355A30

If any of the above Memory Requirements are

"UNKNOWN", you may be using an unsupported

configuration or there is a software problem

system operation may be compromised.


Allocating additional 8035419 bytes to IO Memory.

PMem allocated: 55576949 bytes; IOMem allocated: 11531915 bytes

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) C1700 Software (C1700-Y-M), Version 12.3(5b), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2004 by cisco Systems, Inc.

Compiled Fri 16-Jan-04 05:16 by kellythw

Image text-base: 0x80008120, data-base: 0x809FA874

cisco 1721 (MPC860P) processor (revision 0x300) with 54274K/11262K bytes of memo

ry.

Processor board ID FOC080503Y4 (2190598144), with hardware revision 0000

MPC860P processor: part number 5, mask 2

Bridging software.

X.25 software, Version 3.0.0.

1 Ethernet/IEEE 802.3 interface(s)

1 FastEthernet/IEEE 802.3 interface(s)

2 Serial(sync/async) network interface(s)

32K bytes of non-volatile configuration memory.

32768K bytes of processor board System flash (Read/Write)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]:

d、選擇no,進入用戶模式,enable進入特權模式,將startup-config文件復制到running-config文件中

Router>

Router>en

Router#copy start run

Destination filename [running-config]?

592 bytes copied in 0.620 secs (955 bytes/sec)

Router#

e、修改控制臺口令和特權模式口令

Router#config t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#li

Router(config)#line co

Router(config)#line console 0

Router(config-line)#login

Router(config-line)#pass

Router(config-line)#password 123

Router(config)#ena

Router(config)#enable pa

Router(config)#enable password 123

f、修改后保存配置文件

Router#copy run start

Destination filename [startup-config]?

Building configuration...

[OK]

Router#

文章評論

軟件按字母排列: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
主站蜘蛛池模板: 黄色影片观看 | 成年人免费观看的视频 | 三级黄色毛片网站 | 2018天天操天天干 | 美女网站色黄 | 成年人在线观看免费视频 | 秋霞97| 国产免费叼嘿在线观看 | 国内精品久久久久久久影视麻豆 | 视频成人永久免费看 | 欧美日韩视频精品一区二区 | 77788色淫视频免费观看 | 欧美日在线 | 成人亚洲欧美日韩在线 | 黄色三级在线视频 | 日韩美女片视频 | 黄色骚视频 | 亚洲欧洲日韩 | 中文日本在线 | 日本欧美强乱视频在线 | 免费网站国产 | 一级毛片女人喷潮 | 永久黄网站色视频免费 | 最近最好看2019年中文字幕 | 高h喷水荡肉爽文np肉色文 | 亚洲欧美乱综合图片区小说区 | 九九热视频精品在线 | 国产精品成人影院 | 日本全身露裸无遮挡黄漫画 | 国内精品久久久久影 | 久播影院免费理论片 | 欧美精选在线 | 亚洲午夜视频在线 | 天天夜夜狠狠一区二区三区 | 亚洲综合区小说区激情区噜噜 | 国产黄色大片在线观看 | 先锋悠悠xfplay色资源网站 | 国产一级aaa全黄毛片 | 一级做a爱片特黄在线观看 一级做a爱片就在线看 | 青青草成人免费 | 欧美视频一区二区专区 |