接入用户变动较少,且数量较少
可以通过配置为安全静态MAC地址,实现MAC地址表项的绑定
MAC
<HUAWEI> system-view[HUAWEI] port-security static-flapping protect # 使能静态MAC地址漂移的检测功能[HUAWEI] interface gigabitethernet 0/0/1[HUAWEI-GigabitEthernet0/0/1] port-security enable # 使能端口安全功能[HUAWEI-GigabitEthernet0/0/1] port-security max-mac-num 1 # 配置端口安全MAC地址学习限制数[HUAWEI-GigabitEthernet0/0/1] port-security protect-action restrict # 配置端口安全保护动作
服务热线
1391-024-6332