The port-master command configures an interface as the master interface in an Eth-Trunk interface in manual 1:1 master/backup mode.
The undo port-master command deletes the configuration of the master interface in an Eth-Trunk interface in manual 1:1 master/backup mode.
By default, the member interface that is first added to the Eth-Trunk interface in manual 1:1 master/backup mode will automatically become the master one.
Usage Scenario
Eth-Trunk is a technique that bundles Ethernet interfaces into a logical interface (called an Eth-Trunk interface) to increase bandwidth, balance traffic, and improve network reliability. If intermediate devices exist between Eth-Trunk interfaces at both ends of an Eth-Trunk link, configure the Eth-Trunk interfaces to work in manual 1:1 master/backup mode.
Only the master interface is in the active state and can forward data. To ensure a reliable communication, running the port-master command is recommended to specify a master interface.Prerequisites
The Eth-Trunk interface must work in manual 1:1 master/backup mode.
Precautions
In normal situations, the master member interface in an Eth-Trunk interface in manual 1:1 master/backup mode is active and can forward data. The backup member interface is inactive and cannot forward data. To change the backup interface to the master interface, perform either of the following operations:
<HUAWEI> system-view [~HUAWEI] interface eth-trunk 1 [*HUAWEI-Eth-Trunk1] portswitch [*HUAWEI-Eth-Trunk1] mode manual backup [*HUAWEI-Eth-Trunk1] quit [*HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] eth-trunk 1 [*HUAWEI-GigabitEthernet0/1/1] port-master