溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

華為交換機配置consol密碼及vty密碼

發(fā)布時間:2020-04-08 04:46:39 來源:網(wǎng)絡(luò) 閱讀:674 作者:tianweitt 欄目:網(wǎng)絡(luò)安全

# 以登錄用戶界面的認證方式為密碼認證,密碼為Huawei@123為例,配置如下。

<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher Huawei@123
[HUAWEI-ui-console0] return<HUAWEI> save

# 以登錄用戶界面的認證方式為AAA認證,用戶名為admin123,密碼為Huawei@123為例,配置如下。
<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode aaa
[HUAWEI-ui-console0] quit
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123
[HUAWEI-aaa] local-user admin123 service-type terminal
[HUAWEI-aaa] return
<HUAWEI> save


配置vty
[HUAWEI]user-interface vty 0 4  (進入vty用戶界面)
[HUAWEI-ui-vty0-4]authentication-mode ?
        none:不驗證
        password:密碼驗證
        aaa:AAA驗證
(設(shè)置密碼驗證的密碼)
[HUAWEI-ui-vty0-4]set authentication passowrd{cipher\simple}
cipher:加密的
simple:簡單的

(設(shè)置AAA驗證)
[HUAWEI-ui-vty0-4]authentication-mode aaa
進入系統(tǒng)試圖
[HUAWEI-ui-vty0-4]aaa      //進入AAA視圖
[HUAWEI-aaa]local-user 
[HUAWEI-aaa]local-user  service-type ssh  配置接入類型為SSH
[HUAWEI]rsa local-key-pair create 產(chǎn)生本地rsa秘鑰,進行SSH時配置


向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI