17
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.
Description
Use
irf-port load-sharing mode
to set the global or port-specific load sharing mode for IRF links.
Use
undo irf-port load-sharing
mode
to restore the default.
By default, traffic is distributed across IRF links by packet type.
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 any combination of the criteria. 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, an IRF port 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
Syntax
irf-port-configuration active
View
System view
Default level
3: Manage level
Parameters
None
Description
Use
irf-port-configuration active
to activate IRF ports.