To enable proper traffic transmission, configure a working mode for an E-Trunk member interface. An E-Trunk member interface can work in automatic, forcible master, or forcible backup mode.
If the local E-Trunk works in master mode, the local member interface also works in master mode.
If the local E-Trunk works in backup mode and the peer member interface fails, the local member interface works in master mode. If the local member interface receives a recovery message from the peer member interface, the local member interface enters the backup mode.
When E-Trunk member interfaces work in automatic mode, a change in the interval at which Hello packets are exchanged or the timeout period will result in master/backup status flapping. Therefore, configure the member interfaces to work in forcible master/backup mode before changing the interval at which Hello packets are exchanged. After master/backup status negotiation is complete, restore the member interfaces to the automatic mode.
Run system-view
The system view is displayed.
Run interface eth-trunk trunk-id
The Eth-Trunk interface view is displayed.
Only Eth-Trunk interfaces in static LACP mode or manual load balancing mode can be added to E-Trunks.
If an Eth-Trunk interface in static LACP mode is added to an E-Trunk, do not configure the maximum number of active links for the Eth-Trunk interface on each of the dual-homing E-Trunk-enabled devices for user access. Otherwise, LACP cannot select correct interfaces as active interfaces for service forwarding.
Run e-trunk mode mode-type }
A working mode is configured for the Eth-Trunk interface that is added to the E-Trunk.In a dual-homing active-active scenario, you need to specify force-master on the Eth-Trunk interfaces to enable the Eth-Trunk interfaces to work in master state.
Run system-view
The system view is displayed.
Run interface global-ve ve-number
A global VE interface is created, and its view is displayed.
Run e-trunk mode mode-type }
A working mode is configured for the global VE interface that is added to the E-Trunk.In a dual-homing active-active scenario, you need to specify force-master on the global VE interfaces to enable the global VE interfaces to work in master state.