background image

17 

Usage guidelines 

To successfully configure a port-specific load sharing mode for an IRF port, make sure you have bound 

a minimum of one physical interface to the IRF port. 
You can configure an IRF port-specific load 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 port-specific load sharing mode multiple times on an IRF port, the most recent 
configuration takes effect. 
An IRF port preferentially uses the port-specific load sharing mode. If no port-specific load sharing mode 

is available, the port uses the global load sharing mode. 

Examples 

# Configure a port-specific load sharing mode for IRF-port 1/1 to distribute traffic based on destination 
MAC address. 

<Sysname> system-view 

[Sysname] irf-port 1/1 

[Sysname-irf-port1/1] irf-port load-sharing mode destination-mac 

irf-port-configuration active 

Use 

irf-port-configuration active

 to activate IRF ports.  

Syntax 

irf-port-configuration active 

Views 

System view 

Predefined user roles 

network-admin 

Usage guidelines 

After connecting the physical interfaces between two devices and binding them to the correct IRF ports, 
you must use this command to activate the settings on the IRF ports. This command merges the two 

devices into one IRF fabric. 
Activating IRF port settings can cause an IRF merge and device reboot. To avoid configuration loss, use 

the following procedure to set up your IRF fabric:  

1.

 

Plan the IRF setup, including the IRF fabric topology, IRF fabric size, member ID assignment, and 
bindings of physical interfaces and IRF ports.  

2.

 

Change the IRF member ID of each device to make sure they are unique in the IRF fabric.  

3.

 

Connect the physical interfaces between neighboring devices and make sure the peer physical 

interfaces can ping each other.  

4.

 

Bind the physical interfaces to the IRF ports on each device.  

5.

 

Save the configuration to the startup configuration file on each device.  

6.

 

Activate the IRF ports on each device.  

The system activates the IRF port settings automatically in the following situations: 

 

The configuration file that the device starts with contains IRF port bindings. 

Содержание H3C S5130-E Series

Страница 1: ...H3C S5130 EI Switch Series IRF Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Software version Release 31xx Document version 6W102 20150731...

Страница 2: ...gine SecPath SecCenter SecBlade Comware ITCMM and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the property of their respecti...

Страница 3: ...ywords that you enter literally as shown Italic Italic text represents arguments that you replace with actual values Square brackets enclose syntax choices keywords or arguments that are optional x y...

Страница 4: ...alert that provides helpful information Network topology icons Represents a generic network device such as a router switch or firewall Represents a routing capable device such as a router or Layer 3 s...

Страница 5: ...ews and specifications Software configuration Configuration guides Describe software features and configuration procedures Command references Provide a quick reference to all available commands Operat...

Страница 6: ...http www h3c com Documentation feedback You can e mail your comments about product documentation to info h3c com We appreciate your comments...

Страница 7: ...in 9 irf link delay 10 irf mac address persistent 11 irf member description 12 irf member priority 13 irf member renumber 13 irf port 14 irf port global load sharing mode 15 irf port load sharing mode...

Страница 8: ...0e0 fc0f 8c03 F1Num002 indicates the device is the master indicates the device through which the user logs in The Bridge MAC of the IRF is 00e0 fc00 1000 Auto upgrade yes Mac persistent always Domain...

Страница 9: ...bridge MAC persistence setting 6 min Bridge MAC address of the IRF fabric remains unchanged for 6 minutes after the address owner leaves always Bridge MAC address of the IRF fabric does not change af...

Страница 10: ...disable if no physical interfaces are bound to the IRF port IRF Port2 Physical interfaces bound to IRF port 2 The bindings take effect at reboot This field displays disable if no physical interfaces...

Страница 11: ...up DOWN The link is down ADM The interface has been manually shut down by using the shutdown command ABSENT Interface module that hosts the interface is not present display irf topology Use display ir...

Страница 12: ...ID of the device connected to the IRF port If no device is connected to the port this field displays two hyphens Belong To IRF fabric that has the device represented by the CPU MAC address of the mast...

Страница 13: ...red the default global load sharing mode applies Sysname display irf port load sharing mode irf port 1 1 irf port1 1 Load Sharing Mode Layer 2 traffic packet type based sharing Layer 3 traffic packet...

