17
Usage guidelines
To successfully configure a port-specific load sharing mode for an IRF port, make sure you have bound
a minimum of one physical interface to the IRF port.
You can configure an IRF port-specific load sharing mode to include a combination of multiple criteria for
making traffic distribution decisions. For example, criteria could include source MAC address and IP
address. If your device does not support a criterion combination, the system displays an error message.
If you configure the port-specific load sharing mode multiple times on an IRF port, the most recent
configuration takes effect.
An IRF port preferentially uses the port-specific load sharing mode. If no port-specific load sharing mode
is available, the port uses the global load sharing mode.
Examples
# Configure a port-specific load sharing mode for IRF-port 1/1 to distribute traffic based on destination
MAC address.
<Sysname> system-view
[Sysname] irf-port 1/1
[Sysname-irf-port1/1] irf-port load-sharing mode destination-mac
irf-port-configuration active
Use
irf-port-configuration active
to activate IRF ports.
Syntax
irf-port-configuration active
Views
System view
Predefined user roles
network-admin
Usage guidelines
After connecting the physical interfaces between two devices and binding them to the correct IRF ports,
you must use this command to activate the settings on the IRF ports. This command merges the two
devices into one IRF fabric.
Activating IRF port settings can cause an IRF merge and device reboot. To avoid configuration loss, use
the following procedure to set up your IRF fabric:
1.
Plan the IRF setup, including the IRF fabric topology, IRF fabric size, member ID assignment, and
bindings of physical interfaces and IRF ports.
2.
Change the IRF member ID of each device to make sure they are unique in the IRF fabric.
3.
Connect the physical interfaces between neighboring devices and make sure the peer physical
interfaces can ping each other.
4.
Bind the physical interfaces to the IRF ports on each device.
5.
Save the configuration to the startup configuration file on each device.
6.
Activate the IRF ports on each device.
The system activates the IRF port settings automatically in the following situations:
•
The configuration file that the device starts with contains IRF port bindings.