(Optional) Configuring an Eth-Trunk Member Interface in Force Up State
Context
When a server connects to the switch, to improve the reliability, the switch interface directly connected to the server is added to the Eth-Trunk in static LACP mode. When the server restarts or goes online and the timeout interval of the Eth-Trunk that receives LACPDUs is reached, the Eth-Trunk member interface becomes Down. You can configure the Eth-Trunk member interface in Force Up state so that the Eth-Trunk member interface can continue to forward service traffic.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run lacp force-up [ extension ]
The interface is configured in Force Up state.
By default, an interface is not in Force Up state.
V200R019C10SPC900 and later versions support the extension parameter.
After this lacp force-up command is run, the force-up state takes effect only when all the member interfaces of the Eth-Trunk interface in static LACP mode time out in receipt of LACPDUs.
When all the Eth-Trunk member interfaces' force-up state takes effect, the minimum number of active member links configured using the least active-linknumber link-number command still takes effect, but the maximum number of active member links configured using the max active-linknumber link-number command stops taking effect.
To prevent the force-up function from causing packet loss when server and device interfaces are not correctly connected or the interface is falsely removed from the Eth-Trunk interface, run the lacp force-up extension command to enable the extended force-up function on the interface. After the extended force-up function is enabled, the force-up function can take effect only once. If the interface state changes from down to up later, the force-up function can take effect once again.
- Run commit
The configuration is committed.