How to configure the Link Aggregation of GPON OLT P1201?
Note:
This Article Applies to TP-Link GPON OLT P1201 Ver.1;
Background
With LAG (Link Aggregation Group) function, you can aggregate multiple physical ports into a logical interface, increasing link bandwidth and providing backup ports to enhance the connection reliability. Which means even some of the links is down, the others can still work and make sure the connection is available.
Assume there are three 1Gbps physical links contained in this logical link, then this logical link’s bandwidth will be 3Gbps. So it always be used at the uplink port of the OLT to provide high reliability. The function is based on the Link Aggregation Control protocol (LACP).
This guide will show you how to achieve that by CLI and EMS.
A: CLI
The GPON OLT P1201 can support 16 group link aggregation, which ID from 1-16. While the 1-8 support static aggregation, the 9-16 group can support static aggregation (LACP). Here we take LACP as example.
Before we start the configuration, we need to know some basic knowledge of the LACP mechanism.
Member port: The port of an aggregation group called as the member port.
Reference Port: There will be a reference port among all the member ports. Other member ports of the same aggregation group will compare their port configurations with the reference port. If other member port’s configurations are the same as reference port, then this member port will be selected. Otherwise it will be unselected.
Step1. Add ports into a link aggregation group:
OLT(config)#interface link-aggregation
OLT(config-interface-aggregation)#member add ge 0/0 1,2 link-aggregation group 9
Step2. Set the LACP System Priority.
OLT(config-interface-aggregation)#lacp set system priority 3000
Step3. Set Link-Aggregation Group Port Priority.
OLT(config-interface-aggregation)#link-aggregation port-priority ge 0/0 1 3000
Note: The Priority value we configured on step3 and step4 are used to choose the Reference port. The device with lower system ID (system ID consists of System Priority + System MAC) will be the primary switch or you can call it as master switch. Then the member port with the lowest (port priority + port ID) on primary switch will be the reference port.
Step4. Config Link-Aggregation Group Load Balance Mode
There are 6 kinds of Load Balance policy, we can choose one of them:
dest-ip: Load sharing unicast according to destination ip address
dest-mac: Load sharing unicast according to destination mac address
source-dest-ip: Load sharing unicast according to source and destination ip address
source-dest-mac: Load sharing unicast according to source and destination mac address
source-ip: Load sharing unicast according to source ip address
source-mac: Load sharing unicast according to source mac address(default)
OLT(config-interface-aggregation)#link-aggregation group 1 unicast balance dest-ip
OLT(config-interface-aggregation)#exit
Till now, you have finished all the configuration on the OLT side. We can check the result by show command.
OLT(config-interface-aggregation)#show link-aggregation group 9
Lag ID Lag Type Selected Ports Unselected Ports Load Balance Master Port
9 Lacp -- ge1-2, dest-ip --
Note:
Make sure the ports you selected has the same port configuration like speed or duplex setting.
B: EMS
First step to use the EMS is to configure the SNMP on the OLT device. For details, you can refer to the FAQ No.3.
Step1. Please go to Control Card Management.
Open the Control Card Management, and click the Link-aggregation. You will see there are 16 groups.
Step2. Configure the link-aggregation.
Click config on the bottom of the Link-aggregation Group config page. Choose the ports you want to aggregate together, for example GE3 and GE4 join the Group 5.
After that, you will see the following result:
Step3. Config Link-Aggregation Policy.
Choose one of the Link-Aggregation Policy according to your requirement.
Till now, you have finished all the configuration on the OLT side. Please remember this function is used between network devices, so you have to configure the LACP on the other side too.
Note:
Make sure the device on the other side can also support the LACP before you start the configuration.
Related document: