When a server is dual-homed to CE switches through M-LAG, the server cannot transmit traffic to one of the CE switches

8

The cause is that the LACP M-LAG system priorities and IDs of two CEs in the M-LAG are inconsistent. Eth-Trunks on both switches configured with M-LAG must use the same LACP M-LAG system priority and ID.
- In V100R006C00 and earlier versions, run the lacp m-lag priority priority command on the Eth-Trunks of both switches configured with M-LAG to set the same LACP M-LAG system priority and run the lacp m-lag system-id mac-address command to set the same LACP M-LAG system ID.
- In V200R001C00 and later versions, the slave switch in the M-LAG automatically synchronizes the LACP M-LAG system priority and ID of the master switch through the peer-link.

Other related questions:
When a server is dual-homed to CE switches through M-LAG, the server cannot transmit traffic to one of the CE switches
The cause is that the LACP M-LAG system priorities and IDs of two CEs in the M-LAG are inconsistent. Eth-Trunks on both switches configured with M-LAG must use the same LACP M-LAG system priority and ID. - In V100R006C00 and earlier versions, run the lacp m-lag priority priority command on the Eth-Trunks of both switches configured with M-LAG to set the same LACP M-LAG system priority and run the lacp m-lag system-id mac-address command to set the same LACP M-LAG system ID. - In V200R001C00 and later versions, the slave switch in the M-LAG automatically synchronizes the LACP M-LAG system priority and ID of the master switch through the peer-link.

How can I configure STP when a CE switch connects to a server
Basic Concept If a specified port of a CE switch is connected to no other switching devices but directly connected to a server, the port can be configured as an edge port. The edge port will not participate in spanning tree calculation, which speeds up network topology convergence and enhances network stability. In normal cases, an edge port does not receive any BPDUs. If a switch is attacked by forged BPDUs, edge ports will receive BPDUs. The switch then sets the edge ports as non-edge ports and recalculates the spanning tree, resulting in network flapping. You can configure BPDU protection to defend against network attacks of this type. Configuration When a CE switch connects to a server, configure the port connected to the server as an edge port and configure BPDU protection. The following takes the RSTP mode as an example: system-view [~HUAWEI] stp mode rstp //Set the STP working mode to RSTP. [*HUAWEI] interface 10ge 1/0/1 [*HUAWEI-10GE1/0/1] stp edged-port enable //Configure the port as an edge port. [*HUAWEI-10GE1/0/1] quit [*HUAWEI] stp bpdu-protection //Enable BPDU protection. [*HUAWEI] commit

How to configure an Eth-Trunk to transparently transmit packets from a VLAN on CE switches
Run the port link-type { access | hybrid | trunk } command in the Eth-Trunk interface view to configure the link type of the interface and add the interface to a VLAN. The Eth-Trunk can then transparently transmit packets from the VLAN. # Configure Eth-Trunk 2 as a trunk interface and configure it to transparently transmit packets from VLAN 2. system-view [~HUAWEI] vlan batch 2 //Create VLAN 2. [*HUAWEI] interface eth-trunk 2 //Create an Eth-Trunk. [*HUAWEI-Eth-Trunk2] trunkport 10ge 1/0/1 [*HUAWEI-Eth-Trunk2] port link-type trunk [*HUAWEI-Eth-Trunk2] port trunk allow-pass vlan 2 //Add Eth-Trunk 2 to VLAN 2. [*HUAWEI-Eth-Trunk2] commit

For M-LAG networking of CE series switches, how to prevent some ports on a slave switch from entering the Error-Down state upon peer-link failures
If M-LAG is used on an Ethernet, VXLAN, or IP network where a CE switch is dual-homed to two PEs, when the peer-link is faulty but the heartbeat status is normal, all interfaces except the management interface, peer-link interface, and stack interface on the slave device enter the Error-Down state. When the peer-link recovers, the M-LAG member interfaces in Error-Down state are restored to the Up state after 2 minutes by default. Other physical interfaces in Error-Down state are restored to the Up state automatically. In actual networking, however, some uplink interfaces that run routing protocols or are used as DAD heartbeat interfaces do not need to enter the Error-Down state when the peer-link is faulty. You can configure the function on non-M-LAG member interfaces. # Configure Eth-Trunk 2 on the slave switch to automatically enter the Error-Down state. system-view [~HUAWEI] interface eth-trunk 2 [*HUAWEI-Eth-Trunk2] m-lag unpaired-port suspend [*HUAWEI-Eth-Trunk2] commit - When the peer-link is faulty but the heartbeat status is normal, M-LAG member interfaces and only the interfaces having the m-lag unpaired-port suspend command configured enter the Error-Down state. - M-LAG member interfaces do not support the m-lag unpaired-port suspend command, so you are advised to configure them on both master and slave switches.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top