1-11
Link Aggregation Configuration Examples
In an aggregation group, the port to be a selected port must be the same as the reference port in port
attributes, and class-two configurations. To keep these configurations consistent, you should configure
the port manually.
z
Reference port: Select a port as the reference port from the ports that are in up state and with the
same class-two configurations as the corresponding aggregate interface. The selection order is as
follows: full duplex/high speed, full duplex/low speed, half duplex/high speed, and half duplex/low
speed, with full duplex/high speed being the most preferred. If two ports with the same duplex
mode/speed pair are present, the one with the lower port number wins out.
z
Port attribute configuration includes the configuration of the port rate, and duplex mode.
z
For details about class-two configurations, see
Table 1-1Class-two configurations.
Layer 2 Static Aggregation Configuration Example
Network requirements
As shown in
Figure 1-1
, Device A and Device B are connected through their respective Ethernet ports
GigabitEthernet1/0/1 to GigabitEthernet1/0/3.
Aggregate the ports on each device to form a static link aggregation group, thus balancing outgoing
traffic across the member ports. In addition, perform load sharing based on source and destination MAC
addresses.
Figure 1-1
Network diagram for Layer 2 static aggregation
Configuration procedure
1) Configure Device A
# Configure the device to perform load sharing based on source and destination MAC addresses for link
aggregation groups.
<DeviceA> system-view
[DeviceA] link-aggregation load-sharing mode source-mac destination-mac
# Create Layer 2 aggregate interface Bridge-aggregation 1.
[DeviceA] interface bridge-aggregation 1