background image

17 

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 

Содержание S5120-EI Series

Страница 1: ...H3C S5120 EI Series Ethernet Switches IRF Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Software version Release 2208 Document version 6W100 20101224...

Страница 2: ...re Secware Storware NQA VVG V2G VnG PSPT XGbus N Bus TiGem InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the pr...

Страница 3: ...ions About the H3C S5120 EI documentation set Obtaining documentation Technical support Documentation feedback Audience This documentation is intended for Network planners Field technical support and...

Страница 4: ...enclose optional syntax choices separated by vertical bars from which you may select multiple choices or none 1 n The argument or keyword and argument combination before the ampersand sign can be ent...

Страница 5: ...nd hardware specifications Provides regulatory information and the safety instructions that must be followed during installation Pluggable SFP SFP XFP Transceiver Modules Installation Guide Guides you...

Страница 6: ...olutions Provides information about products and technologies as well as solutions Technical Support Documents Software Download Provides the documentation released with the software version Technical...

Страница 7: ...irf auto update enable 9 irf domain 10 irf link delay 11 irf mac address persistent 11 irf member description 12 irf member priority 13 irf member renumber 14 irf switch to 15 irf port 16 irf port lo...

Страница 8: ...and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specif...

Страница 9: ...splayed To view the complete description execute the display current configuration command Auto upgrade Indicates whether the auto upgrade of the configuration files is enabled yes Enabled no Disabled...

Страница 10: ...ches Sysname display irf configuration MemberID NewID IRF Port1 IRF Port2 1 1 disable Ten GigabitEthernet1 1 2 2 2 Ten GigabitEthernet2 2 1 disable Table 2 display irf configuration command output des...

Страница 11: ...IRF virtual device Examples Display topology information for the IRF virtual device Sysname display irf topology Topology Info IRF Port1 IRF Port2 Switch Link neighbor Link neighbor Belong To 1 DIS U...

Страница 12: ...cription Use the display irf port load sharing mode command to display the load sharing criteria for IRF links If you do not specify the irf port keyword the command displays the global load sharing c...

Страница 13: ...aring mode for processing both Layer 2 and Layer 3 packets are displayed If the non default configuration is applied the user configured load sharing mode is displayed irf port 1 2 Load Sharing Mode I...

Страница 14: ...gular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Description Use the display mad command to display information about multi active detection MAD...

Страница 15: ...sitions to the recovery state MAD ARP enabled interface Vlan interface2 The interface where ARP MAD is enabled MAD enabled aggregation port Bridge Aggregation1 The aggregate interface where LACP MAD i...

Страница 16: ...slot number Indicates that this output information is generated by the master Describes the master slave switchover state between the master and the slave whose slot number represents its member ID D...

Страница 17: ...t file as the master switch If not the new switch cannot join the IRF virtual device IMPORTANT Check that the switch has efficient space for the new boot file If the switch has a boot file that uses t...

Страница 18: ...link delay command to restore the default You can avoid link flapping causing frequent IRF splits and merges during switch reconfiguration by configuring the IRF ports to delay reporting link down eve...

Страница 19: ...rve permanently No matter whether the master leaves the IRF virtual device or not the bridge MAC address of the IRF virtual device remains unchanged Not preserved As soon as the master leaves the IRF...

Страница 20: ...default By default the priority of a member switch is 1 The greater the priority value the higher the priority A member with a higher priority is more likely to be the master and more likely to preser...

Страница 21: ...member switch to validate the change If a newly added device uses the same member ID as an existing member the existing member preserves its ID and the IRF virtual device automatically assigns the sm...

Страница 22: ...current number of members and their member IDs in the IRF virtual device Description Use the irf switch to command to switch from the master switch s CLI to a slave switch s CLI At the CLI of a slave...

Страница 23: ...If the IRF port is already created you enter IRF port view directly Use the undo irf port command to delete an IRF port By default no IRF port is created on the switch IRF ports are virtual ports An I...

Страница 24: ...d 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...

Страница 25: ...d on the selected mode The switch performs the hash function on the address or port number and the number of physical IRF ports in an aggregate IRF port Then the switch determines which physical IRF p...

Страница 26: ...e executing the irf port configuration active command 3 Connect SFP cables or fibers and make sure that the physical IRF ports are well connected 4 Create IRF ports 5 Bind physical IRF ports to IRF po...

Страница 27: ...t configuration to mainboard device successfully Configuration is saved to device successfully Activate configurations on the IRF port Sysname irf port configuration active mad arp enable Syntax mad a...

Страница 28: ...pe interface number undo mad exclude interface interface type interface number View System view Default level 3 Manage level Parameters interface type interface number Specifies a port by its type and...

Страница 29: ...w Default level 3 Manage level Parameters None Description Use the mad restore command to recover the member switches of the IRF virtual device in recovery state to the normal state An IRF link failur...

Страница 30: ...own the physical port with the shutdown command and then execute the port group interface command Then bring up the physical port with the undo shutdown command and the physical port can establish an...

Страница 31: ...terface ten gigabitethernet 3 1 1 Sysname Ten GigabitEthernet3 1 1 shutdown Sysname Ten GigabitEthernet3 1 1 quit Sysname irf port 3 1 Sysname irf port3 1 port group interface ten gigabitethernet 3 1...

Страница 32: ...9 irf domain 10 irf link delay 1 1 irf mac address persistent 1 1 irf member description 12 irf member priority 13 irf member renumber 14 irf switch to 15 irf port 16 irf port load sharing mode IRF po...

Отзывы: