所需实验拓扑如下: 具体配置命令: <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路由器