所需實驗拓撲如下:
具體配置命令:
<Huawei>system-view //進入系統視圖進行配置
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname HW-AR1 //修改設備名稱爲HW-AR1(可選擇不修改)
[HW-AR1]user-interface console 0 //進入用戶接口配置模式
[HW-AR1-ui-console0]set authentication password cipher 123456 //設置認證模式爲密文密碼認證,密碼爲123456
[HW-AR1-ui-console0]quit //退出接口配置模式
[HW-AR1]quit //退出系統配置模式
<HW-AR1>save //保存
PC測試:
注:圖中所用設備爲AR2220路由器