irf mac-address

Use irf mac-address to specify a MAC address as the IRF bridge MAC address.

Use undo irf mac-address to restore the default.

Syntax

irf mac-address mac-address

undo irf mac-address

Default

An IRF fabric uses the bridge MAC address of the master device as the IRF bridge MAC address.

Views

System view

Predefined user roles

network-admin

Parameters

mac-address: Specifies a MAC address in the format of H-H-H. The MAC address cannot be the all-zero or all-F MAC address, or a multicast MAC address. You can omit the consecutive zeros at the beginning of each segment. For example, you can enter f-e2-1 for 000f-00e2-0001.

Usage guidelines


[CAUTION: ]

CAUTION:


CAUTION:

IRF bridge MAC address change causes transient traffic disruption.

You can specify the bridge MAC address of an existing IRF fabric for a new IRF fabric to replace the existing IRF fabric with transient packet loss.

This command is supported only in IRF mode.

When you change the operating mode from IRF to standalone, the IRF bridge MAC address configuration is lost, regardless of whether you have saved the configuration.

On a switched LAN, the IRF bridge MAC address must be unique.

After you specify an IRF bridge MAC address, the IRF fabric always uses the specified address as the IRF bridge MAC address.

When IRF fabrics merge, IRF ignores the IRF bridge MAC address and checks the bridge MAC address of each member device in the IRF fabrics. IRF merge fails if any two member devices have the same bridge MAC address.

After IRF fabrics merge, the merged IRF fabric uses the bridge MAC address of the merging IRF fabric that won the master election as the IRF bridge MAC address.

If an IRF fabric splits after you configure the IRF bridge MAC address, both the split IRF fabrics use the configured bridge MAC address as the IRF bridge MAC address.

Examples

# Configure the IRF fabric to use c4ca-d9e0-8c3c as the IRF bridge MAC address.

<Sysname> system-view
[Sysname] irf mac-address c4ca-d9e0-8c3c