2019-12-04

重置3850交換機(jī)密碼

轉(zhuǎn)自:51CTO博客作者CaiJiantao的原創(chuàng)作品? https://blog.51cto.com/jettcai/2153559?source=dra?

SUMMARY STEPS:

Connect a terminal or PC to the switch.

Set the line speed on the emulation software to 9600 baud.

Power off the standalone switch or the entire switch stack.

Reconnect the power cord to the or the active switch. Within 15 seconds, press the Mode button while

the System LED is still flashing green. Continue pressing the Mode button until all the system LEDs turn

on and remain solid; then release the Mode button.

After recovering the password, reload the switch or the active switch .

Power on the remaining switches in the stack.

DETAILED STEPS:

Step 1 :Connect a terminal or PC to the switch.

? Connect a terminal or a PC with terminal-emulation software to the switch console port. If you are recovering the

password for a switch stack, connect to the console port of the active switch or

? Connect a PC to the Ethernet management port. If you are recovering the password for a switch stack, connect to

the Ethernet management port of a stack member .

Step 2 :Set the line speed on the emulation software to 9600 baud.

Step 3 :Power off the standalone switch or the entire switch stack.

Step 4 :Reconnect the power cord to the or the active switch. Within 15 seconds, press the Mode button while the System LED

is still flashing green. Continue pressing the Mode button until all the system LEDs turn on and remain solid; then release

the Mode button.

?

Switch:

Xmodem file system is available.

Base ethernet MAC Address: 20:37:06:4d:e9:80

Verifying bootloader digital signature.

The system has been interrupted prior to loading the operating

system software, console will be reset to 9600 baud rate.

proceed to the Procedure with Password Recovery Enabled section, and follow the steps:

Step 1 Initialize the flash file system.

Switch: flash_init

Step 2 Ignore the startup configuration with the following command:

Switch: SWITCH_IGNORE_STARTUP_CFG=1

Step 3 Boot the switch with the packages.conf file from flash.

Switch: boot flash:packages.conf

Step 4 Terminate the initial configuration dialog by answering No.

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

Step 5 At the switch prompt, enter privileged EXEC mode.

Switch> enable

Switch#

Step 6 Copy the startup configuration to running configuration.

Switch# copy startup-config running-config Destination filename [running-config]?

Press Return in response to the confirmation prompts. The configuration file is now reloaded, and you can change the

password.

Step 7 Enter global configuration mode and change the enable password.

Switch# configure terminal

Switch(config)#

Step 8 Write the running configuration to the startup configuration file.

Switch# copy running-config startup-config

Step 9 Confirm that manual boot mode is enabled.

Switch# show boot

BOOT variable = flash:packages.conf;

Manual Boot = yes

Enable Break = yes

Step 10 Reload the switch.

Switch# reload

Step 11 Return the Bootloader parameters (previously changed in Steps 2 and 3) to their original values.

Switch: switch: SWITCH_IGNORE_STARTUP_CFG=0

Step 12 Boot the switch with the packages.conf file from flash.

Switch: boot flash:packages.conf

Step 13 After the switch boots up, disable manual boot on the switch.

Switch(config)# no boot manual

?著作權(quán)歸作者所有:來自51CTO博客作者CaiJiantao的原創(chuàng)作品凛剥,如需轉(zhuǎn)載啦膜,請注明出處,否則將追究法律責(zé)任

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市眶掌,隨后出現(xiàn)的幾起案子河泳,更是在濱河造成了極大的恐慌耸别,老刑警劉巖胡陪,帶你破解...
    沈念sama閱讀 217,542評論 6 504
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件件舵,死亡現(xiàn)場離奇詭異骚秦,居然都是意外死亡她倘,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,822評論 3 394
  • 文/潘曉璐 我一進(jìn)店門作箍,熙熙樓的掌柜王于貴愁眉苦臉地迎上來硬梁,“玉大人,你說我怎么就攤上這事胞得∮梗” “怎么了?”我有些...
    開封第一講書人閱讀 163,912評論 0 354
  • 文/不壞的土叔 我叫張陵阶剑,是天一觀的道長跃巡。 經(jīng)常有香客問我,道長牧愁,這世上最難降的妖魔是什么素邪? 我笑而不...
    開封第一講書人閱讀 58,449評論 1 293
  • 正文 為了忘掉前任,我火速辦了婚禮猪半,結(jié)果婚禮上兔朦,老公的妹妹穿的比我還像新娘偷线。我一直安慰自己,他們只是感情好烘绽,可當(dāng)我...
    茶點故事閱讀 67,500評論 6 392
  • 文/花漫 我一把揭開白布淋昭。 她就那樣靜靜地躺著,像睡著了一般安接。 火紅的嫁衣襯著肌膚如雪翔忽。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,370評論 1 302
  • 那天盏檐,我揣著相機(jī)與錄音歇式,去河邊找鬼。 笑死胡野,一個胖子當(dāng)著我的面吹牛材失,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播硫豆,決...
    沈念sama閱讀 40,193評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼龙巨,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了熊响?” 一聲冷哼從身側(cè)響起旨别,我...
    開封第一講書人閱讀 39,074評論 0 276
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎汗茄,沒想到半個月后秸弛,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,505評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡洪碳,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,722評論 3 335
  • 正文 我和宋清朗相戀三年递览,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片瞳腌。...
    茶點故事閱讀 39,841評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡绞铃,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出嫂侍,到底是詐尸還是另有隱情憎兽,我是刑警寧澤,帶...
    沈念sama閱讀 35,569評論 5 345
  • 正文 年R本政府宣布吵冒,位于F島的核電站纯命,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏痹栖。R本人自食惡果不足惜亿汞,卻給世界環(huán)境...
    茶點故事閱讀 41,168評論 3 328
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望揪阿。 院中可真熱鬧疗我,春花似錦咆畏、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,783評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至麦牺,卻和暖如春钮蛛,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背剖膳。 一陣腳步聲響...
    開封第一講書人閱讀 32,918評論 1 269
  • 我被黑心中介騙來泰國打工魏颓, 沒想到剛下飛機(jī)就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人吱晒。 一個月前我還...
    沈念sama閱讀 47,962評論 2 370
  • 正文 我出身青樓甸饱,卻偏偏與公主長得像,于是被迫代替她去往敵國和親仑濒。 傳聞我的和親對象是個殘疾皇子叹话,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,781評論 2 354

推薦閱讀更多精彩內(nèi)容