< Home

lacp src-mac

Function

The lacp src-mac command configures an interface or system MAC address as an LACPDU's source MAC address.

The undo lacp src-mac command restores the default source MAC address.

By default, the system MAC address is used as an LACPDU's source MAC address.

Format

lacp src-mac { bridge | port }

undo lacp src-mac

Parameters

Parameter Description Value
bridge Configures the system MAC address as an LACPDU's source MAC address. -
port Configures an interface MAC address as an LACPDU's source MAC address. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When a Huawei device connects to a non-Huawei device through Eth-Trunk interfaces in static LACP mode, if the Huawei device uses the default system MAC address, whereas the non-Huawei device uses the MAC addresses of the Eth-Trunk member interfaces as LACPDUs' source MAC addresses, the non-Huawei device may consider the received LACPDUs with the same MAC address invalid and therefore discard them, leading to an LACP negotiation failure.

To ensure a successful LACP negotiation, run the lacp src-mac port command to configure the Huawei device to use interface MAC addresses as LACPDUs' source MAC addresses.

Example

# Configure interface MAC addresses as LACPDUs' source MAC addresses.

<HUAWEI> system-view
[HUAWEI] lacp src-mac port
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >