监控安装 ERP

系统集成论坛

 找回密码
 注册通行证

QQ登录

只需一步,快速开始

路由器交换机防火墙系统集成商城 优质产品采购平台
查看: 4416|回复: 0
打印 上一主题 下一主题

配置VTY 用户界面示例

[复制链接]

81

主题

82

帖子

175

积分

实习生

跳转到指定楼层
1
发表于 2015-11-30 13:16:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
华为金牌代理
步骤1 配置VTY用户界面的最大个数
<HUAWEI> system-view
[HUAWEI] user-interface maximum-vty 8
步骤2 配置VTY用户界面的呼入呼出限制类型
[HUAWEI] acl 2000
[HUAWEI-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[HUAWEI-acl-basic-2000] quit
[HUAWEI] user-interface vty 0 7
[HUAWEI-ui-vty0-7] acl 2000 inbound
步骤3 配置VTY用户界面的终端属性
[HUAWEI-ui-vty0-7] shell
[HUAWEI-ui-vty0-7] idle-timeout 30
[HUAWEI-ui-vty0-7] screen-length 30
[HUAWEI-ui-vty0-7] history-command max-size 20
步骤4 配置VTY用户界面的用户优先级
[HUAWEI-ui-vty0-7] user privilege level 2
步骤5 配置VTY用户界面的用户验证方式为密码验证
[HUAWEI-ui-vty0-7] authentication-mode password
[HUAWEI-ui-vty0-7] set authentication password cipher Helloworld@6789
[HUAWEI-ui-vty0-7] quit
VTY用户界面配置完成后,用户可以通过Telnet使用Password方式登录设备,实现本地
或者远程维护。用户登录设备的具体过程请参见配置用户通过Telnet登录设备。
步骤6 验证配置结果
# 使用Telnet方式登录,检查新的密码是否生效。
# 使用10.1.1.1的IP地址通过Telnet方式登录设备,可以登录。
# 使用user-interface vty 0 7进入VTY界面视图,执行display this命令检查VTY界面配置。
[HUAWEI] user-interface vty 0 7
[HUAWEI-ui-vty0-7] display this
#
user-interface maximum-vty 8
user-interface vty 0 7
acl 2000 inbound
authentication-mode password
user privilege level 2
set authentication password cipher %@%@#N&)XdgB87~RcnU9upv6,.d;,uXe*#IeE-ywBaSmj:\@.d>,%@%@
history-command max-size 20
idle-timeout 30 0
screen-length 30
#
return
----结束
配置文件
#
acl number 2000
rule 5 permit source 10.1.1.0 0.0.0.255
#
user-interface maximum-vty 8
user-interface vty 0 7
acl 2000 inbound
authentication-mode password
S2750&S5700&S6700 系列以太网交换机
典型配置举例1 基础配置
文档版本 07 (2014-07-30) 华为专有和保密信息
版权所有 &copy; 华为技术有限公司
5
user privilege level 2
set authentication password cipher %@%@#N&)XdgB87~RcnU9upv6,.d;,uXe*#IeE-ywBaSmj:\@.d>,%@%@
history-command max-size
您需要登录后才可以回帖 登录 | 注册通行证

本版积分规则

联系我们| 手机版|系统集成论坛 ( 京ICP备11008917号 )

GMT+8, 2024-9-22 21:23 , Processed in 0.060289 second(s), 23 queries .

系统集成论坛

BBS.XTJC.COM

快速回复 返回顶部 返回列表