
14
If you configure the global load sharing mode multiple times, the last configuration takes effect.
You can also configure a port-specific load sharing mode for an IRF port in IRF port view.
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.
Examples
# Configure the global IRF link load sharing mode to distribute traffic based on destination MAC
address.
<Sysname> system-view
[Sysname] irf-port global load-sharing mode destination-mac
Related commands
irf-port load-sharing mode
irf-port load-sharing mode
Use
irf-port load-sharing mode
to configure a port-specific load sharing mode for an IRF port to
distribute traffic across its physical links.
Use
undo irf-port load-sharing
mode
to restore the default.
Syntax
irf-port load-sharing mode
{
destination-ip
|
destination-mac
|
source-ip
|
source-mac
} *
undo irf-port load-sharing mode
Default
The global IRF link load sharing mode applies.
Views
IRF port view
Predefined user roles
network-admin
Parameters
destination-ip
: Distributes traffic across IRF member links based on destination IP address.
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
To successfully configure a port-specific load sharing mode for an IRF port, make sure you have bound
at least one physical port to the IRF port.
You can configure an IRF port-specific load sharing mode to include a combination of multiple criteria,
for example, source MAC address and destination MAC address, for making traffic distribution decisions.
If a criterion combination is not supported on your device, the system displays an error message.
If you configure the port-specific load sharing mode multiple times on an IRF port, the last configuration
takes effect.