华三设备的用户创建、ssh、telnet等的配置

ssh server enable
telnet server enable
public-key local create rsa
public-key local create dsa

user-interface vty 0 4
authentication-mode scheme
protocol inbound ssh
qu

local-user tony class manage
password simple root#12345
service-type terminal ssh telnet http https
authorization-attribute user-role level-15
authorization-attribute user-role network-admin
qu

=====

[Sw1-line-vty0-4]protocol inbound ?
all All protocols
ssh SSH protocol
telnet Telnet protocol

[Sw1-line-vty0-4]authentication-mode ?
none Login without authentication
password Password authentication(密码)
scheme Authentication use AAA(用户名密码)

=====

user-interface console 0
authentication-mode scheme
user-role level-15

posted @ 2024-09-29 16:55  Super-Boy  阅读(336)  评论(0)    收藏  举报