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

Cisco Catalyst交換機密碼恢復策略


假如交換機的login密碼忘記了咋辦啊?(T-T)
別急別急,只要你有PC,有類似超級終端(Hyper Terminal)這樣是終端程序,連接到交換機的console口,那么密碼的恢復就N簡單了.
1.對于Catalyst 2900/3500XL系列來說:
拔下交換機的電源線,然后按住交換機的Mode按鈕,再重新插上交換機的電源線.直到端口Port 1x的LED熄滅之后釋放Mode按鈕.
就這么簡單,別告訴我你不知道Mode按鈕在哪啊-_-#
2.對于Catalyst 2940/2950L系列來說:
拔下交換機的電源線,然后按住交換機的Mode按鈕,再重新插上交換機的電源線.直到STAT的LED熄滅之后釋放Mode按鈕.
3.對于Catalyst 2955系列來說:
Catalyst 2955沒有沒有外部的Mode按鈕,因此就不能使用之前的那種方法來進行密碼恢復.在交換機啟動時,對于Windows系列的PC,按下Ctrl Break鍵;對于UNIX系列的工作站,按下Ctrl C.如下:
C2955 Boot Loader (C2955?HBOOT?M) Version 12.1(0.0.514), CISCO DEVELOPMENT TEST
VERSION
Compiled Fri 13?Dec?02 17:38 by madison
WS?C2955T?12 starting...
Base ethernet MAC Address: 00:0b:be:b6:ee:00
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 19 files, 2 Directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 4510720
flashfs[0]: Bytes available: 3230720
flashfs[0]: flashfs fsck took 7 seconds.
...done initializing flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
/---接下來交換機會在15秒內(nèi)自動啟動,等出現(xiàn)該信息之后,按下Ctrl Break鍵或Ctrl C鍵----/
The system has been interrupted prior to initializing the flash file system to finish
loading the operating system software:
flash_init
load_helper
bootswitch:
接下來輸入flash_init命令:
switch:flash_init
Initializing Flash...
flashfs[0]: 143 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 3612672
flashfs[0]: Bytes used: 2729472
flashfs[0]: Bytes available: 883200
flashfs[0]: flashfs fsck took 86 seconds
....done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
switch:
接著輸入load_helper命令:
switch:load_helper
switch:
再輸入dir flash:命令顯示交換機的文件系統(tǒng):
switch:dir flash:
Directory of flash:/
2 ?rwx 1803357c3500xl?c3h2s?mz.120?5.WC7.bin
4 ?rwx 1131config.text
5 ?rwx 109info
6 ?rwx 389env_vars
7 drwx 640Html
18 ?rwx 109info.ver
403968 bytes available (3208704 bytes used)
switch:
把配置文件重命名:
switch:rename flash:config.text flash:config.old
switch:
輸入boot命令啟動交換機:
switch:boot
Loading "flash:c3500xl?c3h2s?mz.120?5.WC7.bin"...###############################
################################################################################
######################################################################
File "flash:c3500xl?c3h2s?mz.120?5.WC7.bin" uncompressed and installed, entry po
int: 0x3000
executing...
(略)
不進入setup模式:
??? System Configuration Dialog ???
At any point you may enter a question mark "?" for help.
Use ctrl?c to abort configuration dialog at any prompt.
Default settings are in square brackets "[]".
Continue with configuration dialog? [yes/no]: n
進入特權模式,恢復原始的配置文件:
Switch#rename flash:config.old flash:config.text
Destination filename [config.text]
Switch#
把配置文件保存在內(nèi)存里:
Switch#copy flash:config.text system:running?config

推薦閱讀