Layer 2 and Layer 3 Eth-Trunk interfaces need to be configured with different parameters. Configure the parameters as required.
The system view is displayed.
The Eth-Trunk interface view is displayed.
The Eth-Trunk interface is switched to a Layer 2 interface.
Parameter for a Layer 2 Eth-Trunk Interface |
Operation |
---|---|
Maximum number of Up member links that determine the Eth-Trunk link bandwidth |
Run the max bandwidth-affected-linknumber link-number command. |
Maximum number of Up member links |
Run the max active-linknumber link-number command. NOTE:
To prevent Eth-Trunk link from flapping, you are advised to configure the same upper limit for the two ends of an Eth-Trunk link. If only one end of the Eth-Trunk link is configured, flapping may occur after all the selected member links switchover is triggered. |
Minimum number of Up member links |
Run the least active-linknumber link-number command. |
Minimum bandwidth configured for the member links that are Up on an Eth-Trunk interface |
Run the least active-bandwidth bandwidth command. NOTE:
|
Load balancing mode |
Run the { load-balance { src-dst-mac | src-dst-ip | packet-all | symmetric-hash [ complement ] } command. |
Mode in which active member interfaces are selected |
Run the lacp selected { priority | speed } command. |
LACP preemption delay |
|
Timeout period for an Eth-Trunk interface to receive LACP packets |
Run the lacp timeout { fast [ user-defined user-defined ] | slow } command. NOTE:
The two ends of an Eth-Trunk link can be configured with different timeout periods. To facilitate maintenance, you are advised to configure the same timeout period for both ends. |
CollectorMaxDelay field value in LACPDUs to be received by an Eth-Trunk interface |
Run the lacp collector delay delay-dtime command to configure the value of the CollectorMaxDelay field in an LACPDU. |
An LACP system ID for an Eth-Trunk interface |
Run the lacp system-id mac-address command. |
LACP negotiation delay for an Eth-Trunk interface |
Run the lacp negotiate delaydelay-value command to configure the LACP negotiation delay for an Eth-Trunk interface. |
Period that an Eth-Trunk interface waits before changing its state to Down |
Run the link-state down-delay-time delay-value command. |
The configuration is committed.
The system view is displayed.
The Eth-Trunk interface view is displayed.
Parameter for a Layer 3 Eth-Trunk Interface |
Operation |
---|---|
IP address of the Eth-Trunk interface |
Run the ip address ip-address { mask | mask-length } [ sub ] command. |
MAC address of the Eth-Trunk interface |
Run the mac-address mac-address command. |
MTU of the Eth-Trunk interface |
Run the mtu mtu command. NOTICE:
|
Maximum number of Up member links |
Run the max active-linknumber link-number command. NOTE:
To prevent Eth-Trunk link from flapping, you are advised to configure the same upper limit for the two ends of an Eth-Trunk link. If only one end of the Eth-Trunk link is configured, flapping may occur after all the selected member links switchover is triggered. |
Minimum number of Up member links |
Run the least active-linknumber link-number command. An Eth-Trunk interface is Up as long as one member interface is Up. |
Minimum bandwidth configured for the member links that are Up on an Eth-Trunk interface |
Run the least active-bandwidth bandwidth command. NOTE:
|
Load balancing mode |
Run the { load-balance { src-dst-mac | src-dst-ip | packet-all | symmetric-hash [ complement ] } command. |
Mode in which active member interfaces are selected |
Run the lacp selected { priority | speed } command. NOTE:
To ensure that an Eth-Trunk works properly, you are advised to configure the Eth-Trunk interfaces on both ends to select active member interfaces in the same mode. |
LACP preemption delay |
|
Timeout period for an Eth-Trunk interface to receive LACP packets |
Run the lacp timeout { fast [ user-defined user-defined ] | slow } command. NOTE:
The two ends of an Eth-Trunk link can be configured with different timeout periods. To facilitate maintenance, you are advised to configure the same timeout period for both ends. |
CollectorMaxDelay field value in LACPDUs to be received by an Eth-Trunk interface |
Run the lacp collector delay delay-dtime command to configure the value of the CollectorMaxDelay field in an LACPDU. |
An LACP system ID for an Eth-Trunk interface |
Run the lacp system-id mac-address command. |
LACP negotiation delay for an Eth-Trunk interface |
Run the lacp negotiate delaydelay-value command to configure the LACP negotiation delay for an Eth-Trunk interface. |
Period that an Eth-Trunk interface waits before changing its state to Down |
Run the link-state down-delay-time delay-value command. |
The configuration is committed.