# 1. 全局开启端口安全
port-security
# 2. 进入接哑终端的端口
interface GigabitEthernet 1/0/24
port link-type access
port default vlan 10
# 3. 端口安全模式:只允许静态绑定的MAC
port-security port-mode secure
# 4. 把哑终端MAC写死(白名单)
port-security mac-address security 0011-2233-4455 vlan 10
port-security mac-address security 0011-2233-4466 vlan 10
wlan whitelist mac-address 0011-2233-4455
wlan whitelist mac-address 0011-2233-4466
# 全局黑白名单
mac-address filter enable
mac-address whitelist 0011-2233-4455
mac-address whitelist 0011-2233-4466
# 接口下启用白名单模式
interface GigabitEthernet 1/0/24
mac-address filter mode whitelist
暂无评论
mac-authentication(MAC地址认证)。1# 1. 配置 RADIUS 方案指向你的 iMC 服务器
2radius scheme imc_radius
3 primary authentication <iMC服务器IP>
4 key authentication <共享密钥>
5 user-name-format mac-address with-hyphen # MAC地址格式需与iMC一致
6
7# 2. 配置认证域
8domain mac_domain
9 authentication lan-access radius-scheme imc_radius
10 authorization lan-access radius-scheme imc_radius
11
12# 3. 在连接哑终端的接口下开启 MAC 认证
13interface GigabitEthernet 1/0/10
14 mac-authentication
15 mac-authentication domain mac_domain暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论