Support

How to Setup Link-Aggregation to Uplink Ports on Huawei OLT?

Abstract

This topic will guide you how to setup link-aggregation to uplink ports on Huawei OLT ?

Function

The linkaggregation command is used to create an Ethernet link aggregation group (LAG) and specify the master port in the group. Ethernet link aggregation means that two or more Ethernet ports of the same type are bound as a logical port. It improves link bandwidth without a hardware upgrade and effectively hardens link reliability using a link backup mechanism.

The undo linkaggregation command is used to delete an Ethernet LAG. After the master port in an Ethernet LAG is deleted, the Ethernet LAG is deleted and the protection and load sharing among ports in the Ethernet LAG are also canceled.

NOTE:

When adding a port to or deleting a port from a link aggregation group, if this port is already connected to the peer device, run the shutdown command for the port or remove the optical fiber to avoid a link loop.

Format

linkaggregation frameid/slotid port-list [ frameid/slotid port-list ] mode [ workmode lacp-static ]

undo linkaggregation frameid/slotid/portid all }

NOTE: If lacp mode is used, the uplinking suit is ZTE or Cisco suit, it must use :

  smartgroup mode 802.3ad

 

ZTE side :

!

interface smartgroup1

out_index 29

description Link_IDC_bofen_east

switchport mode trunk

switchport trunk native vlan 4004

switchport trunk vlan 8

switchport trunk vlan 1000-2000

  smartgroup mode 802.3ad

!

!

interface smartgroup3

out_index 31

description Link_qinggongxiao_OLT_xiaxing

switchport mode trunk

switchport trunk native vlan 4003

switchport trunk vlan 2-100

switchport trunk vlan 1000-2000

switchport trunk vlan 4001

smartgroup mode 802.3ad

!

interface smartgroup4

out_index 32

description Link_firewall_jingxiang

switchport access vlan 3004

smartgroup mode on

!

interface gei_1/23

out_index 26

negotiation auto

switchport mode trunk

switchport trunk native vlan 4003

switchport trunk vlan 2-100

switchport trunk vlan 1000-2000

switchport trunk vlan 4001

switchport qinq normal

smartgroup 3 mode active

monitor session 1 source direction both

!

interface gei_1/24

out_index 27

negotiation auto

switchport mode trunk

switchport trunk native vlan 4003

switchport trunk vlan 2-100

switchport trunk vlan 1000-2000

switchport trunk vlan 4001

switchport qinq normal

smartgroup 3 mode active

monitor session 2 source direction both

!


Parameters
Parameter Description Value
frameid/slotid Indicates the subrack ID and slot ID for member ports in an aggregation group. Enter a slash (/) between the subrack and slot IDs.

For inter-board link aggregation, if two or more ports on two boards are added into an LAG, you must enter this parameter twice. The frameid/slotid values indicate where the two boards are installed.

For intra-board link aggregation, if two or more ports on one board are added into an LAG, you only need to enter this parameter once. The frameid/slotid value indicates where the board is installed.

/
port-list Indicates the aggregation port list.

There is one port or multiple ports in the list. If there are multiple ports in the list, you can use “,” to divide different ports and “-” to connect the successive ports. For example, “0, 2-5, 7”.

NOTE:

The port with the smallest port ID is the master port. If you specify only one port, you need to run the link-aggregation add-member command to configure slave ports.

Character string type, a string of 1-255 characters.
mode Indicates packet distribution mode of the aggregation group. To ensure that the peer ports correctly receive the packets carried over member links, and the traffic is evenly loaded by these member links, the device distributes packets in the following mode when performing load sharing:

· ingress indicates that the member ports distribute packets based on the source MAC address.

· egress-ingress indicates that the member ports distribute packets based on the source MAC address and destination MAC address. This mode is recommended when the device does not support the MPLS feature.

· mpls-label indicates that the member ports distribute packets based on the MPLS label. This mode is recommended when the device supports the MPLS feature.

· src-dst-ip indicates that the number ports distribute packets based on the source IP address and destination IP address.

· ip-enhance indicates that the member ports distribute packets based on the IP address and protocol number.

Enumerated type. Options: ingressegress-ingresssrc-dst-ipip-enhance and mpls-label.
workmode lacp-static Sets the aggregation group of the LACP static aggregation type. If this parameter is not specified, the aggregation group type is manual aggregation.

· When the access device is interconnected with one that supports the LACP protocol, it is recommended that you specify this parameter. An LACP static LAG is manually created and the LACP protocol running at the interconnected devices controls link aggregation. (If aggregation type is static aggregation, the LACP protocol packets may be frequently exchanged, causing a system overload, when the access device cascades multiple lower-layer devices for aggregation.)

· When the access device is interconnected with one that does not support the LACP protocol, the aggregation type must be set to manual aggregation. Users manually create and control an manual LAG. (If aggregation type is manual aggregation, the transmit device cannot detect a unidirectional fault on a link (for example, a fiber cut in one direction at an Ethernet optical port) or an incorrect physical line connection.)

frameid/slotid/portid Indicates the master port in the aggregation group. Enter a slash (/) between the subrack and slot IDs. When you need to delete an LAG by deleting the master port in the LAG, use this parameter. /
all Deletes all LAGs.
Example

To add ports 0/9/0 and 0/9/1 into a LACP static aggregation group in ingress mode, do as follows:

huawei(config)#link-aggregation 0/9

{  port-list<S><Length 1-255> }:0-1

{ frameid/slotid<S><Length 3-15>|mode<E><ingress,egress-ingress,mpls-label,src-d

st-ip,ip-enhance}:ingress

{ <cr>|workmode<K> }:workmode

{ lacp-static<K> }:lacp-static

Command:

          link-aggregation 0/9 0-1 ingress workmode lacp-static

To add ports 0/9/0 and 0/9/1 into a manual aggregation group in engress-ingress mode, do as follows:

huawei(config)#link-aggregation 0/9

{ port-list<S><Length 1-255> }:0

{ frameid/slotid<S><Length 3-15>|mode<E><ingress,egress-ingress,mpls-label,src-d

st-ip,ip-enhance}:0/9

{ port-list<S><Length 1-255> }:1

{ mode<E><ingress,egress-ingress,mpls-label,src-dst-ip,ip-enhance> }:egress-ingress

{ <cr>|workmode<K> }:

Command:

          link-aggregation 0/9 0 0/9 1 egress-ingress

To delete the aggregation group including port 0/9/1, do as follows:

huawei(config)#undo linkaggregation 0/9/1

This operation will clear the configuration of slave port, and may cause service interruption of slave port, are you sure to continue? (y/n)[n]:y

END

Related Posts