Configuring the 802.3ad Bonding Mode on the MZ510
For details about port bonding, see section 3.7.
- MZ510 (1):
- Port1 and Port0 are configured as a NIC team, using the 802.3ad mode.
- The IP addresses of the NIC team ports are 192.168.10.10/24 and belongs to VLAN 10.
- MZ510 (2):
- Port1 and Port0 are configured as a NIC team, using the 802.3ad mode.
- The IP addresses of the NIC team ports are 192.168.20.10/24 and belongs to VLAN 20.
- MZ510 (3):
- Port1 and Port0 are configured as a NIC team, using the 802.3ad mode.
- The IP addresses of the NIC team ports are 192.168.10.30/24 and belongs to VLAN 10.
- MZ510 (4):
- Port1 and Port0 are configured as a NIC team, using the 802.3ad mode.
- The IP addresses of the NIC team ports are 192.168.20.40/24 and belongs to VLAN 20.
Set the bonding mode to 802.3ad, that is, the link aggregation mode complying with IEEE802.3ad. This mode requires that the port on the peer device (CX910) must be configured with link aggregation that complies with IEEE802.3ad. The two devices at both ends of link aggregation must be of the same model, so that either the CX910 (1) and CX910 (2) or the CX910 (3) and CX910 (4) must be configured in stack mode. The two ports connected to the same MZ510 are manually configured with link aggregation. The two uplink ports for interconnecting the CX910s are configured with link aggregation in LACP mode, as shown in Figure 5-32.
The CX910 configuration is as follows:
CX910(1): [HUAWEI]stack [HUAWEI-stack]stack priority 150 [HUAWEI-stack]stack domain 10 [HUAWEI]interface stack-port 2/1 [HUAWEI-Stack-Port1/1]port member-group interface 40GE 2/18/1 CX910(2): [HUAWEI]stack [HUAWEI-stack]stack priority 100 [HUAWEI-stack]stack domain 10 [HUAWEI]interface stack-port 3/1 [HUAWEI-Stack-Port1/1]port member-group interface 40GE 3/18/1
Save the configuration on the CX910 (1) and CX910 (2) respectively and then restart them. The two CX910s automatically set up a stacking system, the CX910 (1) functions as the stacking master, and the CX910 (2) functions as the stacking slave. Proceed with the following configuration in the stacking system:
[HUAWEI]interface Eth-Trunk 1 [HUAWEI-Eth-Trunk1]trunkport 10GE2/1/1 [HUAWEI-Eth-Trunk1]trunkport 10GE3/1/1 [HUAWEI-Eth-Trunk1]undo local-preference disable [HUAWEI-Eth-Trunk1]port link-type access [HUAWEI]interface Eth-Trunk 2 [HUAWEI-Eth-Trunk2]trunkport 10GE2/2/1 [HUAWEI-Eth-Trunk2]trunkport 10GE3/2/1 [HUAWEI-Eth-Trunk2]undo local-preference disable [HUAWEI-Eth-Trunk2]port link-type access [HUAWEI]vlan 10 [HUAWEI-vlan10]port Eth-Trunk 1 [HUAWEI]vlan 20 [HUAWEI-vlan20]port Eth-Trunk 2 [HUAWEI]interface Eth-Trunk 3 [HUAWEI-Eth-Trunk3]trunkport 10GE2/17/1 [HUAWEI-Eth-Trunk3]trunkport 10GE3/17/1 [HUAWEI-Eth-Trunk3]mode lacp-static [HUAWEI-Eth-Trunk3]undo local-preference disable [HUAWEI-Eth-Trunk3]port link-type trunk [HUAWEI-Eth-Trunk3]port trunk allow-pass vlan 10 [HUAWEI-Eth-Trunk3]port trunk allow-pass vlan 20
Configure the CX910 (3) in the same way as the CX910 (1), and the CX910 (4) as the CX910 (2).
After the configuration is complete, the CX910 (1) and CX910 (2) function as one switch module, and the CX910 (3) and CX910 (4) function as one switch module. The two ports on the MZ510 are connected to one switch module for load sharing. The two uplink ports for interconnecting the CX910s are in load sharing mode. You do not need to configure the Monitor Link because end-to-end link redundancy is implemented.