Page 3
Preface The H3C S9800 documentation set includes 17 command references. These references describe the commands and command syntax options available for the H3C S9800 Switch Series running Release 2135 and later. The IRF Command Reference describes IRF configuration commands for setting up and maintaining an IRF fabric.
Page 4
Convention Description The argument or keyword and argument combination before the ampersand (&) sign can &<1-n> be entered 1 to n times. A line that starts with a pound (#) sign is comments. GUI conventions Convention Description Window names, button names, field names, and menu items are in Boldface. For Boldface example, the New User window appears;...
Page 5
The port numbers in this document are for illustration only and might be unavailable on your device. Obtaining documentation Access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the following links to obtain different categories of product documentation: [Technical Documents]—Provides hardware installation, software upgrading, and software feature...
IRF commands The S9804 switch uses one built-in MPU (slot 0) and the S9810 switch uses two removable switching fabric modules (slots 10 and 1 1) for switching and control. Unless otherwise stated, the term "MPU" collectively refers to the switching fabric modules on the S9810 switch and the built-in MPU on the S9804 switch.
Examples # Enable IRF mode. <Sysname> system-view [Sysname] chassis convert mode irf The device will switch to IRF mode and reboot. You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? [Y/N]:y Do you want to convert the content of the next startup configuration file flash:/startup.cfg to make it available in IRF mode? [Y/N]:y Please wait...
Page 9
Master 1 0210-fc03-0007 ----- -------------------------------------------------- * indicates the device is the master. + indicates the device through which the user logs in. The Bridge MAC of the IRF is: 3ce5-a6b8-3800 Auto upgrade : yes Mac persistent : always Domain ID Auto merge : no Table 2 Command output...
Field Description State of the auto-merge feature: • yes—Enabled. The IRF fabric automatically reboots its member devices Auto merge when it fails in the master election during an IRF fabric merge. • no—Disabled. Manual reboot is required to complete an IRF fabric merge.
Field Description Physical interfaces bound to IRF-port 1. The bindings take effect at reboot. IRF-Port1 This field displays disable if no physical interfaces are bound to the IRF port. Physical interfaces bound to IRF-port 2. The bindings take effect at reboot. IRF-Port2 This field displays disable if no physical interfaces are bound to the IRF port.
Field Description IRF port number: IRF Port • 1—IRF-port 1. • 2—IRF-port 2. Physical interfaces bound to the IRF port, and their respective MDCs. This Interface field displays disable if no physical interfaces have been bound to the IRF port. Link state of IRF physical interfaces: •...
Table 5 Command output Field Description IRF-Port 1 Information about IRF-port 1, including its link state and neighbor. IRF-Port 2 Information about IRF-port 2, including its link state and neighbor. Link state of the IRF port: • UP—The IRF link is up. Link •...
Page 14
FortyGigE2/1/0/2 FortyGigE2/1/0/3 Excluded ports(system-configured): FortyGigE1/9/0/1 FortyGigE1/9/0/2 FortyGigE1/9/0/3 FortyGigE1/9/0/4 FortyGigE2/9/0/1 FortyGigE2/9/0/2 FortyGigE2/9/0/3 FortyGigE2/9/0/4 MAD LACP enabled interface: Bridge-Aggregation 1 MAD status : Normal Member ID Port MAD status FortyGigE1/2/0/1 Normal FortyGigE2/2/0/1 Normal MAD BFD enabled interface: VLAN-interface 3 MAD status : Normal Member ID MAD IP address Neighbor...
Field Description MAD operating status: • Normal—The MAD mechanism is operating correctly. • Faulty—The MAD mechanism is not operating correctly. Check the interface or port for connectivity or configuration problems. For MAD status example, you can check whether all member devices have member ports used for LACP MAD.
The interface has been connected to the peer IRF physical interface before the binding operation. • If the IRF auto-merge feature does not take effect, you must save the running configuration, and then follow the system instructions to manually reboot one or multiple member devices. Examples # Enable IRF auto-merge.
<Sysname> system-view [Sysname] irf auto-update enable irf domain Use irf domain to assign a domain ID to an IRF fabric. Use undo irf domain to restore the default IRF domain setting. Syntax irf domain domain-id undo irf domain Default The IRF domain ID is 0. Views System view Predefined user roles...
Syntax irf link-delay interval undo irf link-delay Default The IRF link down event report delay is 4000 milliseconds (4 seconds). Views System view Predefined user roles network-admin mdc-admin Parameters interval: Sets the IRF link down report delay in the range of 0 to 10000 milliseconds. If the interval is set to 0, link down events are reported without any delay.
Predefined user roles network-admin Parameters mac-address: Specifies a MAC address in the format of H-H-H. The MAC address cannot be the all-zero or all-F MAC address, or a multicast MAC address. You can omit the consecutive zeros at the beginning of each segment.
mdc-admin Usage guidelines This command is available in IRF mode. When you change the operating mode from IRF to standalone, the bridge MAC persistence setting is lost, regardless of whether you have saved the configuration. This command does not take effect if the IRF bridge MAC address is configured by using the irf mac-address mac-address command.
<Sysname> system-view [Sysname] irf member 2 Info: Member ID change will take effect after the member reboots and operates in IRF mode. Related commands irf member renumber irf member description Use irf member description to configure a description for an IRF member. Use undo irf member description to restore the default.
Default IRF member priority is 1. Views System view Predefined user roles network-admin mdc-admin Parameters member-id: Specifies an IRF member ID. The IRF member ID can only be 1 or 2. priority: Sets priority in the range of 1 to 32. The greater the priority value, the higher the priority. A member with higher priority is more likely to be the master.
Parameters member-id: Specifies the current ID of an IRF member device. The ID can only be 1 or 2. new-member-id: Assigns a new ID to the IRF member device. The value range for this argument is 1 to 4. However, the assigned IRF member ID must be 1 or 2. If you use 3 or 4, the S9800 IRF fabric cannot be set up.
Predefined user roles network-admin mdc-admin Parameters priority: Specifies an IRF member priority value in the range of 1 to 32. Usage guidelines Member priority is used for role election. The greater the priority value, the higher the priority. A member with higher priority is more likely to be the master. The member priority configured in standalone mode takes effect after you enable IRF mode.
<Sysname> system-view [Sysname] irf-port 1/1 [Sysname-irf-port1/1] Related commands port group interface irf-port port-number Use irf-port port-number to enter IRF port view in standalone mode. Use undo irf-port port-number to remove all port bindings on an IRF port in standalone mode. Syntax irf-port port-number undo irf-port port-number...
Predefined user roles network-admin mdc-admin Usage guidelines After you connect the physical interfaces between two devices and bind 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.
Page 27
Syntax mad bfd enable undo mad bfd enable Default BFD MAD is disabled. Views Management Ethernet interface view, VLAN interface view Predefined user roles network-admin mdc-admin Usage guidelines This command is available in management Ethernet interface view in Release 2138P01 and later versions.
Usage guidelines LACP MAD uses extended LACP packets to detect multi-active collisions. This MAD mechanism requires an intermediate H3C device that supports extended LACPDUs. LACP MAD handles collisions differently than BFD MAD. To avoid conflicts, do not use LACP MAD...
You must set up a dynamic link aggregation group that spans all IRF member devices between the IRF fabric and the intermediate device. To enable dynamic link aggregation, configure the link-aggregation mode dynamic command on the aggregate interface. If one IRF fabric uses another IRF fabric as the intermediate device for LACP MAD, you must assign the two IRF fabrics different domain IDs for correct split detection.
Parameters interface-type interface-number: Specifies a port by its type and number. Usage guidelines MAD shuts down all physical ports on the Recovery-state IRF fabric except the IRF physical interfaces and the ports manually configured to not shut down. If a port must be kept in up state for special purposes such as Telnet connection, exclude the port from the shutdown action.
To use BFD MAD, configure a MAD IP address for each IRF member. Make sure all the MAD IP addresses are on the same subnet. To avoid problems, only use the mad ip address command to configure MAD IP addresses. Do not configure an IP address with the ip address command or configure a VRRP virtual address on the BFD MAD-enabled port or interface.
port group interface Use port group interface to bind a physical interface to an IRF port. Use undo port group interface to remove the binding of a physical interface and an IRF port. Syntax port group [ mdc mdc-id ] interface interface-type interface-number [ mode enhanced ] undo port group [ mdc mdc-id ] interface interface-name Default No physical interfaces are bound to any IRF port.
Page 33
Examples # (In standalone mode.) Bind FortyGigE 1/0/1 to IRF-port 1. <Sysname> system-view [Sysname] irf-port 1 [Sysname-irf-port1] port group interface fortygige 1/0/1 # (In IRF mode.) Bind FortyGigE 1/1/0/1 to IRF-port 1 of member 1. <Sysname> system-view [Sysname] interface fortygige 1/1/0/1 [Sysname-FortyGigE1/1/0/1] shutdown [Sysname-FortyGigE1/1/0/1] quit [Sysname] irf-port 1/1...
Index C D I M P irf member description,15 irf member priority,15 chassis convert mode irf,1 irf member renumber,16 priority,17 irf-port member-id/port-number,18 display irf,2 irf-port port-number,19 display irf configuration,4 irf-port-configuration active,19 display irf link,5 display irf topology,6 display mad,7 mad bfd enable,20 enable,22 mad exclude...
Need help?
Do you have a question about the S9800 Series and is the answer not in the manual?
Questions and answers