Страница 14: ...on If you do not specify this keyword the command only displays whether a MAD mechanism is enabled or disabled Examples Display brief MAD information MAD ARP enabled MAD ND enabled MAD LACP disabled M...

Страница 15: ...ded ports user configured Ports manually configured to not shut down when the IRF fabric transitions to the Recovery state Excluded ports system configured Ports by default set to not shut down when t...

Страница 16: ...rejoin the IRF fabric Before enabling software auto update make sure the device you are adding to the IRF fabric has sufficient storage space for the new software images If sufficient storage space is...

Страница 17: ...p enable or mad nd enable The IRF domain IDs configured by using these commands overwrite each other Examples Set the IRF domain ID to 10 Sysname system view Sysname irf domain 10 irf link delay Use i...

Страница 18: ...IRF member device After you complete the operation reconfigure the delay depending on the network condition Examples Set the IRF link down report delay to 300 milliseconds Sysname system view Sysname...

Страница 19: ...ter the address owner leaves the IRF fabric By default an IRF fabric uses the bridge MAC address of the master device as its bridge MAC address Layer 2 protocols such as LACP use this bridge MAC addre...

Страница 20: ...id priority Default IRF member priority is 1 Views System view Predefined user roles network admin Parameters member id Specifies an IRF member ID priority Sets priority in the range of 1 to 32 The gr...

Страница 21: ...ric the device cannot join the IRF fabric Plan IRF member ID assignment before setting up an IRF fabric and change member IDs before configuring any other features Interchanging member IDs between IRF...

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

Страница 23: ...load sharing mode is available the port uses the global load sharing mode Examples Configure the global IRF link load sharing mode to distribute traffic based on destination MAC address Sysname syste...

Страница 24: ...f port configuration active to activate IRF ports Syntax irf port configuration active Views System view Predefined user roles network admin Usage guidelines After connecting the physical interfaces b...

Страница 25: ...Sysname interface ten gigabitethernet 1 0 27 Sysname Ten GigabitEthernet1 0 27 undo shutdown Sysname Ten GigabitEthernet1 0 27 quit Save the configuration so the IRF port settings can take effect afte...

Страница 26: ...you do not want to change the current domain ID press enter at the prompt NOTE An IRF fabric has only one IRF domain ID You can change the IRF domain ID by using the following commands irf domain mad...

Страница 27: ...ermit command to exclude the port from the BFD MAD VLAN BFD MAD VLAN and feature compatibility Do not use the BFD MAD VLAN for any purposes other than configuring BFD MAD Configure only the mad bfd en...

Страница 28: ...command the system prompts you to enter a domain ID If you do not want to change the current domain ID press enter at the prompt NOTE An IRF fabric has only one IRF domain ID You can change the IRF do...

Страница 29: ...n the member devices reboot to join the recovered IRF fabric If auto recovery fails because the current master fails or any other exception occurs use the mad restore command to manually recover the m...

Страница 30: ...ess as the source IP address If the IRF fabric is integrated only the MAD IP address of the master is effective The master cannot establish a BFD session with any other member If you execute the displ...

Страница 31: ...enter at the prompt NOTE An IRF fabric has only one IRF domain ID You can change the IRF domain ID by using the following commands irf domain mad enable mad arp enable or mad nd enable The IRF domain...

Страница 32: ...uidelines Bind a minimum of one physical interface to an IRF port for setting up an IRF connection On S5130 28S EI S5130 28S PWR EI S5130 28S HPWR EI S5130 28TP EI S5130 28TP PWR EI and S5130 28F EI s...

Страница 33: ...3 1 Sysname irf port3 1 port group interface ten gigabitethernet 3 0 25 Sysname irf port3 1 port group interface ten gigabitethernet 3 0 26 Sysname irf port3 1 quit Sysname interface ten gigabitethern...

Страница 34: ...n 9 irf link delay 10 irf mac address persistent 1 1 irf member description 12 irf member priority 13 irf member renumber 13 irf port 14 irf port global load sharing mode 15 irf port load sharing mode...

Отзывы: