Page 3
Preface The H3C S5500-SI/EI documentation set includes 10 command references, which describe the commands and command syntax options for the S5500-SI and S5500-EI Series Ethernet Switches, Release2208. The IRF Command Reference describes IRF configuration commands for creating an IRF virtual device. It covers the commands for binding physical ports to an IRF port, configuring the member switch ID and priority, and detecting and maintaining the IRF link.
Page 4
Command reference Added and modified commands Deleted commands: • irf member irf port Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values.
Page 5
About the H3C S5500-SI/EI documentation set The H3C S5500-SI/EI documentation set includes: Category Documents Purposes Marketing brochures Describe product specifications and benefits. Provide an in-depth description of software Technology white papers features and technologies. Describes the appearances, features, PSR150-A [ PSR150-D ] Power...
Page 6
Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents] –...
Page 8
IRF configuration commands NOTE: In the S5500-SI series switches, only the following switch models support the commands in this chapter: S5500-28C-SI, S5500-52C-SI, S5500-28C-PWR-SI, and S5500-52C-PWR-SI. IRF configuration commands display irf Syntax display irf [ | { begin | exclude | include } regular-expression ]...
Page 9
Mac persistent : 6 min Domain ID Table 1 display irf command output description Field Description Member ID. • The ID of the master is prefixed with an asterisk (*) sign. Switch • The ID of the switch where you are logged in is prefixed with a plus (+) sign.
Page 10
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression 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.
Page 11
View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Page 12
display irf-port load-sharing mode Syntax display irf-port load-sharing mode [ irf-port [ member-id/port-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters member-id/port-number: IRF port number, where member-id represents the ID of an IRF member switch. The port-number argument specifies the port number, and the value can be 1 or 2.
Page 13
Layer 2 traffic: destination-mac address, source-mac address Layer 3 traffic: destination-ip address, source-ip address # Display the configured load sharing criteria for the member links of IRF port 1/2. <Sysname> display irf-port load-sharing mode irf-port 1/2 irf-port1/2 Load-Sharing Mode: destination-mac address, source-mac address # Display the load sharing criteria for the member links of each IRF port.
Page 14
View Any view Default level 1: Monitor level Parameters verbose: Displays detailed information about the MAD detection. If this keyword is not provided, the system displays brief information about the MAD detection. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
Page 15
The enable status of ARP MAD. It can be enabled or disabled depending MAD ARP enabled. on your configuration. MAD status: • Detect—The IRF virtual device is normal, and MAD is detecting multi-active collisions. • Recovery—The IRF virtual device is in recovery state. When detecting a multi-active collision, MAD places the IRF virtual device with higher master ID in recovery state and shuts down all physical ports in the Current MAD status...
Page 16
Description Use the display switchover state command to display the master/slave switchover state in the IRF virtual device. Examples # Display the master/slave switchover states of the master. <Sysname> display switchover state Master HA State to slot 2: Slave is absent. Master HA State to slot 3: Slave is absent.
Page 17
View System view Default level 3: Manage level Parameters None Description Use the irf auto-update enable command to automatically synchronize the boot file of the master switch to the switch you are adding to the IRF virtual device. Use the undo irf auto-update enable command to disable this function. By default, this function is enabled.
Page 18
Use the irf domain command to restore the default. By default, the domain ID of an IRF virtual device is 0. You can deploy multiple IRF virtual devices in one network. The domain ID enables you to differentiate these IRF virtual devices. Examples # Set the domain ID of the IRF virtual device to 30.
Page 19
Default level 3: Manage level Parameters always: Enables the IRF virtual device to preserve its bridge MAC address permanently even after the master leaves. timer: Enables the IRF virtual device to preserve its bridge MAC address for six minutes after the master leaves.
Page 20
Parameters member-id: ID of an IRF member switch. text: Description of the member switch, which is a string of 1 to 127 characters. Description Use the irf member description command to configure a description for an IRF member switch. Use the undo irf member description command to restore the default. By default, no description is configured for any IRF member switch.
Page 21
+ 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 ID The output shows that the member ID of the local switch is 3, and you can specify a priority for the local switch by providing its member ID.
Page 22
Examples # Set the member ID of IRF member switch 1 to 3. <Sysname> display irf [Sysname] irf member 1 renumber 3 Warning: Renumbering the switch number may result in configuration change or loss. Continue?[Y/N]:Y # Change the IRF member ID of a switch from 2 to 4. <Sysname>...
Page 23
quit • • return system-view • debugging • • terminal debugging terminal trapping • • terminal logging To return to the CLI of the master switch, use the quit command. Examples # Log in to the CLI of IRF member switch 2. <Sysname>...
Page 25
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 irf-port load-sharing mode (IRF port view) Syntax irf-port load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } * undo irf-port load-sharing mode View IRF port view...
Page 26
Examples # Configure the load sharing mode for IRF port 1/1, using the destination MAC address of packets as the hash key. <Sysname> system-view [Sysname] irf-port 1/1 [Sysname-irf-port 1/1] irf-port load-sharing mode destination-mac irf-port-configuration active Syntax irf-port-configuration active View System view Default level 3: Manage level Parameters...
Page 27
[Sysname] interface ten-gigabitEthernet 1/1/3 [Sysname-Ten-GigabitEthernet1/1/3] shutdown [Sysname-Ten-GigabitEthernet1/1/3] quit [Sysname] irf-port 1/2 [Sysname-irf-port1/2] port group interface Ten-GigabitEthernet 1/1/3 [Sysname-irf-port1/2] quit [Sysname] interface ten-gigabitEthernet 1/1/3 [Sysname-Ten-GigabitEthernet1/1/3] undo shutdown [Sysname-Ten-GigabitEthernet1/1/3] quit Save the current configurations to the configuration file for the next startup to make IRF port •...
Page 28
mad bfd enable (available only on the S5500-EI) Syntax mad bfd enable undo mad bfd enable View VLAN interface view Default level 3: Manage level Parameters None Description Use the mad bfd enable command to enable BFD MAD for detecting multiple IRF virtual devices with the same IP address on the network.
Page 29
Parameters None Description Use the mad enable command to enable LACP MAD for detecting multiple IRF virtual devices with the same IP address on the network. Use the undo mad enable command to disable LACP MAD. By default, LACP MAD is disabled. NOTE: This command takes effect only on dynamic aggregate interfaces.
Page 30
When the member switches reboot to join the recovered IRF virtual device, the ports that were shut down come up. Use the mad restore command to manually recover the members and disabled ports. Examples # Specify GigabitEthernet2/0/1 as the reserved port, which will not be disabled when the switch is in the recovery state.
Page 31
You cannot configure other IP addresses for BFD MAD detection, including a common IP address or VRRP virtual IP address configured with the ip address command. Related commands: mad bfd enable. Examples # Configure the MAD IP address for VLAN-interface 3 on member 1. <Sysname>...
Page 32
port group interface Syntax port group interface interface-type interface-number [ mode { enhanced | normal } ] undo port group interface interface-name View IRF port view Default level 3: Manage level Parameters interface-type interface-number: Specifies port type and port number. interface-name: Interface name, in the format of interface-typeinterface-number.
Page 33
Examples # Bind physical IRF port Ten-GigabitEthernet 3/1/1 on member 3 to IRF port 1. <Sysname> system-view [Sysname] interface 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/1 [Sysname-irf-port3/1] quit [Sysname] interface ten-gigabitethernet 3/1/1 [Sysname-Ten-GigabitEthernet3/1/1] undo shutdown...
Page 34
Index D I M P switch-to,15 irf-port,16 display irf,1 irf-port load-sharing mode (IRF port view),18 display irf configuration,2 irf-port load-sharing mode (system view),17 display irf topology,3 irf-port-configuration active,19 display irf-port load-sharing mode,5 display mad,6 display switchover state,8 mad arp enable,20 mad bfd enable (available only on the S5500-EI),21 enable,21...
Need help?
Do you have a question about the S5500-28C-SI and is the answer not in the manual?
Questions and answers