华为交换机console的登录密码设置

华为/eNSP 5715 0 2019-10-12

华为交换机console的登录密码设置

说明:有的交换机只有AUX口的,那么跟设置console口命令一样。

以下简单3条命令配置console密码,如下:

user-interface console 0
authentication-mode password
set authentication password cipher 123456

以下是其它供参考:

# 以登录用户界面的认证方式为密码认证,密码为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验证
(设置密码验证的密码)
[HUAWEI-ui-vty0-4]set authentication passowrd{cipher\simple}
cipher:加密的
simple:简单的

(设置AAA验证)
[HUAWEI-ui-vty0-4]authentication-mode aaa
进入系统试图
[HUAWEI-ui-vty0-4]aaa      //进入AAA视图
[HUAWEI-aaa]local-user 
[HUAWEI-aaa]local-user service-type ssh  配置接入类型为SSH
[HUAWEI]rsa local-key-pair create 产生本地rsa秘钥,进行SSH时配置

上一篇:华为S5700交换机初始化和配置SSH和TELNET远程登录方法

下一篇:华为交换机堆叠和集群配置

讨论数量:0

请先登录再发表讨论。 2024-03-29

天涯网魂
3 杠 5 星
TA 的文章
TA 的随言
TA 的资源链