Configuring the 802.3ad Bonding Mode on the MZ520
For details about port bonding, see NIC team configuration in Configuring Port Bonding for the MZ520. The following lists the configuration on each MZ520:
MZ520 (1):
Configure NIC teaming for Port 0 and Port 1 in 802.3ad mode.
The IP address of the NIC team is 192.168.10.10/24 and belongs to VLAN 10.
MZ520 (2):
Configure NIC teaming for Port 0 and Port 1 in 802.3ad mode.
The IP address of the NIC team is 192.168.20.10/24 and belongs to VLAN 20.
MZ520 (3):
Configure NIC teaming for Port 0 and Port 1 in 802.3ad mode.
The IP address of the NIC team is 192.168.10.30/24 and belongs to VLAN 10.
MZ520 (4):
Configure NIC teaming for Port 0 and Port 1 in 802.3ad mode.
The IP address of the NIC team is 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 (CX320) must be configured with link aggregation that complies with IEEE 802.3ad. The two devices at both ends of link aggregation must be in the same stacking system. Therefore, either CX320 (1) and CX320 (2) or CX320 (3) and CX320 (4) must be configured in stack mode. The two ports connected to the same MZ520 are manually configured as link aggregation. The two uplink ports for interconnecting the CX320s are configured as link aggregation in LACP mode, as shown in Figure 5-20.
The configuration of each CX320 is as follows:
CX320(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
CX320(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 CX320 (1) and CX320 (2) and then restart them. The two CX320s automatically set up a stacking system. CX320 (1) functions as the master switch module, and CX320 (2) functions as the slave switch module. 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
CX320 (3) has similar configuration to CX320 (1), and CX320 (4) has similar configuration to CX320 (2).
After the configuration is complete, CX320 (1) and CX320 (2) function as one switch module, and CX320 (3) and CX320 (4) function as one switch module. The two ports on Controller 0 of the MZ520 are connected to one switch module for load sharing. The two uplink ports for interconnecting the CX320s are also in load sharing mode. You do not need to configure the monitor link because end-to-end link redundancy is implemented.