在使用Telnet功能以前必定要先開啓此功能
ide
1、無密碼登錄:ui
[H3C]telnet server enable 必定要先開啓telnet功能spa
[H3C]user-interfacevty 0 4orm
[H3C-ui-vty0-4]authentication-mode none server
2、密碼登錄:it
[H3C]telnet server enableio
[H3C]user-interfacevty 0 4class
[H3C-ui-vty0-4]authentication-mode passwordtest
[H3C-ui-vty0-4]set authentication password simple 123network
修改用戶權限:
[H3C-ui-vty0-4]user-role level-15
3、用戶名+密碼登錄
[H3C]local-user R1
[H3C-luser-test]password simple 123
[H3C-luser-test]service-type telnet
[H3C]user-interfacevty 0 4
[H3C-ui-vty0-4]authentication-mode scheme
[H3C-ui-vty0-4]user-role network-admin