可以。WX3520X支持在不启用Portal认证的情况下,通过用户接入控制或策略服务器实现免认证SSID的上网时长限制和限速。
实现方式:
1. 本地用户+认证模板:在免认证SSID的服务模板下绑定一个本地认证方案,但认证方式设为bypass(免认证),同时启用授权属性下发。
2. 关键配置命令:
text
创建用户并设置时长/限速属性
local-user test class network
password simple 123456
authorization-attribute user-profile profile1
quit
创建用户profile,绑定QoS策略和时长
user-profile profile1
qos-profile qos1 inbound
qos-profile qos1 outbound
quit
在服务模板下启用免认证但强制下发profile
wlan service-template 2
ssid guest
client authentication-method bypass
client user-profile apply profile1
service-template enable
3. 时长限制:通过authorization-attribute中的session-timeout(单位为秒)设置,AC会在超时后强制下线。也可配合idle-cut命令设置空闲超时。
注意: 免认证模式下,AC无法主动感知用户在线时长,需依赖设备侧定时器。若需精确到每日固定时段,建议使用AC的时间段策略(time-range)结合ACL控制。
暂无评论