设备:H3C 5120 V7
需求:配置登陆密码,可以使用Telnet 及SSH 登陆
1. Telnet 登陆配置
配置如下:
[H3C 5120]user-interface vty 0 4
[H3C 5120-ui-vty0-4]authentication-mode password
[H3C 5120-ui-vty0-4]set authentication password simple Abcd@123
[H3C 5120-ui-vty0-4]user privilege level 3
[H3C 5120-ui-vty0-4]quit
[H3C 5120]telnet server enable
2. SSH 登陆配置
[H3C 5120]user-interface vty 0 4
[H3C 5120-ui-vty0-4]authentication-mode scheme
[H3C 5120-ui-vty0-4]protocol inbound ssh
[H3C 5120-ui-vty0-4]set authentication password simple Abcd@123
[H3C 5120-ui-vty0-4]user privilege lev

最低0.47元/天 解锁文章
2110






