21
Step Command
Remarks
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 switch
automatically distributes traffic
based on their packet type.
Configuring IRF bridge MAC persistence
By default, an IRF fabric uses the bridge MAC address of the master switch 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 master leaves. However, the change can cause transient traffic interruption.
Depending on the network condition, enable the IRF fabric to preserve or change its bridge MAC
address after the master leaves. Available options include:
•
irf mac-address persistent timer
—Bridge MAC address of the IRF fabric is retained for 6
minutes after the master leaves. If the master does not return before the timer expires, the IRF
fabric uses the bridge MAC address of the new master as its bridge MAC address. This option
avoids unnecessary bridge MAC address change caused by device reboot, transient link failure,
or purposeful link disconnection.
•
irf mac-address persistent always
—Bridge MAC address of the IRF fabric does not change
after the master leaves.
•
undo irf mac-address persistent
—Bridge MAC address of the new master replaces the
original one as soon as the old master leaves.
IMPORTANT:
If ARP MAD is used, configure the
undo irf mac-address persistent
command to enable
immediate bridge MAC address change after a master re-election.
If two IRF fabrics have the same bridge MAC address, they cannot merge.
To configure the IRF bridge MAC persistence setting:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure IRF bridge MAC
persistence.
•
Retain the bridge MAC address
even if the master has changed:
irf mac-address persistent
always
•
Preserve the bridge MAC
address for 6 minutes after the
master leaves:
irf mac-address persistent
timer
•
Change the bridge MAC
address as soon as the master
leaves:
undo irf mac-address
persistent
By default, the IRF fabric's
bridge MAC address persists
permanently even after the
master leaves.