命令记不住

登陆

设备初始化以及 Console 接口密码认证

设备初始化以及Console接口密码认证

1.华为设备初始化以及Console接口密码认证

默认账号/密码查询工具https://support.huawei.com/onlinetoolsweb/pqt/index.jsp
键入对应设备型号之后会显示默认的用户名和密码
https://support.huawei.com/onlinetoolsweb/pqt/index.jsp

进行Console的登录认证实施

<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]user-interface console ?
  INTEGER<0-0>  The first user terminal interface to be configured
[Huawei]user-interface console 0
[Huawei-ui-console0]set authentication password cipher 123456
[Huawei-ui-console0]quit

测试成功后去掉Console密码

<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] undo authentication-mode
[Huawei-ui-console0] quit
[Huawei] quit

华为官方文档-FAQ-如何删除Console密码https://support.huawei.com/enterprise/zh/knowledge/EKB1000067519

2.华三设备初始化以及Console接口密码认证

在华三设备上设置console的密码认证

<H3C>system-view
[H3C]user-interface con 0   #进入console视图
[H3C-ui-console0]authentication-mode  password  #设置通过Console口登录交换机的用户进行Password认证
[H3C-ui-console]set authentication password simple 123456 #设置认证密码方式为简单既可视的密码,密码为123456
推荐阅读