Irf-Port Load-Sharing Mode (System View) - H3C PSR150-A Command Reference Manual

Irf
Table of Contents

Advertisement

[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-port 3/1] port group interface ten-gigabitethernet 3/0/25

irf-port load-sharing mode (system view)

Syntax
irf-port load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *
undo irf-port load-sharing mode
View
System view
Default Level
2: System level
Parameters
destination-ip: Uses the destination IP address of packets as the hash key.
destination-mac: Uses the destination MAC address of packets as the hash key.
source-ip: Uses the source IP address of packets as the hash key.
source-mac: Uses the source MAC address of packets as the hash key.
Description
Use the irf-port load-sharing mode command to configure global IRF port load sharing mode.
Use the undo irf-port load-sharing mode command to restore the default.
By default,
The S5800-56C and S5800-56C-PWR switches use the inbound port number as the hash key.
Other models of the S5820X series and S5800 series switches use the combination of the
source and destination MAC addresses as the hash key when processing Layer 2 packets, and
use the combination of the source and destination IP addresses when processing Layer 3
packets.
After you specify a load sharing mode, the switch extracts the corresponding field (IP address or
MAC address) in a packet or the inbound port number based on the selected mode, and performs the
hash function on the address or port number and the number of physical IRF ports in an aggregate
IRF port, and then determines which physical IRF port sends out the packet.
Note the following:
For this command, the latter configuration can only overwrite the former one. Assume that the
current load sharing mode uses the destination MAC address as the hash key. To change it to
the combination of source and destination MAC addresses, you cannot only execute the irf-port
load-sharing mode source-mac command, and you must re-configure the load sharing mode
by executing the irf-port load-sharing mode destination-mac source-mac command.
1-16

Advertisement

Table of Contents
loading

Table of Contents