15
Bridge MAC persistence is available in IRF mode. Changing the operating mode from IRF to standalone
can cause loss of the bridge MAC persistence setting, regardless of whether you have saved the
configuration.
An IRF fabric by default 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 master leaves. However, the change causes temporary service disruption.
Depending on your network condition, you can enable the IRF fabric to preserve or change its bridge
MAC address after the master leaves.
If ARP MAD is used, execute the
undo irf mac-address persistent
command to enable immediate bridge
MAC address change after a master leaves.
If VRRP load balancing is used, execute the
irf mac-address persistent always
command to prevent the
IRF bridge MAC address from changing. For more information about VRRP, see
High Availability
Configuration Guide
.
If two IRF fabrics have the same bridge MAC address, they cannot merge.
Examples
# Enable the IRF bridge MAC address to be permanent.
<Sysname> system-view
[Sysname] irf mac-address persistent always
irf member
Syntax
irf member
member-id
undo irf member
View
System view
Default level
3: Manage level
Parameters
member-id
: Sets an IRF member ID for the device. The value range is 1 to 4.
Description
Use
irf member
to assign a member ID to a device in standalone mode.
Use
undo irf member
to restore the default.
By default, the device operates in standalone mode and has no member ID. After it switches to the IRF
mode, it uses the member ID configured in standalone mode.
An IRF fabric uses member IDs to uniquely identify and manage members. You must assign an IRF
member ID to a device before enabling its IRF mode.
When the operating mode of the device changes from standalone to IRF, the member ID of the device is
needed for the auto-conversion of the configuration file.