HP 5130 EI Switch Series Configuration Guide Part number: 5998-5479b Software version: Release 31xx Document version: 6W100-20150731...
Page 2
The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty.
Contents IRF overview ································································································································································· 1 Hardware compatibility ···················································································································································· 1 IRF benefits ········································································································································································· 1 Application scenario ························································································································································· 1 Basic concepts ··································································································································································· 2 IRF member roles ······················································································································································ 2 IRF member ID ··························································································································································· 2 IRF port ······································································································································································ 2 ...
Page 4
ARP MAD-enabled IRF configuration example ··································································································· 43 ND MAD-enabled IRF configuration example ···································································································· 47 Support and other resources ····································································································································· 1 3 7 H C ontacting HP ································································································································································ 6 1 H 1 3 8 H S ubscription service ·············································································································································· 6 2 H 1 3 9 H R elated information ························································································································································...
This book describes IRF concepts and guides you through the IRF setup procedure. Hardware compatibility An HP 5130 EI switch can form an IRF fabric only with devices in the same series. IRF benefits IRF provides the following benefits: •...
Figure 1 IRF application scenario Basic concepts This section describes the basic concepts you might encounter when you work with IRF. IRF member roles IRF uses two member roles: master and standby (called subordinate throughout the documentation). When devices form an IRF fabric, they elect a master to manage and control the IRF fabric, and all the other devices back up the master.
To use an IRF port, you must bind a minimum of one physical interface to it. The physical interfaces assigned to an IRF port form an aggregate IRF link automatically. An IRF port goes down only if all its IRF physical interfaces are down.
IRF split IRF split occurs when an IRF fabric breaks up into two or more IRF fabrics because of IRF link failures, as shown in Figure 3. The split IRF fabrics operate with the same IP address and cause routing and forwarding problems on the network.
On the standalone switch Sysname, GigabitEthernet 1/0/1 represents the first port on the device. • Set its link type to trunk, as follows: <Sysname> system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] port link-type trunk On the IRF fabric Master, GigabitEthernet 3/0/1 represents the first fixed port on member device •...
<Master> cd slot3#flash:/ <Master> mkdir test Creating directory slot3#flash:/test... Done. To copy the file test.ipe on the master to the root directory of the flash memory on member device 3: # Display the current working path. In this example, the current working path is the root directory of the flash on member device 3.
Two members are considered to start up at the same time if the difference between their startup times is equal to or less than 10 minutes. For these members, the next tiebreaker applies. Member with the lowest CPU MAC address. For the setup of a new IRF fabric, the subordinate devices must reboot to complete the setup after the master election.
In contrast, BFD MAD, ARP MAD, and ND MAD do not compare the number of members in fabrics. These MAD mechanisms use the following process to hand a multi-active collision: Compare the member IDs of the masters in the IRF fabrics. Set all fabrics to the Recovery state except the one that has the lowest numbered master.
Figure 5 LACP MAD application scenario Customer premise network Device LACP-enabled dynamic link aggregation LACP-enabled dynamic link aggregation IRF link Subordinate Master Internet Common traffic path LACP MAD traffic path BFD MAD BFD MAD can work with or without an intermediate device. Figure 6 shows a typical BFD MAD application scenario.
Figure 6 BFD MAD application scenario Customer premise network Device Link aggregation BFD MAD link VLAN 2 VLAN 2 192.168.1.2/24 192.168.1.3/24 IRF link Subordinate Master Internet ARP MAD ARP MAD detects multi-active collisions by using extended ARP packets that convey the IRF domain ID and the active ID.
Figure 7 ARP MAD application scenario Customer premise network STP domain (all devices must run the spanning Device tree feature) IRF link Subordinate Master Internet Common traffic path Extended ARP traffic path Each IRF member compares the domain ID and the active ID in incoming extended ARP packets with its domain ID and active ID: If the domain IDs are different, the extended ARP packet is from a different IRF fabric.
Page 16
Figure 8 ND MAD application scenario Customer premise network STP domain (all devices must run the spanning Device tree feature) IRF link Subordinate Master Internet Common traffic path Extended ND traffic path Each IRF member device compares the domain ID and the active ID in incoming NS packets with its domain ID and active ID: If the domain IDs are different, the NS packet is from a different IRF fabric.
Comware-Based Devices Transceiver Modules User Guide. NOTE: The SFP+ modules and SFP+ DAC cables available for the switch are subject to change over time. For the most up-to-date list of SFP+ modules and DAC cables, contact HP technical support or marketing staff.
Page 18
IRF physical interface location and binding restrictions Candidate IRF physical Device model Requirements interfaces • HP 5130-24G-4SFP+ EI Switch (JG932A) • HP 5130-24G-4SFP+ EI Brazil Switch (JG975A) • HP 5130-24G-PoE+-4SFP+ No binding restrictions. You can bind The four SFP+ ports on the front...
HP 5130-24G-SFP-4SFP+ EI Switch HP 5130-24G-4SFP+ EI Switch HP 5130-24G-4SFP+ EI Brazil Switch HP 5130-24G-PoE+-4SFP+ (370W) EI Switch HP 5130-24G-PoE+-4SFP+ (370W) EI Brazil Switch HP 5130-24G-2SFP+-2XGT EI Switch HP 5130-24G-PoE+-2SFP+-2XGT (370W) EI Switch HP 5130-48G-4SFP+ EI Switch HP 5130-48G-4SFP+ EI Brazil Switch...
Subordinate devices Activate IRF ports IRF fabric is set up configuration automatically reboot HP recommends the following IRF fabric setup and configuration procedure: Tasks at a glance Remarks (Required.) Planning the IRF fabric setup Perform this task on each member (Required.)
Configuring IRF link load sharing mode: Configuring the global load sharing mode Configuring a port-specific load sharing mode (Optional.) Configuring IRF bridge MAC persistence HP recommends enabling (Optional.) Enabling software auto-update for software image software auto-update to ensure synchronization system software image synchronization.
Assigning a member ID to each IRF member device CAUTION: In an IRF fabric, changing IRF member IDs might cause undesirable configuration changes and even data loss. Before you do that, back up the configuration and make sure you fully understand the impact on your network.
Connecting IRF physical interfaces When you connect two neighboring IRF members, connect the physical interfaces of IRF-port 1 on one member to the physical interfaces of IRF-port 2 on the other (see Figure 10). For example, you have four chassis: A, B, C, and D. IRF-port 1 and IRF-port 2 are represented by A1 and A2 on chassis A, represented by B1 and B2 on chassis B, and so on.
Page 24
Follow the restrictions in "IRF physical interface requirements." • You must always shut down a physical interface before binding it to an IRF port or removing the • binding. Start the shutdown operation on the master, and then the member device that has the fewest number of hops from the master.
Step Command Remarks • Enter interface range view: interface range { interface-type interface-number [ to interface-type interface-number ] } Enter interface view or &<1-5> interface range view. • Enter interface view: interface interface-type interface-number Bring up the interface or the undo shutdown range of interfaces.
Step Command Remarks Configure a description for a By default, no member device irf member member-id description text member device. description is configured. Configuring IRF link load sharing mode On an IRF port, traffic is balanced across its physical links. By default, traffic is distributed automatically based on packet types, including Layer 2, IPv4, and IPv6.
Configuring a port-specific load sharing mode Before you configure a port-specific load sharing mode, make sure you have bound a minimum of one physical interface to the IRF port. To configure a port-specific load sharing mode for an IRF port: Step Command Remarks...
Configure the irf mac-address persistent always command on the IRF fabric that meets the • following requirements: The IRF fabric uses a daisy-chain topology. The IRF fabric has aggregate links with upstream or downstream devices. The persistence setting prevents transmission delay or packet loss after the address owner leaves. To configure the IRF bridge MAC persistence setting: Step Command...
Configuration prerequisites 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 not available, the device deletes the current software images automatically. If the reclaimed space is still insufficient, the device cannot complete the auto-update. You must reboot the device and access the Boot menu to delete files.
Step Command Remarks Set the IRF link down The default IRF link down report delay is 4 irf link-delay interval report delay. seconds. Configuring MAD The following MAD mechanisms are available for detecting multi-active collisions in different network scenarios: LACP MAD. •...
Advantages Disadvantages Application scenario mechanism Spanning tree-enabled • No intermediate device is • Detection speed is slower non-link aggregation IPv4 required. than BFD MAD and LACP network scenario. • Intermediate device, if used, MAD. ARP MAD For information about can come from any vendor. •...
Step Command Remarks • Enter interface range view: interface range { interface-type To assign a range of ports to the interface-number [ to aggregation group, enter interface-type interface-number ] } interface range view. Enter Ethernet interface view &<1-5> or interface range view. To assign one port to the •...
Step Command Remarks Create a VLAN dedicated to The default VLAN on the device vlan vlan-id BFD MAD. is VLAN 1. Return to system view. quit • Enter interface range view: interface range { interface-type To assign a range of ports to the interface-number [ to BFD MAD VLAN, enter interface interface-type interface-number ] }...
If the intermediate device is also an IRF fabric, assign the two IRF fabrics different domain IDs for correct split detection. To configure ARP MAD: Step Command Remarks Enter system view. system-view Assign a domain ID to the IRF irf domain domain-id The default IRF domain ID is 0.
Create an ND MAD VLAN and assign the ports on the ND MAD links to the VLAN. If the intermediate device is also an IRF fabric, assign the two IRF fabrics different domain IDs for correct split detection. To configure ND MAD: Step Command Remarks...
Exclude a VLAN interface and its Layer 2 ports from the shutdown action so you can log in through • the VLAN interface. CAUTION: Do not exclude a VLAN interface and its Layer 2 ports from the shutdown action if the Layer 2 ports are distributed on multiple member devices.
Figure 13 Active IRF fabric fails before the IRF link is recovered To manually recover an inactive IRF fabric: Step Command Enter system view. system-view Recover the inactive IRF fabric. mad restore After the IRF fabric is recovered, all ports that have been shut down by MAD come up automatically. Displaying and maintaining an IRF fabric Execute display commands in any view.
As shown in Figure 14, set up a four-chassis IRF fabric at the access layer of the enterprise network. Configure LACP MAD on the multichassis aggregation to Device E, an HP device that supports extended LACP. Figure 14 Network diagram...
Page 39
Configuration procedure Configure Device A: # Shut down the physical interfaces used for IRF connection. This example uses the SFP+ port group that contains Ten-GigabitEthernet 1/0/25 to Ten-GigabitEthernet 1/0/28 for IRF connection. <Sysname> system-view [Sysname] interface range ten-gigabitethernet 1/0/25 to ten-gigabitethernet 1/0/28 [Sysname-if-range] shutdown [Sysname-if-range] quit # Bind Ten-GigabitEthernet 1/0/25 and Ten-GigabitEthernet 1/0/26 to IRF-port 1/1.
Page 40
# Bind Ten-GigabitEthernet 2/0/25 and Ten-GigabitEthernet 2/0/26 to IRF-port 2/2. [Sysname] irf-port 2/2 [Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/25 [Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/26 [Sysname-irf-port2/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 2/0/25 to ten-gigabitethernet 2/0/28 [Sysname-if-range] undo shutdown [Sysname-if-range] quit [Sysname] save...
Page 41
Device C reboots to join the IRF fabric. Configure Device D: # Change the member ID of Device D to 4 and reboot the device to validate the change. <Sysname> system-view [Sysname] irf member 1 renumber 4 Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y [Sysname] quit <Sysname>...
[Sysname-Bridge-Aggregation2] quit # Assign GigabitEthernet 1/0/2, GigabitEthernet 2/0/1, GigabitEthernet 3/0/2, and GigabitEthernet 4/0/1 to the aggregate interface. [Sysname] interface gigabitethernet 1/0/2 [Sysname-GigabitEthernet1/0/2] port link-aggregation group 2 [Sysname-GigabitEthernet1/0/2] quit [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] port link-aggregation group 2 [Sysname-GigabitEthernet2/0/1] quit [Sysname] interface gigabitethernet 3/0/2 [Sysname-GigabitEthernet3/0/2] port link-aggregation group 2 [Sysname-GigabitEthernet3/0/2] quit [Sysname] interface gigabitethernet 4/0/1...
Page 43
Disable the spanning tree feature on the ports used for BFD MAD, because the two features conflict with each other. Figure 15 Network diagram Device E GE1/0/1 GE1/0/2 GE1/0/4 GE1/0/3 Device B Device A GE1/0/1 GE2/0/1 XGE1/0/27 XGE2/0/27 XGE2/0/25 XGE1/0/25 XGE1/0/28 XGE2/0/28 XGE2/0/26...
Page 44
# Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 1/0/25 to ten-gigabitethernet 1/0/28 [Sysname-if-range] undo shutdown [Sysname-if-range] quit [Sysname] save # Activate the IRF port configuration. [Sysname] irf-port-configuration active Configure Device B: # Change the member ID of Device B to 2 and reboot the device to validate the change. <Sysname>...
Page 45
[Sysname] quit <Sysname> reboot # Connect Device C to Device A as shown in Figure 15, and log in to Device C. This example uses the SFP+ port group that contains Ten-GigabitEthernet 3/0/25 to Ten-GigabitEthernet 3/0/28 for IRF connection. # Shut down the physical interfaces. <Sysname>...
Page 46
[Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/26 [Sysname-irf-port4/1] quit # Bind Ten-GigabitEthernet 4/0/27 and Ten-GigabitEthernet 4/0/28 to IRF-port 4/2. [Sysname] irf-port 4/2 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/27 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/28 [Sysname-irf-port4/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 4/0/25 to ten-gigabitethernet 4/0/28 [Sysname-if-range] undo shutdown [Sysname-if-range] quit...
CAUTION: If the intermediate device is also an IRF fabric, assign the two IRF fabrics different domain IDs for correct split detection. False detection causes IRF split. # Create VLAN 3, and assign GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, GigabitEthernet 1/0/3, and GigabitEthernet 1/0/4 to VLAN 3 for forwarding BFD MAD packets. <DeviceE>...
Page 48
# Shut down the physical interfaces used for IRF connection. This example uses the SFP+ port group that contains Ten-GigabitEthernet 1/0/25 to Ten-GigabitEthernet 1/0/28 for IRF connection. <Sysname> system-view [Sysname] interface range ten-gigabitethernet 1/0/25 to ten-gigabitethernet 1/0/28 [Sysname-if-range] shutdown [Sysname-if-range] quit # Bind Ten-GigabitEthernet 1/0/25 and Ten-GigabitEthernet 1/0/26 to IRF-port 1/1.
Page 49
[Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/25 [Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/26 [Sysname-irf-port2/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 2/0/25 to ten-gigabitethernet 2/0/28 [Sysname-if-range] undo shutdown [Sysname-if-range] quit [Sysname] save # Activate the IRF port configuration. [Sysname] irf-port-configuration active The two devices perform master election, and the one that has lost the election reboots to form an IRF fabric with the master.
Page 50
# Change the member ID of Device D to 4 and reboot the device to validate the change. <Sysname> system-view [Sysname] irf member 1 renumber 4 Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y [Sysname] quit <Sysname>...
# Create VLAN-interface 3, assign it an IP address, and enable ARP MAD on the interface. [Sysname] interface vlan-interface 3 [Sysname-Vlan-interface3] ip address 192.168.2.1 24 [Sysname-Vlan-interface3] mad arp enable You need to assign a domain ID (range: 0-4294967295) [Current domain is: 1]: The assigned domain ID is: 1 Configure Device E as the intermediate device:...
Page 52
Figure 17 Network diagram Device E IP network GE1/0/1~GE1/0/4 GE2/0/1 GE1/0/2 Device A Device B XGE1/0/27 XGE2/0/27 XGE2/0/25 XGE1/0/25 XGE1/0/28 XGE2/0/28 XGE2/0/26 XGE1/0/26 (IRF-port1/2) (IRF-port2/1) (IRF-port2/2) (IRF-port1/1) XGE3/0/25 XGE4/0/25 XGE3/0/26 XGE4/0/26 (IRF-port3/2) (IRF-port4/1) GE3/0/2 GE4/0/1 XGE3/0/27 XGE4/0/27 Device C XGE3/0/28 XGE4/0/28 Device D (IRF-port3/1)
Page 53
[Sysname] save # Activate the IRF port configuration. [Sysname] irf-port-configuration active Configure Device B: # Change the member ID of Device B to 2 and reboot the device to validate the change. <Sysname> system-view [Sysname] irf member 1 renumber 2 Renumbering the member ID may result in configuration change or loss.
Page 54
# Connect Device C to Device A as shown in Figure 17, and log in to Device C. This example uses the SFP+ port group that contains Ten-GigabitEthernet 3/0/25 to Ten-GigabitEthernet 3/0/28 for IRF connection. # Shut down the physical interfaces. <Sysname>...
Page 55
# Bind Ten-GigabitEthernet 4/0/27 and Ten-GigabitEthernet 4/0/28 to IRF-port 4/2. [Sysname] irf-port 4/2 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/27 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/28 [Sysname-irf-port4/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 4/0/25 to ten-gigabitethernet 4/0/28 [Sysname-if-range] undo shutdown [Sysname-if-range] quit [Sysname] save...
Page 56
[DeviceE-vlan3] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 [DeviceE-vlan3] quit...
Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals • For related documentation, navigate to the Networking section, and select a networking category.
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. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Page 59
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 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.