已阅读5页,还剩2页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
华为交换机VTY用户界面属性配置教程用户通过Telnet或SSH方式登录设备实现本地或远程维护时,可以根据用户使用需求以及对设备安全的考虑来配置VTY, 除对VTY类型用户界面呼入呼出进行限制的ACL号、用户名和口令及用户界面的验证方式外其他参数设备均有缺省值,用户可以结合实际需求和安全性考虑选择配置。1、设置通过账号和密码登陆VTY界面1.1、进入VTY用户界面视图Huaweiuser-interface vty ? INTEGER The first user terminal interface to be configuredHuaweiuser-interface vty 0 4Huawei-ui-vty0-41.2、设置用户验证方式为AAA验证(即通过账号和密码登陆)Huawei-ui-vty0-4authentication-mode ? aaa AAA authentication none Login without checking password Authentication through the password of a user terminal interfaceHuawei-ui-vty0-4authentication-mode aaa1.3、设置登陆的账号和密码Huawei-ui-vty0-4qHuaweiaaaHuawei-aaalocal-user ? STRING User name, in form of userdomain. Can use wildcard *, while displaying and modifying, such as *isp,user*,*.Can not include invalid character / : * ? | Huawei-aaalocal-user 023 ? access-limit Set access limit of user(s) ftp-directory Set user(s) FTP directory permitted idle-timeout Set the timeout period for terminal user(s) password Set password privilege Set admin user(s) level service-type Service types for authorized user(s) state Activate/Block the user(s) user-group User groupHuawei-aaalocal-user 023 password ? cipher User password with cipher textHuawei-aaalocal-user 023 password cipher 1.4、设置账号的使用类型为Telnet或SSHHuawei-aaalocal-user 023 service-type telnet或Huawei-aaalocal-user 023 service-type ssh2、设置只通过密码登陆VTY2.1、置用户验证方式为密码验证Huawei-ui-vty0-4authentication-mode password2.2、设置登陆密码Huawei-ui-vty0-4set authentication password cipher ? STRING/ Plain text/cipher text passwordHuawei-ui-vty0-4set authentication password cipher 3、设置直接登陆VTY(此模式不安全)Huawei-ui-vty0-4authentication-mode none4、配置VTY用户界面的用户优先级缺省情况下,VTY用户界面对应的默认命令访问级别是0,实际工作如果对权限要求不是特别严格,一本设置为15级。Huawei-ui-vty0-4user privilege level ? INTEGER Set a priorityHuawei-ui-vty0-4user privilege level 155、启用VTY终端服务Huawei-ui-vty0-4shell6、设置用户超时断连时间Huawei-ui-vty0-4idle-timeout ? INTEGER Set the number of minutes before a terminal user times out(default: 10minutes)7、设置终端屏幕每屏显示的行数Huawei-ui-vty0-4screen-length ? INTEGER 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-4screen-width ? INTEGER Screen width value, the default is 809、设置历史命令缓存条数Huawei-ui-vty0-4history-command ? max-size Set the size of the maximum history buffer, the default value is 10Huawei-ui-console0history-command max-size ? INTEGER The size of a history buffer10、VTY用户界面支持的登陆协议Huawei-ui-vty0-4protocol inbound ? all All protocols ssh SSH protocol telnet Telnet protocol11、配置VTY用户界面的最大个数VTY用户界面最大个数是指登录设备的Telnet用户和SSH用户的总和。当配置VTY用户界面最大个数为0时,任何用户(包括网管用户)都无法通过VTY登录到设备。如果要配置的VTY类型用户界面的最大个数小于当前在线用户的数量,则系统提示配置失败。如果要配置的VTY类型用户界面的最大个数大于当前最多可以登录用户的数量,就必须为新增加的用户界面配置验证方式。Huaweiuser-interface maximum-vty ? INTEGER The maximum number of VTY users, the default value is 512、配置VTY用户界面的基于ACL的登录限制Huawei-ui-vty0-4acl ? INTEGER Apply basic or advanced ACL ipv6 Filter IPv6 addressesHuawei-ui-vty0-4acl 2000 ? inbound Filter login connections from the current user interface outbound Filter logout connections from the current user interface13、查看VTY用户界面信息Huaweidisplay user-interface vty 0 4 Idx Type Tx/Rx Modem Privi ActualPrivi Auth Int 38 VTY 4 - 15 - N - + : Current UI is active. F : Current UI is active and work in async mode. Idx : Absolute index of UIs. Type : Type and relative index of UIs. Privi: The privilege of UIs. ActualPrivi: The actual privilege of user-interface. Auth : The authentication mode of UIs. A: Authenticate use AAA. N: Current
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 深度解析(2026)《GBT 3681.1-2021塑料 太阳辐射暴露试验方法 第1部分:总则》
- 【 物理 】日心说与太阳系课件-2025-2026学年物理苏科版八年级下册
- 2026年法律职业资格考试知产专利申请优先权卷含答案
- 2026年北师大版小学二年级数学上册乘法意义理解卷含答案
- 《JBT 10603-2006电力液压推动器》专题研究报告
- 《JBT 10413-2005喷漆室》专题研究报告
- 湖南中考:语文必背知识点总结
- 湖南高考:地理必背知识点
- 湖北中考:英语重点知识点
- 2026年党建知识竞赛试题及答案(十六)
- 【蚌埠】2024年安徽蚌埠固镇县新马桥镇选聘村级后备干部10人笔试附带答案详解
- 2025年新高考1卷(新高考Ⅰ卷)数学试卷(含答案及解析)
- 有机磷中毒护理措施
- 2025年人教版小学二年级下册奥林匹克数学竞赛测试考试题(附答案解析)
- 英语专四英语作文范文背诵模板50篇英语专业四级写作
- 湖南能源集团有限公司招聘笔试题库2025
- 2025年黑龙江省龙东地区中考一模化学试题(含答案)
- 《科比布莱恩特》课件
- 腾讯广告营销师(初级)认证考试题库(附答案)
- 2024年出版专业资格考试《出版专业基础知识》中级真题及答案
- 项目安全管理培训课件
评论
0/150
提交评论