H3C S10504如何设置,让终端电脑可以通过telnet登录设备
(0)
最佳答案
telnet server enable
local-user admin
password sim test
authorization-attribute user-role network-admin
service-type telnet
line vty 0 15
authentication-mode scheme
(0)
暂无评论
telnet server enable
local-user admin
password simple =====
authorization-attribute level 3
service-type telnet
user-interface vty 0 4
authentication-mode scheme 这个是V5版本的配置
telnet server enable
local-user admin class manage
password simple =======
service-type telnet
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
user-interface vty 0 4
authentication-mode scheme
user-role network-admin 这个是V7版本的配置
(0)
暂无评论
V5版本的配置:
telnet server enable
#
local-user admin
password simple h3c123
authorization-attribute level 3
service-type telnet
#
user-interface vty 0 4
authentication-mode scheme
V7版本的配置
# 通过Console口登录设备,进入系统视图,修改设备名称,开启Telnet服务。
<Sysname> system-view
[Sysname] sysname Device
[Device] telnet server enable
# 创建接口地址。
[Device] vlan 2
[Device-vlan2] port GigabitEthernet 3/0/1
[Device-vlan2] quit
[Device] interface Vlan-interface 2
[Device-Vlan-interface2] ip address 192.168.3.1 24
[Device-Vlan-interface2] quit
[Device] interface GigabitEthernet 3/0/1
[Device-GigabitEthernet3/0/1] undo shutdown
[Device-GigabitEthernet3/0/1] quit
# 配置所有的Telnet用户登录设备的认证方式为scheme,设置VTY用户线的公共属性。
[Device] line vty 0 63
[Device-line-vty0-63] authentication-mode scheme
[Device-line-vty0-63] screen-length 20
[Device-line-vty0-63] history-command max-size 100
[Device-line-vty0-63] idle-timeout 20
[Device-line-vty0-63] quit
# 配置通过Telnet登录的同时在线的最大用户连接数为10。
[Device] aaa session-limit telnet 10
# 配置本地用户,用户名为test,密码为test,配置服务类型为telnet,用户角色为network-admin,删除默认角色。
[Device] local-user test class manage
[Device-luser-manage-test] password simple test
[Device-luser-manage-test] authorization-attribute user-role network-admin
[Device-luser-manage-test] undo authorization-attribute user-role network-operator
[Device-luser-manage-test] service-type telnet
[Device-luser-manage-test] quit
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论