说明:本示例假设在设备本地配置登录密码为test#123。
1. 开启Telnet服务器功能、指定源接口
[Huawei] telnet server enable
[Huawei] telnet server-source all-interface //该命令仅需在V200R020及之后版本配置
2. 配置VTY用户界面所支持的协议、验证方式、密码和用户级别
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] protocol inbound telnet
[Huawei-ui-vty0-4] authentication-mode password
[Huawei-ui-vty0-4] set authentication password cipher test#123
[Huawei-ui-vty0-4] user privilege level 15
温馨提醒:配置好后可以telnet测试一下,测试OK后,需要保存一下配置,以防止下次启动后配置丢失,具体方法可以参考“【原创】常见设备保存当前配置的方法”。
| 留言与评论(共有 0 条评论) “” |