华为交换机VTY用户界面属性配置教程.doc
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 华为 交换机 VTY 用户界面 属性 配置 教程
- 资源描述:
-
华为交换机VTY用户界面属性配置教程 用户通过Telnet或SSH方式登录设备实现本地或远程维护时,可以根据用户使用需求以及对设备安全的考虑来配置VTY, 除对VTY类型用户界面呼入呼出进行限制的ACL号、用户名和口令及用户界面的验证方式外其他参数设备均有缺省值,用户可以结合实际需求和安全性考虑选择配置。 1、设置通过账号和密码登陆VTY界面 1.1、进入VTY用户界面视图 [Huawei]user-interface vty ? INTEGER<0-4,16-20> The first user terminal interface to be configured [Huawei]user-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 user terminal interface [Huawei-ui-vty0-4]authentication-mode aaa 1.3、设置登陆的账号和密码 [Huawei-ui-vty0-4]q [Huawei]aaa [Huawei-aaa]local-user ? STRING<1-64> User name, in form of 'user@domain'. Can use wildcard '*', while displaying and modifying, such as *@isp,user@*,*@*.Can not include invalid character / \ : * ? " < > | @ ' [Huawei-aaa]local-user ? 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 group [Huawei-aaa]local-user password ? cipher User password with cipher text [Huawei-aaa]local-user password cipher 1.4、设置账号的使用类型为Telnet或SSH [Huawei-aaa]local-user service-type telnet 或 [Huawei-aaa]local-user service-type ssh 2、设置只通过密码登陆VTY 2.1、置用户验证方式为密码验证 [Huawei-ui-vty0-4]authentication-mode password 2.2、设置登陆密码 [Huawei-ui-vty0-4]set authentication password cipher ? STRING<1-16>/<24> Plain text/cipher text password [Huawei-ui-vty0-4]set authentication password cipher 3、设置直接登陆VTY(此模式不安全) [Huawei-ui-vty0-4]authentication-mode none 4、配置VTY用户界面的用户优先级 缺省情况下,VTY用户界面对应的默认命令访问级别是0,实际工作如果对权限要求不是特别严格,一本设置为15级。 [Huawei-ui-vty0-4]user privilege level ? INTEGER<0-15> Set a priority [Huawei-ui-vty0-4]user 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 user 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]user-interface maximum-vty ? INTEGER<0-15> The maximum number of VTY users, the default value is 5 12、配置VTY用户界面的基于ACL的登录限制 [Huawei-ui-vty0-4]acl ? INTEGER<2000-3999> Apply basic or advanced ACL ipv6 Filter IPv6 addresses [Huawei-ui-vty0-4]acl 2000 ? inbound Filter login connections from the current user interface outbound Filter logout connections from the current user interface 13、查看VTY用户界面信息 [Huawei]display 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 UI need not authentication. P: Authenticate use current UI's password. Int : The physical location of UIs. 14、查看VTY类型用户界面的最大个数 [Huawei]display user-interface maximum-vty Maximum of VTY user:15展开阅读全文
咨信网温馨提示:1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。




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



实名认证













自信AI助手
















微信客服
客服QQ
发送邮件
意见反馈



链接地址:https://www.zixin.com.cn/doc/6131752.html