H3C S5120-EI Series Configuration Manual - page 23
16
To do…
Use the command…
Remarks
Configure the port-specific load
sharing criteria
irf-port load-sharing mode
{ destination-ip | destination-mac |
source-ip | source-mac } *
Optional
By default, the port-specific load
sharing criteria are source or
destination MAC addresses for
Layer 2 packets; the port-specific
load sharing criteria are source
or destination IP addresses for
Layer 3 packets.
Specifying the preservation time of the bridge MAC address
A switch uses the bridge MAC address when it communicates with the external networks as a bridge.
Some Layer 2 protocols (like LACP) use bridge MAC addresses to identify different switches. Therefore,
a bridge device on your network must have a unique bridge MAC address. If two switches on your
network have the same bridge MAC addresses, bridge MAC address collision occurs and the
communication fails.
An IRF fabric communicates with external networks as a single device; therefore, it also has a bridge
MAC address. Typically, an IRF fabric uses the bridge MAC address of the master as its bridge MAC
address.
Bridge MAC address collision causes communication failure, and bridge MAC address switching causes
traffic interruption. Therefore, configure the preservation time of the bridge MAC address of the IRF
fabric:
•
Preserve for 6 minutes: When the master leaves, the bridge MAC address does not change within
six minutes. If the master does not come back when the preserve time is expired, the IRF fabric uses
the bridge MAC address of the newly elected master as its bridge MAC address. If the master
leaves the IRF for a short time due to device reboot or link failure, this configuration can reduce
unnecessary switch of bridge MAC address and thus avoid traffic interruption.
•
Preserve permanently: No matter whether the master leaves the IRF fabric or not, the bridge MAC
address of the IRF fabric remains unchanged.
•
Not preserved: As soon as the master leaves, the IRF fabric uses the bridge MAC address of the
newly elected master as its bridge MAC address.
Follow these steps to specify the preservation time of the bridge MAC address of an IRF fabric:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the bridge MAC
address of the IRF fabric to be
preserved permanently when the
master leaves
irf mac-address persistent always
Specify the preservation time of
the bridge MAC address of the
IRF fabric as 6 minutes when the
master leaves
irf mac-address persistent timer
Configure that the bridge MAC
address of the IRF fabric changes
as soon as the master leaves
undo irf mac-address persistent
Optional
By default, the IRF fabric
preserves its bridge MAC
address for 6 minutes after the
master leaves.