20
Set the global load sharing mode for Ethernet link aggregation to distribute traffic based on
source service port, destination service port, or both source and destination service ports.
The command syntax is
link-aggregation global load-sharing mode
{
destination-port
|
source-port
} *. For more information about Ethernet link aggregation load sharing, see
Layer 2—LAN Switching Configuration Guide
.
Configuring the global load sharing mode
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the global IRF
link load sharing mode.
irf-port global load-sharing mode
{
destination-ip
|
destination-mac
|
source-ip
|
source-mac
} *
By default, packets are
distributed automatically across
IRF member links based on
packet types.
If you execute this command
multiple times, the most recent
configuration takes effect.
Configuring a port-specific load sharing mode
Before you configure a port-specific load sharing mode, make sure you have bound a minimum of
one physical interface to the IRF port.
To configure a port-specific load sharing mode for an IRF port:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IRF port view.
irf-port member-id
/
port-number
N/A
3.
Configure the port-specific
load sharing mode.
irf-port load-sharing mode
{
destination-ip
|
destination-mac
|
source-ip
|
source-mac
} *
By default, the global IRF link
load sharing mode applies.
If you execute this command
multiple times, the most recent
configuration takes effect.
Configuring IRF bridge MAC persistence
By default, an IRF fabric uses the bridge MAC address of the master device as its bridge MAC
address. Layer 2 protocols, such as LACP, use this bridge MAC address to identify the IRF fabric. On
a switched LAN, the bridge MAC address must be unique.
To avoid duplicate bridge MAC addresses, an IRF fabric can change its bridge MAC address
automatically after its bridge MAC owner leaves. However, the change causes temporary traffic
disruption.
Depending on the network condition, enable the IRF fabric to retain or change its bridge MAC
address after the address owner leaves. Available options include:
•
irf mac-address persistent timer
—Bridge MAC address of the IRF fabric remains unchanged
for 6 minutes after the address owner leaves. If the owner does not return before the timer
expires, the IRF fabric uses the bridge MAC address of the current master as its bridge MAC
address. This option avoids unnecessary bridge MAC address changes caused by device
reboot, transient link failure, or purposeful link disconnection.