• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

WX系列AC 本地认证使用User Profile不同场景应用举例

2012-06-27 发表
  • 0关注
  • 0收藏 1546浏览
粉丝: 关注:

WX系列AC 本地认证使用User Profile不同场景应用举例

一、特性介绍:

User Profile(用户配置文件)提供一个配置模板,能够保存预设配置(一系列配置的集合)。用户访问设备时,需要先进行身份认证。在认证过程中,认证服务器会先匹配用户名和密码,匹配成功后再将与用户绑定的User Profile名称下发给设备,设备会立即启用User Profile里配置的具体内容。只有用户名和密码匹配,并且User Profile下的配置均应用成功,设备才认为用户通过了认证。因此,当用户通过认证上线后,其访问行为将受到User Profile的限制。当用户下线时,系统会自动禁用User Profile下的配置项,从而取消User Profile对用户的限定。因此,User Profile适用于限制上线用户的访问行为,没有用户上线(可能是没有用户接入、或者用户没有通过认证、或者用户下线)时,User Profile是预设配置,并不生效。

二、配置基于SSID的用户接入控制

在有用户临时需要接入网络时,需要临时为用户建立一个来宾账户,通过基于SSID的接入控制可以达到访问限制的目的,即限制来宾用户只能在指定的SSID登录。SSID的接入控制可以通过在User Profile下配置允许接入的SSID来实现。

场景一:通过配置本地用户的授权属性User Profile实现

本地用户的授权属性在用户组和本地用户视图下都可以配置,且本地用户视图下的配置优先级高于用户组视图下的配置。用户组的配置对组内所有本地用户生效。

在本地用户视图下配置步骤(以802.1X本地认证为例):

system-view

[AC] user-profile profile01

[AC-user-profile-profile01] wlan permit-ssid h3c-test01

[AC-user-profile-profile01] quit

[AC] user-profile profile01 enable

[AC] local-user test

[AC-luser-test] password simple test

[AC-luser-test] authorization-attribute user-profile profile01

[AC-luser-test] service-type lan-access

[AC-luser-test] quit

结果验证:

802.1X用户只有接入SSID” h3c-test01”时成功通过认证。

场景二:通过配置本地用户组的授权属性User Profile实现

在本地用户组视图下配置步骤(以802.1X本地认证为例):

system-view

[AC] user-profile profile01

[AC-user-profile-profile01] wlan permit-ssid h3c-test01

[AC-user-profile-profile01] quit

[AC] user-profile profile01 enable

[AC] user-group group01

[AC-ugroup-group01] authorization-attribute user-profile profile01

[AC-ugroup-group01] quit

[AC] local-user test

[AC-luser-test] password simple test

[AC-luser-test] group group01

[AC-luser-test] service-type lan-access

[AC-luser-test] quit

结果验证:

802.1X用户只有接入SSID” h3c-test01”时成功通过认证。

场景三:通过配置ISP域的授权属性User Profile实现

对于802.1X认证、Portal认证和MAC地址认证,缺省认证ISP域为system域,而system域缺省认证方法为local,所以通过配置ISP域的授权属性User Profile同样对本地用户生效。

ISP域视图下配置步骤(以802.1X本地认证为例):

system-view

[AC] user-profile profile01

[AC-user-profile-profile01] wlan permit-ssid h3c-test01

[AC-user-profile-profile01] quit

[AC] user-profile profile01 enable

[AC] domain system

[AC-isp-system] authorization-attribute user-profile profile01

[AC-isp-system] quit

[AC] local-user test

[AC-luser-test] password simple test

[AC-luser-test] service-type lan-access

[AC-luser-test] quit

结果验证:

802.1X用户只有接入SSID” h3c-test01”时成功通过认证。

三、配置基于AP的用户接入控制

无线接入服务的提供者希望能控制客户端在无线接入网中的接入位置。这里的接入位置目前主要指客户端所接入的AP。基于某些策略考虑(如安全性或者计费等因素),提供无线接入服务的机构希望通过特定的AP接入策略,以使不同的client通过不同的AP访问网络。AP接入策略可以通过用户在User Profile下配置客户端关联的AP组,这样就可以确保客户端只能通过授权的AP访问网络资源。

场景一:通过配置本地用户的授权属性User Profile实现

本地用户的授权属性在用户组和本地用户视图下都可以配置,且本地用户视图下的配置优先级高于用户组视图下的配置。用户组的配置对组内所有本地用户生效。

在本地用户视图下配置步骤(以802.1X本地认证为例):

system-view

[AC] wlan ap-group 1

[AC-ap-group1] ap ap01

[AC-ap-group1] quit

[AC] user-profile profile01

[AC-user-profile-profile01] wlan permit-ap-group 1

[AC-user-profile-profile01] quit

[AC] user-profile profile01 enable

[AC] local-user test

[AC-luser-test] password simple test

[AC-luser-test] authorization-attribute user-profile profile01

[AC-luser-test] service-type lan-access

[AC-luser-test] quit

结果验证:

802.1X用户只有接入特定AP”ap01”时成功通过认证。

场景二:通过配置本地用户组的授权属性User Profile实现

在本地用户组视图下配置步骤(以802.1X本地认证为例):

system-view

[AC] wlan ap-group 1

[AC-ap-group1] ap ap01

[AC-ap-group1] quit

[AC] user-profile profile01

[AC-user-profile-profile01] wlan permit-ap-group 1

[AC-user-profile-profile01] quit

[AC] user-profile profile01 enable

[AC] user-group group01

[AC-ugroup-group01] authorization-attribute user-profile profile01

[AC-ugroup-group01] quit

[AC] local-user test

[AC-luser-test] password simple test

[AC-luser-test] group group01

[AC-luser-test] service-type lan-access

[AC-luser-test] quit

结果验证:

802.1X用户只有接入特定AP”ap01”时成功通过认证。

场景三:通过配置ISP域的授权属性User Profile实现

对于802.1X认证、Portal认证和MAC地址认证,缺省认证ISP域为system域,而system域缺省认证方法为local,所以通过配置ISP域的授权属性User Profile同样对本地用户生效。

ISP域视图下配置步骤(以802.1X本地认证为例):

system-view

[AC] wlan ap-group 1

[AC-ap-group1] ap ap01

[AC-ap-group1] quit

[AC] user-profile profile01

[AC-user-profile-profile01] wlan permit-ap-group 1

[AC-user-profile-profile01] quit

[AC] user-profile profile01 enable

[AC] domain system

[AC-isp-system] authorization-attribute user-profile profile01

[AC-isp-system] quit

[AC] local-user test

[AC-luser-test] password simple test

[AC-luser-test] service-type lan-access

[AC-luser-test] quit

结果验证:

802.1X用户只有接入特定AP”ap01”时成功通过认证。

说明:

1、配置基于SSID的用户接入控制同样适用于802.1X本地认证、Portal本地认证(请与本地Portal区别)、MAC地址本地认证。

2、配置基于AP的用户接入控制同样适用于802.1X本地认证、Portal本地认证(请与本地Portal区别)、MAC地址本地认证。

3、可根据不同的应用场景选择不同的认证方式和用户接入控制策略。

 


若您有关于案例的建议,请反馈:

作者在2019-06-10对此案例进行了修订
0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作