温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

华为交换机配置consol密码及vty密码

发布时间:2020-04-08 04:46:39 来源:网络 阅读:658 作者:tianweitt 栏目:网络安全

# 以登录用户界面的认证方式为密码认证,密码为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时配置


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI