在ACG(上网行为管理)设备上,手工绑定MAC到特定组的配置步骤如下:
1. 创建用户组(若尚未创建):
[ACG] user-group name 特定组名
2. 手工绑定MAC到用户(需先创建用户):
[ACG] local-user username 用户名
[ACG-luser] mac-address 00e0-fc12-3456
[ACG-luser] bind user-group 特定组名
3. 配置认证策略(关键步骤):
[ACG] authentication-policy
[ACG-auth] mac-authentication enable
[ACG-auth] mac-authentication user-name-format with-mac
[ACG-auth] mac-authentication group 特定组名
4. 启用MAC优先上线:
[ACG] mac-authentication priority enable
验证命令:
display mac-authentication
display user-group 特定组名
display connection
关键点:
确保跨三层取MAC功能已开启(arp-mac-binding enable)
手工绑定优先级高于自动学习,设备会优先匹配手工绑定的MAC
若需“零段”效果,可在认证策略中设置mac-authentication bypass,使未绑定MAC的终端走其他认证流程,而绑定MAC直接上线到指定组
若需更精细控制,可在authentication-policy中配置多条规则,将MAC绑定用户与特定组关联,并调整规则顺序使绑定规则优先匹配。
暂无评论