0
点赞
收藏
分享

微信扫一扫

华为-设备登录配置

一.配置Console登录设备

[Switch] user-interface console 0

[Switch-ui-console0] authentication-mode aaa   //设置Console用户认证方式为AAA认证。

[Switch-ui-console0] quit

[Switch] aaa

[Switch-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789    //创建名为admin1234的本地用户,设置其登录密码为Helloworld@6789。

[Switch-aaa] local-user admin1234 privilege level 15    //配置用户级别为15级。

[Switch-aaa] local-user admin1234 service-type terminal    //配置接入类型为terminal,即:Console用户。

[Switch-aaa] quit

二.配置telnet 登录设备

[Switch] telnet server enable    //使能Telnet功能。

[Switch] user-interface vty 0 4    //进入VTY 0~VTY 4用户界面视图。

[Switch-ui-vty0-4] protocol inbound telnet    //指定VTY用户界面所支持的协议为Telnet。

[Switch-ui-vty0-4] user privilege level 15    //配置VTY 0~VTY 4的用户级别为15级。

[Switch-ui-vty0-4] authentication-mode aaa    //配置VTY 0~VTY 4的用户认证方式为AAA认证。

[Switch-ui-vty0-4] quit

[Switch] aaa

[Switch-aaa] local-user admin123 password irreversible-cipher Huawei@6789    //创建名为admin123的本地用户,设置其登录密码为Huawei@6789。

[Switch-aaa] local-user admin123 privilege level 15    //配置用户级别为15级。

[Switch-aaa] local-user admin123 service-type telnet    //配置接入类型为telnet,即:Telnet用户。

[Switch-aaa] quit

三.配置stelnet 登录设备

华为-设备登录配置_用户界面

华为-设备登录配置_ci_02

华为-设备登录配置_ci_03

华为-设备登录配置_用户界面_04

举报

相关推荐

0 条评论