H3C设置⽤户和密码sys
display local-ur
undo password control enable
sys
替吉奥胶囊
local-ur zhangsanlisi
password cipher mima
authorization-attribute level 3
rvice-type telnet terminal
或者:
rvice-type ssh terminal
console 接⼝登陆认证⽅式
配置欢迎信息
header login information "This is Office1 Router"
header shell information "welcome to Huawei router VRP lab"
配置认证⽅式和超时时间
<R1>system-view
[R1]ur-interface console 0
[R1-ui-console0]authentication-mode password
Plea configure the login password (maximum length 16):huawei
[R1-ui-console0]idle
[R1-ui-console0]idle-timeout
[R1-ui-console0]idle-timeout 10
道路与桥梁工程技术
手热是什么原因
[R1-ui-console0]display this
再次进⼊改超时时间和密码
<R1>system-view
[R1]ur-interface console 0
[R1-ui-console0]idle
[R1-ui-console0]idle-timeout 20
[R1-ui-console0]t authentication password cipher 111
<R1>save
配置路由器远程telnet 连接
<R1>sys
<R1>system-view
[R1]ur-in
[R1]ur-interface vty 0 ?
[R1]ur-interface vty 0 4
[R1-ui-vty0-4]authentication-mode password
Plea configure the login password (maximum length 16):222
[R1-ui-vty0-4]idle
西兰花怎么炒好吃[R1-ui-vty0-4]idle-timeout 10
[R1]display urs 查看连接进来的⽤户
[R1]display ur-interface 查看连接进来的⽤户
命令分级
0 级⽹络诊断命令 ping tracert telnet
蔡怎么读
1 级系统维护命令 display current-configuration
2 级配置命令 sysname R1
3 级涉及系统基本运⾏的命令⽂件系统、FTP、配置⽂件切换、⽤户管理
⽤户分级
谆谆教导是什么意思0-15级
0 级执⾏0级别命令
1 级执⾏0、1级别命令
2 级执⾏0、1、2级别命令
3-15 级执⾏0、1、2、3 级别命令
通过console⼝连接⽤户级别是 3级
通过telnet⼝连接⽤户级别是0级
设置telnet 连接进来的级别为 2级别
[R1]ur-interface vty 0 4
[R1-ui-vty0-4]display this
[R1-ui-vty0-4]ur privilege le
[R1-ui-vty0-4]ur privilege level 2
[R1-ui-vty0-4]display this
[R1-ui-vty0-4]undo ur privilege level 撤销⽤户级别,返回到telnet默认的级别[R1-ui-vty0-4]display this
需要⽤户名和密码验证⽤户:aaa
AAA是验证、授权和记账(Authentication Authorization Accounting)
han ⽤户级别 1
admin ⽤户级别 3
<R1>system-view
[R1]aaa
[R1-aaa]local-ur admin password cipher 111
[R1-aaa]local-ur admin privilege level 3
[R1-aaa]local-ur admin rvice-type telnet
[R1-aaa]
[R1-aaa]local-ur han password cipher 222 privilege level 1
[R1-aaa]local-ur han rvice-type telnet
[R1-aaa]display this
[R1-aaa]display local-ur
telnet 连接AAA认证设置:
[R1]ur-interface vty 0 4
[R1-ui-vty0-4]authentication-mode ?
aaa AAA authentication
password Authentication through the password of a ur terminal interface [R1-ui-vty0-4]authentication-mode aaa
09年属什么[R1-ui-vty0-4]displ
[R1-ui-vty0-4]display this
使⽤AAA认证,不同的⽤户有不同的权限
password 认证不同的连接⽅式有不同的访问权限
console ⼝连接也使⽤AAA认证⽅法:
[R1]ur-interface console 0
[R1-ui-console0]authentication-mode aaa
同⼀个⽤户只能使⽤⼀种登陆⽅式要么是consle 要么是telnet
设置⼀个consle⽤户登陆,terminal
<R1>system-view
Enter system view, return ur view with Ctrl+Z.
爱丽丝漫游奇境好词
[R1]aaa
[R1-aaa]local-ur wqd password cipher 111 privilege level 3
Info: Add a new ur.
[R1-aaa]local-ur wqd rvice-type terminal