H3C 登录配置

零、开启服务

1 [H3C]ssh server enable
2 [H3C]telnet server enable

一、使用密码登录

1 [H3C]user-interface vty 0 4
2 [H3C-ui-vty0-4]authentication-mode password
3 [H3C-ui-vty0-4]set authentication password simple huanu //simple明文cipher密文
4 [H3C-ui-vty0-4]user privilege level 3

二、Telnet登录

1 [H3C]user-interface vty 0 4
2 [H3C-ui-vty0-4]authentication-mode scheme
3 [H3C]local-user huanu
4 [H3C-user-huanu]password simple huanu
5 [H3C-user-huanu]service-type telnet level 3

三、console口密码登录

1 [H3C]user-interface aux 0
2 [H3C-ui-aux0] authentication-mode password
3 [H3C-ui-aux0] set authentication password simple huanu
4 [H3C-ui-aux0] user privilege level 3

四、console口本地用户登录

1 [H3C]user-interface aux 0
2 [H3C-ui-aux0] authentication-mode scheme
3 [H3C]local-user huanu
4 [H3C-user-huanu]password simple huanu
5 [H3C-user-huanu]service-type telnet level 3

 五、ssh登录

1 [H3C]user-interface vty 0 4
2 [H3C-ui-vty0-4]authentication-mode scheme
3 [H3C-ui-vty0-4]privilege inbound ssh
4 [H3C-ui-vty0-4]quit
5 [H3C]local-user huanu
6 [H3C-user-huanu]password simple huanu
7 [H3C-user-huanu]service-type ssh
8 [H3C-user-huanu]authorization-attribute level 3

猜你喜欢

转载自www.cnblogs.com/huanu/p/9261474.html