
17
destination-mac
: Distributes packets across IRF member links based on destination MAC address.
source-ip
: Distributes packets across IRF member links based on source IP address.
source-mac
: Distributes packets across IRF member links based on source MAC address.
Usage guidelines
On an IRF port that has multiple links, traffic is balanced across its physical links. You can configure the
IRF port to distribute traffic based on source IP address, destination IP address, source MAC address,
destination address, or a combination of them. If a criteria combination is not supported, the system
displays an error message.
Configure the global IRF link load sharing mode in system view, and configure a port-specific load
sharing mode in IRF port view. To successfully configure a load sharing mode for an IRF port, make sure
you have bound at least one physical port to the IRF port.
An IRF port preferentially uses the port-specific load sharing mode. If no port-specific load sharing mode
is available, it uses the global load sharing mode. If no global load sharing mode is configured, the
default load sharing mode applies.
Examples
# Configure the global IRF link load sharing mode to distribute traffic based on destination MAC
address.
<Sysname> system-view
[Sysname] irf-port load-sharing mode destination-mac
# Configure IRF port 1/1 to distribute traffic across its physical links 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
Default command level
3: Manage level
Usage guidelines
After connecting the physical ports between two switches and bind them to the correct IRF ports, you must
activate the settings on the IRF ports to merge the two switches into one IRF fabric. After an IRF port is
activated, its link state in the
display irf topology
command output changes from
DIS
or
DOWN
to
UP
.
You do not need to activate the IRF port settings if the configuration file that the switch starts with has
included IRF port bindings or you are binding more physical ports to an IRF port after an IRF fabric is
formed. The system automatically does the work.
Activating IRF port settings can cause IRF merge and device reboot. To avoid configuration loss, follow
this procedure to set up your IRF fabric: