< Home

mac-address update host enable

Function

The mac-address update host enable command enables user host information update triggered by a MAC address entry change.

The undo mac-address update host enable command disables user host information update triggered by a MAC address entry change.

By default, user host information update triggered by a MAC address entry change is disabled.

Format

mac-address update host enable

undo mac-address update host enable

Parameters

None

Views

VBDIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If user hosts migrate between different gateways in a distributed VXLAN gateway scenario and do not send gratuitous ARP or NA packets after the migration, you can run the mac-address update host enable command to configure the switch to be triggered to send ARP or NS requests to update user host information by changes in the user hosts' MAC address entries on the switch before and after the migration. This configuration ensures that user hosts can successfully go online after the migration.

Precautions

When the distributed gateway is the S6730-S, S6730S-S, S5732-H, S5731-S, S5731S-S, S5731S-H, S6730-H, S6730S-H, S5731-H, S5720-HI, S5730-HI, or S6720-HI, the switch cannot learn a user host's MAC address from Layer 3 packets (the destination MAC address of the packets is the MAC address of the switch) sent by the user host. Therefore, the switch cannot be triggered to update user host information by Layer 3 traffic send by user hosts in this scenario. In this scenario, the switch can only be triggered to update user host information by Layer 2 traffic (the destination MAC address of the packets is not the MAC address of the switch) send by user hosts.

Example

# Enable user host information update triggered by a MAC address entry change on VBDIF 10.

<HUAWEI> system-view
[HUAWEI] interface vbdif 10
[HUAWEI-Vbdif10] mac-address update host enable
[HUAWEI-Vbdif10] quit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >