本地登陆
方式一
<S1>system-view
[S1]user-interface console 0
[S1-ui-console0]authentication-mode password
[S1-ui-console0]set authentication password cipher 1234
方式二
<S1>system-view
[S1]user-interface console 0
[S1-ui-console0]authentication-mode aaa
[S1-ui-console0]aaa
[S1-aaa]local-user gao password cipher gao
[S1-aaa]local-user gao service-type terminal
[S1-aaa]local-user gao privilege level 3
远程登陆
方式一
<S1>system-view
[S1]user-interface vty 0 4
[S1-ui-vty0-4]authentication-mode password
[S1-ui-vty0-4]set authentication password cipher 1234
方式二
<S1>system-view
[S1]user-interface vty 0 4[S1-ui-vty0-4]authentication-mode aaa
[S1-ui-vty0-4]aaa
[S1-aaa]local-user gao password cipher gao
[S1-aaa]local-user gao service-type telnet
[S1-aaa]local-user gao privilege level 3


发布评论