開機時按下空白鍵,出現 loader> 提示符號後,輸入 boot -s 進入單人模式
Hit [Enter] to boot immediately, or space bar for command prompt.
Type '?' for a list of commands, 'help' for more detailed help.
loader> boot -s

出現以下畫面,輸入 recovery
Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery

輸入 configure
root@switch> configure
Entering configuration mode

{linecard:0}[edit]

輸入 set system root-authentication plain-text-password ,並重複輸入兩次新密碼
root@switch# set system root-authentication plain-text-password
New password:
Retype new password:

{linecard:0}[edit]

輸入 commit
root@switch# commit
commit complete

離開 configuration mode
root@switch# exit
Exiting configuration mode

離開 operational mode
root@switch> exit

回答 y 重開機
Reboot the system? [y/n]

創作者介紹
創作者 helloworld 的頭像
helloworld

Hello World

helloworld 發表在 痞客邦 留言(0) 人氣(4)