irf mac-address persistent

Use irf mac-address persistent to configure IRF bridge MAC persistence.

Use undo irf mac-address persistent to enable the IRF fabric to change its bridge MAC address as soon as the address owner leaves.

Syntax

irf mac-address persistent { always | timer }

undo irf mac-address persistent

Default

After the address owner leaves, the IRF bridge MAC address remains unchanged for 6 minutes. If the address owner does not rejoin the IRF fabric within the time limit, the fabric uses the bridge MAC address of the current master as the bridge MAC address.

Views

System view

Predefined user roles

network-admin

Parameters

always: Enables the IRF bridge MAC address to be permanent. The IRF bridge MAC address does not change after the address owner leaves the IRF fabric.

timer: Enables the IRF bridge MAC address to remain unchanged for 6 minutes after the address owner leaves. If the address owner rejoins the IRF fabric within the time limit, the IRF bridge MAC address does not change. If the address owner does not rejoin within the time limit, the IRF fabric uses the bridge MAC address of the current master as the bridge MAC address.

Usage guidelines

IRF bridge MAC persistence specifies the amount of time an IRF fabric can continue using a bridge MAC address as its bridge MAC address after the address owner leaves.

If ARP MAD or ND MAD is used, use the undo irf mac-address persistent command to disable IRF bridge MAC persistence.

Configure the irf mac-address persistent always command in the following situations:

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 the address owner leaves. However, the change causes temporary service disruption. Depending on the network condition, you can enable the IRF fabric to preserve or change its bridge MAC address after the address owner leaves.

If two IRF fabrics have the same bridge MAC address, they cannot merge.

Examples

# Enable the IRF bridge MAC address to persist forever.

<Sysname> system-view
[Sysname] irf mac-address persistent always