To allow a Huawei device to communicate with a non-Huawei device that uses master and backup interfaces (both in the Up state), configure an Eth-Trunk interface in manual 1:1 master/backup mode on the Huawei device.
On the network shown in Figure 1, a non-Huawei device uses master and backup interfaces (both in the Up state) to directly connect to a Huawei device. However, communication may fail because network administrator cannot identify the master and backup interfaces on the connected non-Huawei device during network planning or maintenance and therefore cannot correctly specify the master and backup interfaces when configuring the Eth-Trunk interface in manual 1:1 master/backup mode.
To address this problem, run the inactive-port shutdown enable command on the Huawei device to forcibly set the backup member interface in the Eth-Trunk interface in manual 1:1 master/backup mode to the Down state. This configuration allows the non-Huawei device to communicate with the Huawei device both through the master interfaces, ensuring communication.
If the master member interface for forwarding traffic fails, the system automatically disables the forcible Down state of the backup member interface and restores the backup member interface to the Up state so that it can communicate with the non-Huawei device.
The inactive-port shutdown enable and preempt enable commands are mutually exclusive in this scenario.
The system view is displayed.
An Eth-Trunk interface is created, and the Eth-Trunk interface view is displayed.
The Eth-Trunk interface is switched to Layer 2 mode.
The Eth-Trunk interface is configured to work in manual 1:1 master/backup mode.
The backup member interface in the Eth-Trunk interface that works in manual 1:1 master/backup mode is forcibly set to the Down state.
A maximum of two interfaces can be added to or deleted from an Eth-Trunk interface in a batch.
Before adding an interface to an Eth-Trunk interface, ensure that the following condition is met:
An Ethernet interface can be added to only one Eth-Trunk interface. Before adding it to another Eth-Trunk interface, delete it from the existing Eth-Trunk interface.
An interface can be added to an Eth-Trunk interface in the Eth-Trunk interface view or in the interface view. For details, see Adding Interfaces to an Eth-Trunk Interface.
Return to the system view.
The Eth-Trunk member interface view is displayed.
The master member interface is specified.
Only one master interface can be specified between the two member interfaces in an Eth-Trunk interface in manual 1:1 master/backup mode.
The configuration is committed.