Irf-Port Load-Sharing Mode (System View) - H3C S5120-EI Series Irf Command Reference

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

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 S5120-EI series switches use the combination of source and destination MAC addresses
as the hash key when processing Layer 2 packets, and use the combination of 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. The switch performs the
hash function on the address or port number and on the number of physical IRF ports in an aggregate IRF
port. Then, the switch determines which physical IRF port sends out the packet.
For this command, the latter configuration will overwrite the former instead of as a supplement. For
example, the current load sharing mode uses the destination MAC address as the hash key. If you want
to change it as the combination of source and destination MAC addresses, you must execute the irf-port
load-sharing mode source-mac command, and re-configure the load sharing mode by executing the
irf-port load-sharing mode destination-mac source-mac command.
When you configure IRF port load sharing mode in system view, you can specify the following
combinations as the hash key:
Any of the source IP address, destination IP address, source MAC address, or destination MAC
address separately.
The combination of the source and the destination IP addresses.
The combination of the source and the destination MAC addresses.
Examples
# Configure the global IRF port load sharing mode, using the destination MAC address of packets as the
hash key.
<Sysname> system-view
[Sysname] irf-port load-sharing mode destination-mac
17

Advertisement

Table of Contents
loading

Table of Contents