华为交换机console口设置密码及状态查看命令(华为交换机console口密码默认)

网友投稿 21765 2022-09-21


华为交换机console口设置密码及状态查看命令(华为交换机console口密码默认)

1.交换机conlose口设置密码

system-view //进入系统试图

[Huawei]user-interface console 0 //进入console 口视图

[Huawei-ui-console0]authentication-mode password //使用密码认证方式

Please configure the login password (maximum length 16):mf88855514 //设置密码为:mf88855514

[Huawei-ui-console0]user privilege level 15 //conlose 口默认为level 15 此步可以省略

2.交换机conlose口使用AAA本地认证方式

system-view //进入系统试图

[Huawei]user-interface console 0 //进入console 口视图

[Huawei-ui-console0]authentication-mode password //使用AAA(用户名和密码)认证方式

[Huawei]aaa //进入AAA视图

[Huawei-aaa]local-user mingfeng password cipher mf88855514 //设置用户mingfeng的密码为mf88855514

Info: Add a new user.

[Huawei-aaa]local-user mingfeng service-type telnet //设置用户的服务类型为Telnet

[Huawei-aaa]local-user mingfeng privilege level 15 //conlose 口默认为level 15 此步可以省略

3.查看用户界面的用户登录信息

dis users all

User-Intf Delay Type Network Address AuthenStatus AuthorcmdFlag

+ 0 CON 0 00:00:00 pass

Username : Unspecified

129 VTY 0

Username : Unspecified

130 VTY 1

Username : Unspecified

131 VTY 2

Username : Unspecified

4.查看用户界面信息

dis user-interface console 0

Idx Type Tx/Rx Modem Privi ActualPrivi Auth Int

+ 0 CON 0 9600 - 15 15 P -

+ : Current UI is active.

F : Current UI is active and work in async mode.

Idx : Absolute index of UIs.

Type : Type and relative index of UIs.

Privi: The privilege of UIs.

ActualPrivi: The actual privilege of user-interface.

Auth : The authentication mode of UIs.

A: Authenticate use AAA.

N: Current UI need not authentication.

P: Authenticate use current UI's password.

Int : The physical location of UIs.

5.查看本地用户的属性信息

dis local-user

----------------------------------------------------------------------------

User-name State AuthMask AdminLevel

----------------------------------------------------------------------------

admin A H -

mingfeng A T 15

----------------------------------------------------------------------------

Total 2 user(s)

6.查看在线连接的用户信息

dis access-user

Info: No online user.


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:升级华为网络设备(路由器,防火墙和交换机),提示空间不足,怎么解决?
下一篇:程序员常用的 API 接口管理工具有哪些?接口管理工具怎么用?
相关文章

 发表评论

暂时没有评论,来抢沙发吧~