The mac-address sticky-whitelist bridge-domain command configures a sticky MAC address whitelist.
The undo mac-address sticky-whitelist bridge-domain command deletes a sticky MAC address whitelist.
By default, no sticky MAC address whitelist is configured.
Parameter | Description | Value |
---|---|---|
mac-address |
Specifies a MAC address. |
The value is a hexadecimal number in the format of H-H-H. H is a 4-digit hexadecimal number, such as 00e0 or fc01. If you enter less than four digits, 0s are padded ahead. For example, if you enter e0, 00e0 is displayed. The MAC address cannot be set to FFFF-FFFF-FFFF. |
bd-id |
Specifies a BD ID. |
The value is an integer that ranges from 1 to 16777215. |
Usage Scenario
After the sticky MAC function is enabled in a BD, MAC addresses in the whitelist will not be configured as sticky MAC addresses.
Precautions
If the MAC address has been configured as a blackhole or static MAC address, the MAC address in the whitelist does not take effect.