Configuring IRF link load sharing mode
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 certain criteria, including IP addresses, MAC addresses, and any
combination of them. The criteria can also be packet types, including Layer 2, IPv4, and IPv6.
Configure the IRF link load sharing mode for IRF links in system view or IRF port view:
In system view, the configuration is global and takes effect on all IRF ports.
•
In IRF port view, the configuration is port specific and takes effect only on the specific 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.
The IRF link load sharing function takes effect on all packets, including unicast, multicast, and broadcast.
The switch supports the following load-sharing criteria and combinations:
Load-sharing criteria automatically determined based on the packet type
•
•
Source IP address
Destination IP address
•
Source MAC address
•
Destination MAC address
•
Source IP address and destination IP address
•
•
Source MAC address and destination MAC address
Configuring the global load sharing mode
Step
1.
Enter system view.
2.
Configure the global IRF link
load sharing mode.
Configuring a port-specific load sharing mode
Before you configure a port-specific load sharing mode, make sure you have bound at least two physical
ports to the IRF port.
To configure a port-specific load sharing mode for an IRF port:
Step
1.
Enter system view.
2.
Enter IRF port view.
3.
Configure the port-specific
load sharing mode.
Command
system-view
irf-port global load-sharing mode
{ destination-ip | destination-mac |
source-ip | source-mac } *
Command
system-view
irf-port member-id/port-number
irf-port load-sharing mode
{ destination-ip | destination-mac |
source-ip | source-mac } *
18
Remarks
N/A
By default, the global IRF link
load sharing mode distributes
traffic across IRF member links
based on packet types.
Remarks
N/A
N/A
By default, the global IRF link
load sharing mode applies.