On the test, I will configure aggregation on two ports of Huawei SmartAX MA5683T and Cisco Catalyst 6509-E.
Let’s see what boards are installed:
display board 0
display board 0/8
My traffic goes to one SFP port 0/8/0 (board H801GICF), I will configure the aggregation to it and the next free port 0/8/1:
link-aggregation 0/8 0 0/8 1 egress-ingress workmode lacp-static
Or we will configure one port, and then add the following:
link-aggregation 0/8 0 egress-ingress workmode lacp-static
link-aggregation add-member 0/8/0 0/8 1
If there is another H801GICF card, you can add its ports to the previously created aggregation, thereby increasing the uplink to 4Gb/s:
link-aggregation add-member 0/8/0 0/9 0,1
Let’s check:
display link-aggregation 0/8/0
display link-aggregation 0/8/1
You can cancel the aggregation as follows:
undo link-aggregation 0/8/0
Or, for example, remove port 0/9/1 from the aggregation:
link-aggregation delete-member 0/8/0 0/9 1
On Huawei SmartAX MA5683T, the aggregation setup is completed, most likely there will be no interruptions in traffic during the setup process, but sometimes if you specify the wrong speed and duplex, the link may not go up. Similarly, I set up aggregation on the H801X2CS board and got a 20 Gbit/s channel.
When you add new vlans to an existing aggregation, at that moment the traffic will stop going for half a second, an example of a vlan adding command (vlan are indicated on the very first port, this can be seen in the configuration, in my case it is port 0 and on the other ports involved in the aggregation, vlan will be added automatically):
port vlan 777 0/9 0
Now I’ll go to the port settings on the Cisco Catalyst 6509-E.
I configure the first port as I need, assign the necessary VLAN and add the port to the aggregation channel with the last command:
interface GigabitEthernet1/7
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 111,144-190
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
The second port should be configured the same way, and also add the last command to the aggregation channel:
interface GigabitEthernet1/8
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 111,144-190
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
After the above commands, the Port-channel1 interface was automatically created, use the description command to add a note to it and enable it:
interface Port-channel1
description GPON OLT link aggregation
no shutdown
Now you can connect both Cisco ports to the OLT ports of the MA5683T.
Done.
See also my article:
Configuring Huawei SmartAX MA5683T through the console
Hi there. Thanks for the post. I have a question… Do I have to add vlan to each physical port or maybe there is a way to add in lag virtual port?