24
Configuring global load sharing criteria
Follow these steps to configure the global IRF link load sharing criteria:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the global IRF link load
sharing criteria
irf-port load-sharing mode
{
destination-ip
|
destination-mac
|
ingress-port
|
source-ip
|
source-mac
} *
Optional
By default, the global IRF link
load sharing criteria are source
or destination MAC addresses
for Layer 2 packets, source or
destination IP addresses for
Layer 3 packets, and source or
destination port numbers for
Layer 4 packets.
Configuring port-specific load sharing criteria
Follow these steps to configure the port-specific load sharing criteria:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter IRF port view
irf-port
member-id
/
port-number
—
Configure the port-specific load
sharing criteria
irf-port load-sharing mode
{
destination-ip
|
destination-mac
|
ingress-port
|
source-ip
|
source-mac
} *
Optional
By default, the port-specific load
sharing criteria are source or
destination MAC addresses for
Layer 2 packets, source or
destination IP addresses for
Layer 3 packets, and source or
destination port numbers for
Layer 4 packets.
Specifying the preservation time of bridge MAC address
An IRF fabric uses the bridge MAC address of the master switch as its bridge MAC address. This bridge
MAC address is used by Layer 2 protocols, MSTP and LACP, for example, to identify the IRF fabric. It is
also used for generating an MAC address for a Layer 3 interface. This bridge MAC address must be
unique on the switched LAN for proper communication.
To avoid duplicate bridge MAC addresses, an IRF fabric can automatically change its bridge MAC
address after its master leaves, but the change can cause temporary service interruption. Depending on
your network condition, you can enable the IRF fabric to preserve or change its bridge MAC address
after the master leaves. Available options include:
•
irf mac-address persistent timer
—Preserves the bridge MAC address for 6 minutes after the master
leaves. If the master does not come back when the timer expires, the IRF fabric uses the bridge MAC
address of the newly elected master as its bridge MAC address. This option avoids unnecessary
switch of bridge MAC address due to a switch reboot or transient link failure.
•
irf mac-address persistent always
—Keeps the bridge MAC address even after the master leaves.
•
undo irf mac-address persistent
—Uses the bridge MAC address of the newly elected master to
replace the original one as soon as the master leaves.