Setup Guide
入門指南 59
設定初始 Telnet 密碼
要設定初始的 Telnet 密碼,請輸入以下指令:
console(config)#aaa authentication login default line
console(config)#aaa authentication enable default line
console(config)#line telnet
console(config-line)#login authentication default
console(config-line)#enable authentication default
console(config-line)#password pass1234
•
透過
Telnet
作業階段首次登入交換機時,請在密碼提示符後輸入
pass1234
。
•
將交換機的模式變更為啟用時,請輸入
pass1234
。
設定初始 HTTP 密碼
要設定初始 HTTP 密碼,請輸入以下指令:
console(config)#ip http authentication local
console(config)#username admin password user1234 level 15
設定初始 HTTPS 密碼
要設定初始 HTTPS 密碼,請輸入以下指令:
console(config)#ip https authentication local
註:您應在每次升級交換機的控制軟體應用程式 ( 安裝新版本 ) 時產生新的 crypto 證書。
設定為透過主控台、Telnet 或 SSH 作業階段使用 HTTPS 作業階段時,只需輸入一
次以下指令。
註:在 Web 瀏覽器中啟用 SSL 2.0 或更高版本以顯示頁面內容。
console(config)#crypto certificate 1 generate
console(config)#ip https server
註:Http 和 Https 服務需要的存取權限級別為 15,並直接連接至設定級別的存取。