mac-address sticky-whitelist bridge-domain

Function

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.

Format

mac-address sticky-whitelist mac-address bridge-domain bd-id

undo mac-address sticky-whitelist mac-address bridge-domain bd-id

Parameters

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.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mac write

Usage Guidelines

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.

Example

# Configure a sticky MAC address whitelist.
<HUAWEI> system-view
[*HUAWEI] bridge-domain 1
[*HUAWEI-bd1] quit
[*HUAWEI] mac-address sticky-whitelist 0-0-1 bridge-domain 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >