3C科技 娛樂遊戲 美食旅遊 時尚美妝 親子育兒 生活休閒 金融理財 健康運動 寰宇綜合

Zi 字媒體

2017-07-25T20:27:27+00:00
加入好友
邊做邊學,順便留個筆記,若有錯誤請不吝指教。 第一次使用Juniper設備需使用console連接,Juniper遠端管理如SSH、Telnet等預設是關閉的,開啟方式可參考:Juniper Junos開啟遠端管理(SSH、telnet、ftp、Web) 本篇主要說明 JunOS root 帳號之密碼設定 其餘使用者之帳號設定請參考:Juniper Junos使用者帳號設定     開啟設備後等到他跳出”login:”時使用root帳號及空白密碼登入登入後可以輸入”cli”來進入命令列模式 root% cliroot> 在命令列模式下可以輸入”show configuration”來顯示設定檔(同Cisco的”show running-config”)在命令列模式可以輸入”configure”或是”edit”進入設定模式 cli> configure[edit]root# 在設定模式下使用下列指令更改root密碼為plain-text-password: root# set system root-authentication plain-text-passwordNew Password: [type password here]Retype new password: [retype password here] 在設定模式下使用下列指令更改root密碼為encrypted-password: root# set root-authentication encrypted-password [password] 需要特別注意的是plain-text-password在config檔中是會顯示為加密內容的,而encrypted-password則會明文顯示,故除非密碼已加密,並且您輸入的是密碼的加密版本,否則請勿使用encrypted-password選項。完成設定後需要下”commit”來使設定生效,更多關於commit指令的內容可以參考:Juniper Junos提交設定(commit) root# commitconfiguration check succeedscommit complete

本文由KerKerwebsite提供 原文連結

寫了 5860316篇文章,獲得 23313次喜歡
精彩推薦