The sticky-mac enable command enables the sticky MAC function.
The undo sticky-mac enable command disables the sticky MAC function.
By default, the sticky MAC function is disabled.
Usage Scenario
MAC spoofing attacks may occur on an EVPN. After sticky MAC address identification is enabled in a BD, all dynamic MAC address entries in the BD are configured with sticky flags. MAC addresses with sticky flags are considered trusted. In this case, the interface cannot learn MAC addresses with the same MAC address but without stickiness flags from other interfaces in the same bridge domain. This prevents the interface from receiving attack packets.
Prerequisites
Precautions