1.配置Telnet远程登录
[H3C]interface vlan 1 //配置IP地址
[H3C-Vlan-interface1]ip add 192.168.56.10 255.255.255.0
[H3C]telnet server enable //开启Telnet
[H3C]user-interface vty 0 4 //允许远程用户0-4共5个账户同时登陆
[H3C-line-vty0-4]authentication-mode password //认证模式:none|password|scheme
认证模式为none
[H3C-line-vty0-4]authentication-mode none //认证模式为none,不需要认证
[H3C-line-vty0-4]user-role level-3 //设置登录用户权限
认证模式为Password
[H3C-line-vty0-4]authentication-mode password //密码认证
[H3C-line-vty0-4]set authentication password simple 123 //设置明文密码123
[H3C-line-vty0-4]user-role level-3 //设置登录用户权限
认证模式为Scheme(账户+密码)
[H3C-line-vty0-4]authentication-mode scheme //认证模式为scheme,账户+密码
[H3C-line-vty0-4]user-role level-3 //设置登录用户权限
[H3C-line-vty0-4]quit
[H3C]local-user h3c //添加本地用户h3c
[H3C-luser-manage-h3c] password simple 123456 //设置明文密码123456
[H3C-luser-manage-h3c] service-type teln