![H3C S5130-EI Series Manual Download Page 21](http://html1.mh-extra.com/html/h3c/s5130-ei-series/s5130-ei-series_manual_3964239021.webp)
15
Usage guidelines
To bind physical interfaces to IRF ports for IRF connection, you must enter IRF port view.
Before you remove all port bindings on an IRF port, shut down all its physical interfaces.
Examples
# Bind Ten-GigabitEthernet 3/0/25 to IRF-port 3/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/25
[Sysname-Ten-GigabitEthernet3/0/25] shutdown
[Sysname-Ten-GigabitEthernet3/0/25] quit
[Sysname] irf-port 3/1
[Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/25
[Sysname-irf-port3/1] quit
[Sysname] interface ten-gigabitethernet 3/0/25
[Sysname-Ten-GigabitEthernet3/0/25] undo shutdown
Related commands
port group interface
irf-port global load-sharing mode
Use
irf-port global load-sharing mode
to set the global load sharing mode for IRF links.
Use
undo irf-port global load-sharing
mode
to restore the default.
Syntax
irf-port global load-sharing mode
{
destination-ip
|
destination-mac
|
source-ip
|
source-mac
}
*
undo irf-port global load-sharing mode
Default
Packets are distributed across IRF member links automatically based on their packet types.
Views
System 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
The global IRF link load sharing mode applies to all IRF ports in the IRF fabric. You can configure the
sharing mode to include a combination of multiple criteria for making traffic distribution decisions.
(For example, criteria could include source MAC address and IP address.) If your device does not
support a criterion combination, the system displays an error message.
If you configure the global load sharing mode multiple times, the most recent configuration takes
effect.