详本案例为S10510 WEB 单个用户登录数限制的典型组网配置,通过access-limit来实现单个用户不能同时登陆。
S10510的版本信息如下:
H3C Comware Software,
Version 7.1.070, Release 7536P05
Copyright (c) 2004-2017
New H3C Technologies Co., Ltd. All rights reserved.
H3C S10510 uptime is 92
weeks, 2 days, 4 hours, 3 minutes
Last reboot reason :
USER reboot
Boot image:
flash:/S10500-CMW710-BOOT-R7536P05.bin
Boot image version:
7.1.070, Release 7536P05
Compiled Mar
28 2017 16:00:00
System image:
flash:/S10500-CMW710-SYSTEM-R7536P05.bin
System image version:
7.1.070, Release 7536P05
Compiled Mar
28 2017 16:00:00
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname SW1
[SW1]int vlan 1
[SW1-Vlan-interface1]ip address 192.168.200.110 24
[SW1-Vlan-interface1]quit
[SW1]ip http enable
[SW1]ip https enable
[SW1]local-user admin
New local user added.
[SW1-luser-manage-admin]password simple admin
[SW1-luser-manage-admin]service-type http https
[SW1-luser-manage-admin]authorization-attribute user-role network-admin
[SW1-luser-manage-admin]access-limit 1 //限制admin用户只能同时登陆一个,不能同时登陆多个
[SW1-luser-manage-admin]quit
测试结果见附件!
该案例对您是否有帮助:
您的评价:1
若您有关于案例的建议,请反馈:
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作