华为交换机VTY用户界面属性配置教程

更新时间:2023-07-07 20:29:34 阅读: 评论:0

华为交换机VTY用户界面属性配置教程
用户通过Telnet或SSH方式登录设备实现本地或远程维护时,可以根据用户使用需求以及对设备安全的考虑来配置VTY, 除对VTY类型用户界面呼入呼出进行限制的ACL号、用户名和口令及用户界面的验证方式外其他参数设备均有缺省值,用户可以结合实际需求和安全性考虑选择配置。
1、设置通过账号和密码登陆VTY界面
1.1、进入VTY用户界面视图
[Huawei]ur-interface vty ?
  INTEGER<0-4,16-20>  The first ur terminal interface to be configured
 
[Huawei]ur-interface vty 0 4
[Huawei-ui-vty0-4]
 
1.2、设置用户验证方式为AAA验证(即通过账号和密码登陆)
[Huawei-ui-vty0-4]authentication-mode ?
  aaa      AAA authentication
钟表馆  none      Login without checking
  password  Authentication through the password of a ur terminal interface
 
[Huawei-ui-vty0-4]authentication-mode aaa
 
1.3、设置登陆的账号和密码
[Huawei-ui-vty0-4]q
[Huawei]aaa
[Huawei-aaa]local-ur ?
  STRING<1-64>  Ur name, in form of 'ur@domain'. Can u wildcard '*',
                while displaying and modifying, such as *@isp,ur@*,*@*.Can
                not include invalid character / \ : * ? " < > | @ '
 
[Huawei-aaa] ?
  access-limit  Set access limit of ur(s)
  ftp-directory  Set ur(s) FTP directory permitted
  idle-timeout  Set the timeout period for terminal ur(s)
  password      Set password五月的主人
  privilege      Set admin ur(s) level
  rvice-type  Service types for authorized ur(s)
  state          Activate/Block the ur(s)
  ur-group    Ur group
 
笔记本怎么调亮度[Huawei-aaa] password ?
  cipher  Ur password with cipher text
 
[Huawei-aaa] password cipher
 
1.4、设置账号的使用类型为Telnet或SSH
[Huawei-aaa] rvice-type telnet
[Huawei-aaa] rvice-type ssh
 
《海底两万里》读后感600字
2、设置只通过密码登陆VTY
2.1、置用户验证方式为密码验证
[Huawei-ui-vty0-4]authentication-mode password
 
2.2、设置登陆密码
[Huawei-ui-vty0-4]t authentication password cipher ?
  STRING<1-16>/<24>  Plain text/cipher text password
 
[Huawei-ui-vty0-4]t authentication password cipher
 
3、设置直接登陆VTY(此模式不安全)
[Huawei-ui-vty0-4]authentication-mode none
 
4、配置VTY用户界面的用户优先级
缺省情况下,VTY用户界面对应的默认命令访问级别是0,实际工作如果对权限要求不是特别严格,一本设置为15级。
[Huawei-ui-vty0-4]ur privilege level ?
  INTEGER<0-15>  Set a priority
 
[Huawei-ui-vty0-4]ur privilege level 15
请问英语 
5、启用VTY终端服务
小年什么意思[Huawei-ui-vty0-4]shell
毛体 
6、设置用户超时断连时间
[Huawei-ui-vty0-4]idle-timeout ?
  INTEGER<0-35791>  Set the number of minutes before a terminal ur times out(default: 10minutes)
 
7、设置终端屏幕每屏显示的行数
[Huawei-ui-vty0-4]screen-length ?
  INTEGER<0-512>  Display the number of lines on a screen (the value 0 indicates none split screen, and the default value is 24)
产品追溯 
8、设置终端屏幕显示的列数
[Huawei-ui-vty0-4]screen-width ?
  INTEGER<60-512>  Screen width value, the default is 80
 
9、设置历史命令缓存条数
[Huawei-ui-vty0-4]history-command ?
  max-size  Set the size of the maximum history buffer, the default value is 10
 
[Huawei-ui-console0]history-command max-size ?
  INTEGER<0-256>  The size of a history buffer
 
10、VTY用户界面支持的登陆协议
[Huawei-ui-vty0-4]protocol inbound ?
  all    All protocols
  ssh    SSH protocol
  telnet  Telnet protocol
11、配置VTY用户界面的最大个数
VTY用户界面最大个数是指登录设备的Telnet用户和SSH用户的总和。
当配置VTY用户界面最大个数为0时,任何用户(包括网管用户)都无法通过VTY登录到设备。
如果要配置的VTY类型用户界面的最大个数小于当前在线用户的数量,则系统提示配置失败。如果要配置的VTY类型用户界面的最大个数大于当前最多可以登录用户的数量,就必须为新增加的用户界面配置验证方式。
[Huawei]ur-interface maximum-vty ?
  INTEGER<0-15>  The maximum number of VTY urs, the default value is 5
 
12、配置VTY用户界面的基于ACL的登录限制
[Huawei-ui-vty0-4]acl ?
  INTEGER<2000-3999>  Apply basic or advanced ACL

本文发布于:2023-07-07 20:29:34,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1072068.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:用户界面   用户   设置
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图