R21xx-HP FlexFabric 11900 IRF Command Reference
17
Syntax
In system view:
irf-port global load-sharing mode { destination-ip | destination-mac | ingress-port | source-ip |
source-mac } *
undo irf-port global load-sharing mode
In IRF port view:
irf-port load-sharing mode { destination-ip | destination-mac | ingress-port | source-ip | source-mac }
*
undo irf-port load-sharing mode
Default
The following are criteria for distributing different types of packets across IRF links:
• TCP/UDP packets—Source and destination TCP/UDP port numbers.
• Non-TCP/-UDP IP packets—Source and destination IP addresses.
• Packets that have no IP header—Source and destination MAC addresses.
Views
System view, IRF port view
Predefined user roles
network-admin
Parameters
global: Sets the global load sharing mode for IRF links.
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.
ingress-port: Distributes packets across IRF member links based on incoming port.
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 configure a port-specific load sharing mode successfully 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 incoming port) for making traffic distribution decisions. If a
criterion combination is not supported on your device, the system displays an error message.
If you execute this command multiple times in the same view, 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, 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










