大神讲一下这几个的关系,配置顺序等等,给我整迷糊了
#
line class aux
user-role network-admin
#
line class vty
user-role network-operator
#
line aux 0
authentication-mode password
user-role network-admin
set authentication password simple h3cspcz
#
line vty 0 63
authentication-mode scheme
user-role network-operator
#
super password role network-admin simple h3cswadmin
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
rule 10 permit command tracert *
rule 20 permit command telnet *
rule 30 permit command ping *
rule 40 permit command ssh *
rule 50 deny command display history-command *
rule 60 permit command display *
rule 70 permit command super *
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
user-group system
#
local-user h3c class manage
password simple h3cspcz
service-type telnet
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
local-user viewer class manage
password simple viewer
service-type telnet
authorization-attribute user-role level-10
authorization-attribute user-role network-operator
#
(0)
最佳答案
前两个是串口进程和用户侧进程,第三个和前两个不是一个概念,local user是创建一个本地用户。
(0)
还是有点乱。比如我用telnet 连接到该设备,local-user有什么用? 还有就是network-admin和network-operator 权限有什么区别
local user是创建本地账号。你远程登陆上去不是要用户名密码?就在local user里配的啊。看看官网的手册吧会有很详细的解释。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
local user是创建本地账号。你远程登陆上去不是要用户名密码?就在local user里配的啊。看看官网的手册吧会有很详细的解释。