04-Link Aggregation Configuration
04-Link Aggregation Configuration
04-Link Aggregation Configuration
1
Table of Contents
Table of Contents
1
Link Aggregation Configuration
Command Purpose
interface port-aggregator id Configures aggregated logical
channel.
1.3.2 Physical Port Aggregation
To aggregate multiple physical ports into a logical channel, you can use static aggregation or
LACP protocol for negotiation.
In the case when the static aggregation is used, it is required that the link of the physical port
should be up, and the VLAN attribute of aggregation port and physical port should be identical,
1
Link Aggregation Configuration
and then this port will be aggregated to the logical channel, regardless of whether the current
port accords with the conditions of port aggregation and whether the port that connects with
the physical port accords with the aggregation conditions.
Use LACP and the ports can be aggregated after the negotiations both in the local end and the
opposite end pass. Prerequisites for ports to be aggregated: The link of the port must be up
and the port should be negotiated to full-duplex mode. The speed of all physical ports should
be same during aggregation process, that is, if there is one physical port that has been
aggregated successfully, then the speed of the second physical port must be the same as the
first configured one. Also the vlan attributes of all physical ports must be identical to the
aggregated port.
LACP packets are exchanged between ports in two modes: Active — Places a port into an
active negotiating state, in which the port initiates negotiations with remote ports by sending
LACP packets. Passive — Places a port into a passive negotiating state, in which the port
responds to LACP packets it receives but does not initiate LACP negotiation. In this mode, the
port channel group attaches the interface to the bundle. If both ports use Passive method, then
the aggregation fails. This is because both sides will wait for the other side to launch
aggregation negotiation process.
VALN attributes: PVID, Trunk attribute, vlan-allowed range and vlan-untagged range.
Use the following command to perform aggregation on the uplink ports:
Command Purpose
aggregator-group agg-id mode { lacp Configures aggregation option of the
| static } physical port.
1.3.3 Selecting the Load Balance Mode after Port Aggregation
You can select the load share method to ensure that all ports can share the data traffic after
the aggregation of all physical ports. The OLT can provide up to eight load balance strategy.
The strategies not given in the document are not recommended.
src-mac
It is to share the data traffic according to the source MAC address, that is, the message
with same MAC address attributes is to get through a physical port.
dst-mac
It is to share the data traffic according to the destination MAC address, that is, the
message with same MAC address attributes is to get through a physical port.
both-mac
It is to share the data traffic according to source and destination MAC addresses, that is,
the message with same MAC address attributes is to get through a physical port.
src-ip
It is to share the data traffic according to the source IP address, that is, the message with
same IP address attributes is to get through a physical port.
dst-ip
It is to share the data traffic according to the destination IP address, that is, the message
with same IP address attributes is to get through a physical port.
both-ip
It is to share the data traffic according to the destination and source IP addresses, that is,
the message with same IP address attributes is to get through a physical port.
2
Link Aggregation Configuration
Command Purpose
aggregator-group load-balance Configures load balance method.
1.3.4 Monitoring the Concrete Condition of Port Aggregation
Use the following command to monitor port aggregation state in EXEC mode:
Command Purpose
show aggregator-group [id] Displays port aggregation state.
{detail|brief|summary}