实验拓扑

H3C交换机telnet配置_用户名

交换机1上配置

/*使用密码登录*/

[H3C]telnet server enable //使能telnet
[H3C]user-interface vty 0 4 //设置telnet
[H3C-line-vty0-4]authentication-mode password //配置密码验证
[H3C-line-vty0-4]set authentication password simple 123456 //设置密码
[H3C-line-vty0-4]user level-3 //配置用户级别
配置ip
[H3C-Vlan-interface1]ip add 192.168.0.1 24


/*使用用户名和密码登录*/
[H3C]user-interface vty 0 4
[H3C-line-vty0-4]authentication-mode scheme
[H3C]local-user huawei
[H3C-luser-manage-huawei]password simple huawei
[H3C-luser-manage-huawei]service-type telnet
[H3C-luser-manage-huawei]authorization-attribute user-role level-3