Page 2
, H3CS, H3CIE, H3CNE, Aolynk, Care, , IRF, NetPilot, Netflow, SecEngine, 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 respective owners Notice The information in this document is subject to change without notice.
Page 3
This command reference describes the commands for setting up and configuring an IRF fabric. This preface includes the following topics about the documentation: • Audience. • Conventions. • About the H3C S7500E-XS documentation set. • Obtaining documentation. • Technical support.
Page 4
GUI conventions Convention Description Window names, button names, field names, and menu items are in Boldface. For Boldface example, the New User window appears; click OK. Multi-level menus are separated by angle brackets. For example, File > Create > > Folder.
Page 5
Description Represents a security card, such as a firewall, load balancing, NetStream, SSL VPN, IPS, or ACG card. About the H3C S7500E-XS documentation set The H3C S7500E-XS documentation set includes the following categories of documents: Category Documents Purposes Product description and Marketing brochures Describes product specifications and benefits.
Page 6
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 configuration and maintenance documentation.
IRF commands display irf Use display irf to display IRF fabric information, including the member ID, role, priority, bridge MAC address, and description of each IRF member. Syntax display irf Views Any view Predefined user roles network-admin network-operator Examples # Display IRF fabric information. <Sysname>...
Field Description Description you have configured for the member device. • If no description is configured, this field displays a dashed line (---). • If the description exceeds the maximum number of characters that Description can be displayed, an ellipsis (…) is displayed in place of the exceeding text.
Field Description NewID Member ID assigned to the device. This member ID takes effect at reboot. 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.
Field Description Link state of the IRF physical interface: • UP—The link is up. • DOWN—The link is down. Status • ADM—The interface has been manually shut down by using the shutdown command. • ABSENT—The interface does not exist. display irf topology Use display irf topology to display IRF fabric topology information, including the member IDs, IRF port state, adjacencies of IRF ports, and CPU MAC address of the master.
Field Description IRF fabric that has the device, represented by the CPU MAC address of the Belong To master in the IRF fabric. display irf-port load-sharing mode Use display irf-port load-sharing mode to display load sharing mode for IRF links. Syntax display irf-port load-sharing mode [ irf-port [ member-id/irf-port-number ] ] Views...
Table 5 Command output Field Description Global load sharing mode for IRF links: • If no global IRF link load sharing mode has been configured, irf-port Load-Sharing Mode the default global load sharing mode applies. • If a user-defined global load sharing mode has been configured, the configured mode applies.
Default The software auto-update feature is enabled. Views System view Predefined user roles network-admin Usage guidelines This command automatically propagates the current software images of the master device in the IRF fabric to any devices you are adding to the IRF fabric. To ensure a successful software update, verify that the new device you are adding to the IRF fabric has sufficient storage space for the new software images.
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 IDs configured by using these commands overwrite each other. Examples # Set the IRF domain ID to 30.
undo irf mac-address persistent Default Bridge MAC address of the IRF fabric does not change after the address owner leaves. Views System view Predefined user roles network-admin Parameters always: Enables the IRF bridge MAC address to be permanent. The IRF bridge MAC address does not change after the address owner leaves.
Parameters member-id: Specifies the ID of an IRF member device, in the range of 1 to 10. text: Configures a description, a string of 1 to 127 characters. Usage guidelines Configure a description to describe the location or purpose of a member device. Examples # Configure a description for IRF member 1.
Default The IRF member ID is 1. Views System view Predefined user roles network-admin Parameters member-id: Specifies the ID of an IRF member device, in the range of 1 to 10. new-member-id: Assigns a new ID to the IRF member device, in the range of 1 to 10. Usage guidelines CAUTION: An IRF member ID change can invalidate member ID-related settings, including interface and file...
Parameters member-id/port-number: Specifies an IRF port on an IRF member device. The member-id argument represents the ID of the IRF member device. The port-number argument represents the IRF port index and must be 1 or 2. Usage guidelines To bind physical interfaces to an IRF port, you must enter IRF port view. Before you remove all port bindings on an IRF port, shut down all its physical interfaces.
If you configure the global load sharing mode multiple times, the most recent configuration takes effect. You can also configure a port-specific load sharing mode for an IRF port in IRF port view by using the irf-port load-sharing mode command. An IRF port preferentially uses the port-specific load sharing mode.
You can configure an IRF port-specific load sharing mode to include a combination of multiple criteria for making traffic distribution decisions. 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.
[Sysname] interface ten-gigabitEthernet 1/1/7 [Sysname-Ten-GigabitEthernet1/1/7] undo shutdown [Sysname-Ten-GigabitEthernet1/1/7] quit # Save the configuration so the IRF port settings can take effect after the device reboots. [Sysname] save The current configuration will be written to the device. Are you sure? [Y/N]:y Please input the file name(*.cfg)[flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): flash:/startup.cfg exists, overwrite? [Y/N]:y...
Page 24
Category Restrictions and guidelines • Do not enable ARP MAD on VLAN-interface 1. • If you are using an intermediate device, perform the following tasks on both the IRF fabric and the intermediate device: Create a VLAN and VLAN interface for ARP MAD. ARP MAD VLAN Assign the ports of ARP MAD links to the ARP MAD VLAN.
Category Restrictions and guidelines BFD MAD and IRF link Set the IRF link down report delay to 0 seconds to avoid unnecessary down report delay recalculations. restrictions When you use BFD MAD on management Ethernet ports, follow these restrictions and guidelines: Category Restrictions and guidelines Ports on the intermediate...
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, ARP MAD, and ND MAD. To avoid conflicts, do not enable LACP MAD together with any of those mechanisms in an IRF fabric.
undo mad exclude interface interface-type interface-number Default All physical network ports but the IRF physical interfaces and console port shut down when the IRF fabric transits to the Recovery state. Views System view Predefined user roles network-admin Parameters interface-type interface-number: Specifies a port by its type and number. Usage guidelines MAD action is not configurable for IRF physical interfaces.
Parameters ip-address: Specifies an IP address in dotted decimal notation. This IP address is bound to an IRF member for BFD detection and is called a MAD IP address. mask: Specifies a subnet mask in dotted decimal notation. mask-length: Specifies a subnet mask in length, in the range of 0 to 32. member member-id: Specifies an IRF member ID.
Usage guidelines ND MAD uses extended NS packets of the IPv6 ND protocol to detect multi-active collisions. You can use ND MAD with ARP MAD, but not with LACP MAD or BFD MAD. • ND MAD handles collisions differently than LACP MAD. •...
If the active IRF fabric has failed to work before the IRF split problem is fixed, use this command to restore an IRF fabric in Recovery state. The recovered IRF fabric will take over the active IRF fabric role. Examples # Restore the normal MAD state of the IRF fabric in Recovery state.
Page 32
The system does not dynamically remove IRF port bindings when IRF links are lost, for example, because an expansion interface card is removed. To remove IRF port bindings, you must use the undo port group interface command. For more information about IRF port binding requirements, see Virtual Technologies Configuration Guide.
IRF 3 commands For information about displaying and specifying PEX startup software images, see software upgrade in Fundamentals Command Reference. associate Use associate to assign a virtual slot number to a PEX. Use undo associate to remove the virtual slot number assignment for a PEX. Syntax associate slot-number undo associate...
Predefined user roles network-admin Parameters text: Configures a description, a case-sensitive string of 1 to 79 characters. Examples # Configure a description for PEX port 2. <Sysname> system-view [Sysname] pex-port 2 [Sysname-pex-port2] description connecttodep2 display pex working-mode Use display pex working-mode to display the operating mode configuration of PEXs in the IRF 3 system.
Field Description Slots 129 PEX in slot 129. display pex-port Use display pex-port to display information about PEX ports. Syntax display pex-port [ pex-id ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters pex-id: Specifies the port number of a PEX port. If you do not specify a PEX port, the command displays information about all PEX ports.
PEX port 2: Description: pex-port 0002 Associated slot numbers: 1 Slot PEX status *101 Online Member interfaces: 3 Member interface Status Peer interface XGE1/2/2 Forwarding PEX105/0/51 XGE9/2/2 Forwarding PEX105/0/52 XGE10/1/2 Down Table 8 Command output Field Description Description PEX port description. Associated slot numbers Number of virtual slot numbers for the PEX port.
undo irf mode enhanced Default The device operates in normal IRF mode to provide IRF capability. Views System view Predefined user roles network-admin Parameters enhanced: Specifies enhanced IRF mode. In this mode, the device can operate as a parent device in an IRF 3 system.
slot slot-number1 to slot-number2: Specifies a range of PEXs. The slot-number1 argument represents the start PEX slot number. The slot-number2 argument represents the end PEX slot number. The value for the slot-number2 argument must be greater than or equal to the value for the slot-number1 argument.
[Sysname-pex-port2] pex-port load-sharing mode Use pex-port load-sharing mode to configure the PEX link load sharing mode for a PEX port to distribute traffic across its physical links. Use undo pex-port load-sharing mode to restore the default. Syntax pex-port load-sharing mode { destination-ip | destination-mac | ingress-port | source-ip | source-mac } * undo pex-port load-sharing mode Default...
port group interface Use port group interface to assign a physical interface to a PEX port on the parent fabric. Use undo port group interface to remove a physical interface from a PEX port. Syntax port group interface interface-type interface-number undo port group interface interface-name Default No physical interfaces are assigned to a PEX port.
Need help?
Do you have a question about the S7500E-XS Series and is the answer not in the manual?
Questions and answers