IRF commands All IRF commands are available only on the default MDC, except for the commands in Table Table 1 IRF commands available on both default and non-default MDCs Command category Commands Display commands display irf link mad arp enable mad bfd enable mad enable MAD commands...
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 Now rebooting, please wait...
Page 7
Auto merge : yes IRF mode : normal Table 2 Command output Field Description IRF member ID: • ID of the master is prefixed with an asterisk (*) sign. MemberID • ID of the device where you are logged in is prefixed with a plus (+) sign.
display irf configuration Use display irf configuration to display basic IRF settings, including each member's current member ID, new member ID, and physical interfaces bound to the IRF ports. The new member IDs take effect at reboot. Syntax display irf configuration Views Any view Predefined user roles...
Syntax display irf link Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Examples # Display IRF link information. <Sysname> display irf link Member 1 IRF Port Interface Status disable GigabitEthernet1/3/0/1 GigabitEthernet1/5/0/1 GigabitEthernet1/6/0/1 DOWN Member 2 IRF Port Interface Status GigabitEthernet2/3/0/1 GigabitEthernet2/5/0/1...
Syntax display irf topology Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Examples # Display the IRF fabric topology. <Sysname> display irf topology Topology Info ------------------------------------------------------------------------- IRF-Port1 IRF-Port2 MemberID Link neighbor Link neighbor Belong To DOWN 00e0-fc0f-8c08 Table 5 Command output Field Description IRF-Port 1...
Page 11
Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters irf-port: Displays IRF port-specific load sharing modes. If you do not specify this keyword, the command displays the global load sharing mode for IRF links. member-id/irf-port-number: Specifies an IRF port number. The member-id argument represents an IRF member ID.
Field Description configured mode applies. Default load sharing mode for traffic that has no IP header. By Layer 2 traffic: destination-mac address default, this type of traffic is distributed based on source and source-mac address destination MAC addresses. Default load sharing mode for non-TCP/-UDP IP packets. By Layer 3 traffic: destination-ip address default, this type of traffic is distributed based on source and source-ip address...
Views System view Predefined user roles network-admin mdc-admin Usage guidelines If the IRF auto-merge feature is disabled, you must follow the system instructions to manually reboot member devices in the IRF fabric that fails master election. For a successful merge, make sure IRF auto-merge is enabled on both IRF fabrics that are merging. This command is supported only in IRF mode.
configuration. To disable software auto-update after you change the operating mode from standalone to IRF, use the undo form of this command. This command automatically propagates the current software images of the master MPU in the IRF fabric to any MPUs you are adding to the IRF fabric. To ensure a successful software update, verify that the new MPU 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. In an MDC environment, the irf domain command is available only on the default MDC.
irf link-delay Use irf link-delay to set a delay for the IRF ports to report a link down event. Use undo irf link-delay to restore the default. Syntax irf link-delay interval undo irf link-delay Default The IRF link down event report delay is 1 second. Views System view Predefined user roles...
Default Bridge MAC address of the IRF fabric does not change after the address owner leaves. Views System view Predefined user roles network-admin mdc-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: Assigns an IRF member ID to the device. The value range is 1 to 4. Usage guidelines Assign an IRF member ID to a device before enabling IRF mode. The member ID takes effect after IRF mode is enabled. This member ID must be unique among all IRF member devices. If no member ID is assigned to the device in standalone mode, the device uses a member ID of 1 after its operating mode changes to IRF.
irf member priority Use irf member priority to change the priority of an IRF member. Use undo irf member priority to restore the default. Syntax irf member member-id priority priority undo irf member member-id priority Default The IRF member priority is 1. Views System view Predefined user roles...
Views System view Predefined user roles network-admin mdc-admin Parameters member-id: Specifies the ID of an IRF member device, in the range of 1 to 4. new-member-id: Assigns a new ID to the IRF member device, in the range of 1 to 4. Usage guidelines CAUTION: In IRF mode, an IRF member ID change can invalidate member ID-related settings, including...
undo irf priority Default The IRF member priority is 1. Views System view Predefined user roles network-admin mdc-admin Parameters priority: Specifies an IRF member priority value 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. Usage guidelines The member priority configured in standalone mode takes effect after you enable IRF mode.
Parameters destination-ip: Distributes traffic across IRF member links based on destination IP address. destination-mac: Distributes packets across IRF member links based on destination MAC address. ingress-port: Distributes packets across IRF member links based on incoming port. This keyword is not supported in the current software version. source-ip: Distributes packets across IRF member links based on source IP address.
mdc-admin Parameters destination-ip: Distributes traffic across IRF member links based on destination IP address. destination-mac: Distributes packets across IRF member links based on destination MAC address. ingress-port: Distributes packets across IRF member links based on incoming port. This keyword is not supported in the current software version.
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. Examples # (In IRF mode.) Enter the view of IRF-port 1 on member 1. <Sysname>...
Views System view Predefined user roles network-admin mdc-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.
Page 27
Use undo mad arp enable to disable ARP MAD. Syntax mad arp enable undo mad arp enable Default ARP MAD is disabled. Views Layer 3 interface view Predefined user roles network-admin mdc-admin Usage guidelines ARP MAD detects multi-active collisions by using extended ARP packets. Do not configure ARP MAD on VLAN-interface 1.
Category Restrictions and guidelines a VRRP virtual address on the BFD MAD-enabled VLAN interface. • Make sure all the MAD IP addresses are on the same subnet. • MAD IP addresses must be unique among all IP addresses on the IRF fabric.
Page 30
Usage guidelines LACP MAD uses extended LACP packets to detect multi-active collisions. This MAD mechanism requires an intermediate HPE 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 on an IRF fabric.
MAD LACP only enable on dynamic aggregation interface. mad exclude interface Use mad exclude interface to exclude a physical network port from being shut down when the IRF fabric transits to the Recovery state upon detection of a multi-active collision. Use undo mad exclude interface to restore the default MAD action on a physical network port.
Syntax mad ip address ip-address { mask | mask-length } member member-id undo mad ip address ip-address { mask | mask-length } member member-id Default No MAD IP address is configured for an IRF member device. Views Management Ethernet interface view, VLAN interface view Predefined user roles network-admin mdc-admin...
Syntax mad nd enable undo mad nd enable Default ND MAD is disabled. Views VLAN interface view Predefined user roles network-admin mdc-admin Usage guidelines ND MAD uses extended NS packets of the IPv6 ND protocol to detect multi-active collisions. Do not configure ND MAD together with LACP MAD, because they handle collisions differently. Do not configure ND MAD together with BFD MAD if common Ethernet ports are used for BFD MAD.
Syntax mad restore Views System view Predefined user roles network-admin mdc-admin Usage guidelines When MAD detects a multi-active collision, it sets all IRF fabrics except one to the Recovery state. The fabric that is not placed in Recovery state can continue to forward traffic. The Recovery-state IRF fabrics are inactive.
Page 35
interface-name: Specifies a physical interface in the interface-typeinterface-number format. No space is allowed between the interface-type and interface-number arguments. mode: Specifies a binding mode for the IRF physical interface. • enhanced: Sets the binding mode to enhanced. • extended: Sets the binding mode to extended. Specify this binding mode if optical transmission devices are deployed on the IRF link.
eIRF 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 chassis number to a PEX. Use undo associate to remove the virtual chassis number of a PEX. Syntax associate chassis-number undo associate...
Default PEX port description uses the pex-port pex-number format (for example, pex-port 0002). Views PEX port view Predefined user roles network-admin mdc-admin Parameters text: Specifies a description, a case-sensitive string of 1 to 79 characters. Examples # Configure the description as connecttodep2 for PEX port 2. <Sysname>...
PEX mode at startup: Chassis 100 slots 0 Chassis 101 slots 0 Chassis 102 slots 0 Table 8 Command output Field Description PEX device mode Configuration Displays the operating mode configuration for PEXs. Displays the virtual chassis number and slot number information Switch mode at startup for PEXs that will operate in switch mode after a reboot.
Page 39
*105 Online PEX port 8: Description: pex-port 0008 Associated chassis numbers: 1 Chassis PEX status *122 Offline # Display detailed information about all PEX ports. In this example, PEX ports have member physical interfaces. <Sysname> display pex-port verbose PEX port 1: Description: pex-port 0001 Associated chassis numbers: 1 Chassis...
Field Description An asterisk (*) indicates that the PEX is directly connected to the parent fabric. PEX status: • Online—The PEX is online. PEX status • Offline—The PEX is offline. • Loading—The PEX is starting up. Number of physical interfaces assigned to the PEX port on the Member interfaces parent fabric.
Usage guidelines For a device to operate as a parent device, you must enable its eIRF capability by setting the IRF mode to enhanced or light. The IRF mode determines the number of PEXs that an eIRF system can contain. Use Table 10 to choose a mode depending on feature and port-density requirements.
Parameters switch: Specifies the switch operating mode. In this mode, the specified devices operate independently. It is not part of an eIRF system, whether or not it has connections to the parent fabric. all: Specifies all PEXs. chassis chassis-number: Specifies a PEX by its virtual chassis number. Available values are the virtual chassis numbers of all PEXs.
Usage guidelines PEX ports are logical ports for managing PEXs. Each PEX must be assigned to a PEX port. All PEX settings for a PEX are configured on its PEX port. Before you delete a PEX port, check its state. If the PEX port is in Online state, the delete operation will cause the attached PEX to reboot.
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 a PEX port in PEX port view by using the pex-port load-sharing mode command. A PEX port preferentially uses the port-specific load sharing mode.
Usage guidelines To successfully configure a port-specific load sharing mode for a PEX port, make sure you have bound a minimum of one physical interface to the PEX port. You can configure a PEX port-specific load sharing mode to include a combination of multiple criteria for making traffic distribution decisions.
Page 46
If a physical interface has been assigned to a PEX port, you cannot assign the interface to any other PEX port. Make sure the PEX physical interfaces at the two ends of a PEX link are at the same rate. The SFP+ ports on the LSU1TGS32SF0(JC755A, JG344A) and LSUM1TGS24EC0(JH194A, JH202A) modules are grouped by port number in order, starting from 1.
MDC commands Do not configure MDCs on a device installed with the following cards, or install the following cards on a device configured with MDCs: • EA interface modules: LSU1GP24TXEA0(JC621A, JG380A). LSU1GP48EA0(JC622A, JG381A). LSU1GT48EA0(JC623A, JG382A). LSU1TGX4EA0(JC624A, JG383A). • EB interface modules. •...
Page 48
Parameters { interface-type interface-number }&<1-24>: Specifies a space-separated list of up to 24 interfaces. interface-type interface-number1 to interface-type interface-number2: Specifies a range of interfaces. The two interface-type arguments must have the same value. All interfaces in the range must be on the same LPU. Usage guidelines You can assign multiple physical interfaces to a non-default MDC.
GigabitEthernet1/0/3 GigabitEthernet1/0/4 The output shows that GigabitEthernet 1/0/4 and GigabitEthernet 1/0/3 belong to the same group and must be assigned to the same MDC at the same time. To assign both interfaces to MDC sub1, use the following command: [Sysname-mdc-2-sub1] allocate interface gigabitethernet 1/0/3 gigabitethernet 1/0/4 Configuration of the interfaces will be lost.
Page 50
Syntax display mdc [ name mdc-name ] interface Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters name mdc-name: Specifies an MDC by its name, a case-insensitive string of 1 to 15 characters. If you do not specify this option, the command displays the interfaces of all MDCs. Examples # Display the interfaces of all MDCs.
Ten-GigabitEthernet1/3/0/45 Ten-GigabitEthernet1/3/0/46 Ten-GigabitEthernet1/3/0/47 Ten-GigabitEthernet1/3/0/48 Related commands allocate interface display mdc resource Use display mdc resource to display the CPU, disk space, and memory usage of MDCs. Syntax In standalone mode: display mdc [ name mdc-name ] resource [ cpu | disk | memory ] [ slot slot-number [ cpu cpu-number ] ] In IRF mode: display mdc [ name mdc-name ] resource [ cpu | disk | memory ] [ chassis chassis-number slot...
Used 378.7MB, Free 7566.0MB, Total 7944.6MB Name Quota(MB) Used(MB) Available(MB) sub1 7944.6 45.6 7566.0 CPU usage: slot 0 CPU 0: Name Weight Usage(%) sub1 slot 7 CPU 0: Name Weight Usage(%) sub1 Disk usage: slot 7 CPU 0: flash: Used 248.5MB, Free 775.5MB, Total 1024.0MB Name Quota(MB) Used(MB)
Default The default MDC has a CPU weight of 10 on each MPU. Each non-default MDC has a CPU weight of 10 on each MPU. Views MDC view of a non-default MDC Predefined user roles network-admin mdc-admin Parameters weight weight-value: Specifies a CPU weight value in the range of 1 to 10. Usage guidelines The amount of CPU resources available for an MDC depends on the CPU weight settings for all MDCs that share the same CPU.
Parameters slot slot-number: Specifies an MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device. (In IRF mode.) cpu cpu-number: Specifies a CPU by its number. If you do not specify this option, the command specifies a disk space percentage for CPU 0.
Parameters slot slot-number: Specifies a card. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. (In IRF mode.) cpu cpu-number: Specifies a CPU by its number. If you do not specify this option, the command specifies a memory space percentage for CPU 0.
chassis chassis-number slot slot-number: Specifies an LPU on an IRF member device. (In IRF mode.) Usage guidelines To assign physical interfaces to an MDC, you must authorize the MDC to use the LPUs to which the physical interfaces belong. To return an LPU that has been assigned to a non-default MDC to the default MDC, you must perform the following tasks: Use the undo location command to reclaim the LPU.
Automatic configuration is running, press CTRL_D to break or press CTRL_B to switch back to the default MDC. <Sysname> <Sysname> display mdc Name Status sub1 active Related commands switchback Use mdc to create an MDC and enter MDC view. If the MDC already exists, you enter the MDC view directly.
mdc start Use mdc start to start an MDC. Use undo mdc start to stop an MDC. Syntax mdc start undo mdc start Views MDC view of a non-default MDC Predefined user roles network-admin Usage guidelines After an MDC is started, administrators of the MDC can log in to the MDC for MDC configuration and maintenance.
Name Status sub1 active For information about the Status field, see Table display mdc interface Use display mdc interface to display the interfaces of the current MDC. Syntax display mdc interface Views Any view Predefined user roles mdc-admin mdc-operator Examples # Display the interfaces of the current MDC.
display mdc resource Use display mdc resource to display the CPU, disk space, and memory usage of the current MDC. Syntax In standalone mode: display mdc resource [ cpu | disk | memory ] [ slot slot-number [ cpu cpu-number ] ] In IRF mode: display mdc resource [ cpu | disk | memory ] [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]...
Disk usage: slot 7 CPU 0: flash: Used 248.5MB, Free 775.5MB, Total 1024.0MB Name Quota(MB) Used(MB) Available(MB) sub1 1024.0 775.5 # (In IRF mode.) Display the CPU, disk space, and memory space usage of the MDC on all cards in the IRF fabric.
Page 62
Examples # Return from the current MDC to the default MDC. <sub1> switchback [Sysname] Related commands switchto mdc...
Document conventions and icons Conventions This section describes the conventions used in the documentation. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown.
Network topology icons Convention Description Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
Support and other resources Accessing Hewlett Packard Enterprise Support • For live assistance, go to the Contact Hewlett Packard Enterprise Worldwide website: www.hpe.com/assistance • To access documentation and support services, go to the Hewlett Packard Enterprise Support Center website: www.hpe.com/support/hpesc Information to collect •...
Hewlett Packard Enterprise is committed to providing documentation that meets your needs. To help us improve the documentation, send any errors, suggestions, or comments to Documentation Feedback (docsfeedback@hpe.com). When submitting your feedback, include the document title, part number, edition, and publication date located on the front cover of the document. For online help...
Index A C D I L M P R S W irf-port global load-sharing mode,18 irf-port load-sharing mode,19 allocate interface,43 irf-port member-id/port-number,20 associate,32 irf-port port-number,21 irf-port-configuration active,21 chassis convert mode irf,1 Customer self repair,62 limit-resource cpu,48 limit-resource disk,49 limit-resource memory,50 description,32 location,51 display...