(Optional) Setting the LACP System ID and MAC Address in Layer 3 Mode
Context
When devices are connected through Eth-Trunk interfaces in LACP mode, the device with a higher LACP system priority functions as the LACP Actor. The other device then selects active member interfaces based on the interface priorities of the LACP Actor. If the two connected devices have the same LACP system priority, the LACP system IDs determine the device priorities. To configure an LACP system ID, run the lacp system-id command. The device with a higher priority then becomes the LACP Actor. The other device then selects active member interfaces based on the interface priorities of the LACP Actor.
In this scenario, two Layer 3 Eth-Trunks of the device use the bridge MAC address by default. When the MAC address is the same, the Layer 3 protocol cannot work. To ensure that Layer 3 traffic is forwarded normally, configure the MAC address in Layer 3 mode for at least one Eth-Trunk so that the two Eth-Trunks use different MAC addresses.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The member interface view is displayed.
- Run lacp system-id mac-address
The LACP system ID of the member interface is configured.
By default, the LACP system ID of an Eth-Trunk interface is the system bridge MAC address.
The lacp system-id and lacp m-lag system-id commands are mutually exclusive.
- (This step is mandatory when Layer 3 traffic needs to be forwarded.) Configure the MAC Address for an Eth-Trunk in Layer 3 Mode.
- Run commit
The configuration is committed.