华为 使用console口登录管理设备

华为 使用console口登录管理设备

这里展示两种方法:1.串口认证;2.aaa认证.

拓扑
在这里插入图片描述

连接设备之后,开启设备;在PC端别忘了点击连接(双击PC端设备–>串口–>连接)
在这里插入图片描述
1、串口认证

基本配置:

<Huawei>system-view 
[Huawei]sysname AR-1
[AR-1]user-interface console 0	
[AR-1-ui-console0]authentication-mode password 
Please configure the login password (maximum length 16):8
[AR-1-ui-console0]set authentication password cipher 12345678
[AR-1-ui-console0]quit
[AR-1]quit
<AR-1>quit

在这里插入图片描述
输入正确密码,才能进入系统。

(温馨提示:输入密码的时候,是不显示如何信息的)

2、AAA认证

基本配置:

<Huawei>system-view 
[Huawei]sysname AR-1
[AR-1]user-interface console 0
[AR-1-ui-console0]authentication-mode aaa
[AR-1-ui-console0]quit
[AR-1]aaa
[AR-1-aaa]loca		
[AR-1-aaa]local-user ybd password cipher 12345678	
[AR-1-aaa]local-user ybd privilege level 3
[AR-1-aaa]quit
[AR-1]
[AR-1]quit
<AR-1>quit

在这里插入图片描述
输入正确用户名和密码,才能进入系统。

发布了26 篇原创文章 · 获赞 61 · 访问量 9234

猜你喜欢

转载自blog.csdn.net/HYD696/article/details/105014453