A → Discards the packets that trigger static MAC address flapping and reports an alarm.
B → Discards the packets that trigger static MAC address flapping and does not report an alarm.
C → Sets the interface state to error-down and reports an alarm.
Huawei port security provides protection actions to prevent unauthorized access and reduce the impact of MAC address security violations.
The port-security protect-action command supports three actions: protect, restrict, and shutdown.
The protect action silently discards packets associated with a security violation. It does not generate an alarm.
The restrict action also discards violating packets but additionally reports the security violation through a trap or alarm, allowing administrators to detect suspicious activity.
The shutdown action is the most disruptive protection mechanism. It places the affected interface into the error-down state and generates an alarm.
Static MAC address flapping occurs when a configured static MAC address unexpectedly appears on another interface, potentially indicating incorrect configuration or malicious network activity.
Choosing the appropriate protection action depends on security requirements and the operational consequences of disabling an interface.
HCIP-Datacom-Advanced Routing & Switching Technology V1.0 Training Material.pdf
================