HP 5920 & 5900 Switch Series Configuration Guide Part number: 5998-2892 Software version: Release2207 Document version: 6W100-20121130...
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.
Page 4
ARP MAD-enabled IRF configuration example ··································································································· 41 ND MAD-enabled IRF configuration example ···································································································· 45 Support and other resources ····································································································································· 51 Contacting HP ································································································································································ 51 Subscription service ·············································································································································· 51 Related information ························································································································································ 51 Documents ······························································································································································ 51 ...
IRF overview HP Intelligent Resilient Framework (IRF) technology creates a large IRF fabric from multiple devices to provide data center class availability and scalability. IRF virtualization technology offers processing power, interaction, unified management, and uninterrupted maintenance of multiple devices. This book describes IRF concepts and guides you through the IRF setup procedure.
Figure 1 IRF application scenario Network topologies An IRF fabric can use a daisy chain topology or a ring topology. Full meshed topology is not supported. For information about connecting IRF member devices, see "Connecting physical IRF ports." Basic concepts This section describes the basic concepts you might encounter when working with IRF.
IRF port An IRF port is a logical interface for the connection between IRF member devices. Every IRF-capable device supports two IRF ports. The IRF ports are named IRF-port n/1 and IRF-port n/2, where n is the member ID of the switch. The two IRF ports are referred to as "IRF-port 1" and "IRF-port 2" in this book for simplicity.
Figure 2 A network that comprises two IRF domains Core network IRF 1 (domain 10) Device A Device B IRF link IRF 2 (domain 20) Device D Device C IRF link Access network 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.
Figure 4 IRF merge IRF 1 IRF 2 IRF link Device A Device A Device B Device B Member priority Member priority determines the possibility of a member device to be elected the master. A member with higher priority is more likely to be elected the master. The default member priority is 1.
Page 10
Directory of flash: 0 -rw- 43548660 Jan 01 2011 08:21:29 5900.ipe 1 drw- - Jan 01 2011 00:00:30 diagfile 2 -rw- 567 Jan 02 2011 01:41:54 dsakey 3 -rw- 735 Jan 02 2011 01:42:03 hostkey 4 -rw- 36 Jan 01 2011 00:07:52 ifindex.dat 5 -rw- 0 Jan 01 2011 00:53:09...
Configuration synchronization mechanism IRF uses a strict running-configuration synchronization mechanism so all chassis in an IRF fabric can work as a single node, and after the master fails, other members can operate normally. In an IRF fabric, all chassis get and run the running configuration of the master. Any configuration you have made is propagated to all members.
These MAD mechanisms identify each IRF fabric with a domain ID and an active ID (the member ID of the master). If multiple active IDs are detected in a domain, MAD determines that an IRF collision or split has occurred. You can use at least one of these mechanisms in an IRF fabric, depending on your network topology.
If the domain IDs and the active IDs in the extended LACPDUs sent by all the member devices are • the same, the IRF fabric is integrated. If the extended LACPDUs convey the same domain ID but different active IDs, a split has occurred. •...
If the IRF fabric is integrated, only the MAD IP address of the master is effective, and the master • cannot establish a BFD session with any other member. If you execute the display bfd session command, the state of the BFD sessions is Down. •...
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: •...
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: •...
SFP+ ports on the HP 5900AF-48XG-4QSFP+ Switch, HP 5900AF-48XG-4QSFP+ TAA Switch, HP 5920AF-24XG Switch, and HP 5920AF-24XG TAA Switch are grouped by port number in order, starting from the one numbered 1. Each group contains four ports. Ports in the same group must be used for the same purpose.
After the IRF fabric is set up, you can access the IRF fabric to manage its member devices as if they were one device. Figure 9 Basic IRF setup flow chart HP recommends the following IRF fabric setup and configuration procedure: Setup and configuration procedure Remarks (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 make sure 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 physical IRF ports When you connect two neighboring IRF members, connect the physical ports of IRF-port 1 on one member to the physical ports of IRF-port 2 on the other, as shown in Figure Suppose 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 22
To bind physical ports to IRF ports: Step Command Remarks Enter system view. system-view • Enter interface range view: Approach 1: To shut down a range of SFP+ interface range { interface-type ports, enter interface range interface-number [ to view. For more information interface-type about bulk configuring interface-number ] } &<1-5>...
Step Command Remarks • Enter interface range view: Approach 1: interface range { interface-type interface-number [ to interface-type interface-number ] } &<1-5> Approach 2: Enter interface view or interface range name name interface range view. [ interface { interface-type interface-number [ to interface-type interface-number ] } &<1-5>...
For more information, see the chapter on login in Fundamentals Configuration Guide. Configuring a member device description You can configure a description for a member device to identify its physical location or for any other management purpose. To configure a description for a member device: Step Command Remarks...
Step Command Remarks Enter system view. system-view Enter IRF port view. irf-port member-id/port-number By default, packets are automatically distributed across IRF member links based on irf-port load-sharing mode Configure the port-specific packet types. { destination-ip | destination-mac | load sharing mode. source-ip | source-mac } * If you execute this command multiple times, the most recent...
Step Command Remarks • Keep the bridge MAC address unchanged even if the master has changed: irf mac-address persistent always By default, the IRF fabric • Preserve the bridge MAC address Configure IRF bridge MAC preserves its bridge MAC for 6 minutes after the master persistence.
IRF link switchover or has Set the IRF link down irf link-delay interval deployed the BFD or GR feature, HP report delay. recommends setting the delay to 0 seconds. If CFD is enabled in the IRF fabric, the IRF link down report delay must not exceed the timeout time of the remote MEP.
Table 1 A comparison of the MAD mechanisms Advantages Disadvantages Application scenario mechanism Link aggregation is used between the IRF fabric and its upstream or • Detection speed is fast. Requires an intermediate downstream device. LACP MAD • device that supports Requires no MAD-dedicated For information about extended LACP for MAD.
Use dynamic link aggregation mode. MAD is LACP dependent. Even though LACP MAD can be • configured on both static and dynamic aggregate interfaces, it takes effect only on dynamic aggregate interfaces. • Configure link aggregation settings on the intermediate device. To configure LACP MAD: Step Command...
Page 30
configure any other feature on the VLAN, neither the configured feature nor the BFD MAD function can work correctly. Do not enable the spanning tree feature on any port in the BFD MAD VLAN. The MAD function is • mutually exclusive with the spanning tree feature. Do not bind a BFD MAD-enabled VLAN interface to any VPN.
Step Command Remarks By default, BFD MAD is Enable BFD MAD. mad bfd enable disabled. By default, no MAD IP address is configured on any VLAN interface. Repeat this step to assign a MAD Configure a MAD IP address mad ip address ip-address { mask | IP address to each member for a member device on the mask-length } member member-id...
Step Command Remarks • Assign the port to the VLAN as an access port: Choose one command port access vlan vlan-id depending on the port type. • Assign the port to the VLAN as a ARP MAD detection has no Assign the port to the ARP trunk port: requirement for the link type of...
Step Command Remarks • Assign the port to the VLAN as an access port: Choose one command port access vlan vlan-id depending on the port type. • Assign the port to the VLAN as a ND MAD detection has no Assign the port to the ND trunk port: requirement for the link type of...
Recovering an IRF fabric When the failed IRF link between two split IRF fabrics is recovered, all member devices in the Recovery-state fabric automatically join the Active-state fabric as subordinate members, and the network ports that have been shut down by MAD automatically restore their original physical state, as shown Figure Figure 12 Recovering the IRF fabric If the Active-state fabric has failed, for example, because of device or link failures, before the IRF link is...
Set up a four-chassis IRF fabric at the access layer of the enterprise network in Figure 14. Configure LACP MAD in the IRF fabric, because the IRF fabric has a multichassis aggregate link to Device E, an HP device that supports extended LACP.
Page 36
Figure 14 Network diagram Configuration procedure Configure Device A: # Shut down the physical ports used for IRF connection. This example uses the SFP+ port group that contains Ten-GigabitEthernet 1/0/45 to Ten-GigabitEthernet 1/0/48 for IRF connection. <Sysname> system-view [Sysname] interface range name irf interface ten-gigabitethernet 1/0/45 to ten-gigabitethernet 1/0/48 [Sysname-if-range-irf] shutdown [Sysname-if-range-irf] quit...
Page 37
[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 38
# Connect Device C to Device A as shown in Figure 14, and log in to Device C. This example uses the SFP+ port group that contains Ten-GigabitEthernet 3/0/45 to Ten-GigabitEthernet 3/0/48 for IRF connection. # Shut down the physical ports. <Sysname>...
Page 39
[Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/46 [Sysname-irf-port4/1] quit # Bind Ten-GigabitEthernet 4/0/47 and Ten-GigabitEthernet 4/0/48 to IRF-port 4/2. [Sysname] irf-port 4/2 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/47 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/48 [Sysname-irf-port4/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range name irf [Sysname-if-range-irf] undo shutdown [Sysname-if-range-irf] quit...
CAUTION: If the intermediate device is in an IRF fabric, assign this fabric a different domain ID than the LACP MAD-enabled fabric. # Create a dynamic aggregate interface. <Sysname> system-view [Sysname] interface bridge-aggregation 2 [Sysname-Bridge-Aggregation2] link-aggregation mode dynamic [Sysname-Bridge-Aggregation2] quit # Assign Ten-GigabitEthernet 1/0/1, Ten-GigabitEthernet 1/0/2, Ten-GigabitEthernet 1/0/3, and Ten-GigabitEthernet 1/0/4 to the aggregate interface.
Page 41
Figure 15 Network diagram Configuration procedure Configure Device A: # Shut down the physical ports used for IRF connection. This example uses the SFP+ port group that contains Ten-GigabitEthernet 1/0/45 to Ten-GigabitEthernet 1/0/48 for IRF connection. <Sysname> system-view [Sysname] interface range name irf interface ten-gigabitethernet 1/0/45 to ten-gigabitethernet 1/0/48 [Sysname-if-range-irf] shutdown [Sysname-if-range-irf] quit...
Page 42
[Sysname-if-range-irf] undo shutdown [Sysname-if-range-irf] 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> system-view [Sysname] irf member 1 renumber 2 Renumbering the member ID may result in configuration change or loss.
Page 43
<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/45 to Ten-GigabitEthernet 3/0/48 for IRF connection. # Shut down the physical ports. <Sysname>...
Page 44
[Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/45 [Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/46 [Sysname-irf-port4/1] quit # Bind Ten-GigabitEthernet 4/0/47 and Ten-GigabitEthernet 4/0/48 to IRF-port 4/2. [Sysname] irf-port 4/2 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/47 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/48 [Sysname-irf-port4/2] quit # Bring up the SFP+ ports and save the configuration.
CAUTION: If the intermediate device is in an IRF fabric, assign this fabric a different domain ID than the BFD MAD-enabled fabric. # Create VLAN 3, and assign Ten-GigabitEthernet 1/0/1, Ten-GigabitEthernet 1/0/2, Ten-GigabitEthernet 1/0/3, and Ten-GigabitEthernet 1/0/4 to VLAN 3 for forwarding BFD MAD packets.
Page 46
[Sysname] interface range name irf interface ten-gigabitethernet 1/0/45 to ten-gigabitethernet 1/0/48 [Sysname-if-range-irf] shutdown [Sysname-if-range-irf] quit # Bind Ten-GigabitEthernet 1/0/45 and Ten-GigabitEthernet 1/0/46 to IRF-port 1/1. [Sysname] irf-port 1/1 [Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/0/45 [Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/0/46 [Sysname-irf-port1/1] quit # Bind Ten-GigabitEthernet 1/0/47 and Ten-GigabitEthernet 1/0/48 to IRF-port 1/2.
Page 47
# Bring up the SFP+ ports and save the configuration. [Sysname] interface range name irf [Sysname-if-range-irf] undo shutdown [Sysname-if-range-irf] 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 48
[Sysname] irf member 1 renumber 4 Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y [Sysname] quit <Sysname> reboot # Connect Device D to Device B and Device C as shown in Figure 16, and log in to Device D. This example uses the SFP+ port group that contains Ten-GigabitEthernet 4/0/45 to Ten-GigabitEthernet 4/0/48 for IRF connection.
[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: CAUTION: If the intermediate device is in an IRF fabric, you must assign this fabric a different domain ID than the ARP MAD-enabled fabric.
Page 50
Figure 17 Network diagram Configuration procedure Configure Device A: # Shut down the physical ports used for IRF connection. This example uses the SFP+ port group that contains Ten-GigabitEthernet 1/0/45 to Ten-GigabitEthernet 1/0/48 for IRF connection. <Sysname> system-view [Sysname] interface range name irf interface ten-gigabitethernet 1/0/45 to ten-gigabitethernet 1/0/48 [Sysname-if-range-irf] shutdown [Sysname-if-range-irf] quit...
Page 51
[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 52
# 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/45 to Ten-GigabitEthernet 3/0/48 for IRF connection. # Shut down the physical ports. <Sysname>...
Page 53
[Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/46 [Sysname-irf-port4/1] quit # Bind Ten-GigabitEthernet 4/0/47 and Ten-GigabitEthernet 4/0/48 to IRF-port 4/2. [Sysname] irf-port 4/2 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/47 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/48 [Sysname-irf-port4/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range name irf [Sysname-if-range-irf] undo shutdown [Sysname-if-range-irf] quit...
Page 54
# Create VLAN 3, and add ports Ten-GigabitEthernet 1/0/1, Ten-GigabitEthernet 1/0/2, Ten-GigabitEthernet 1/0/3, and Ten-GigabitEthernet 1/0/4 to VLAN 3 for forwarding ND MAD packets. [DeviceE] vlan 3 [DeviceE-vlan3] port ten-gigabitethernet 1/0/1 to ten-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 57
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.