H3C S9500E Series Configuration Manual
H3C S9500E Series Configuration Manual

H3C S9500E Series Configuration Manual

Routing switches irf configuration guide
Hide thumbs Also See for S9500E Series:
Table of Contents

Advertisement

H3C S9500E Series Routing Switches
IRF Configuration Guide
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: S9500E-CMW520-R1725
Document version: 6W170-20111118

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S9500E Series and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S9500E Series

  • Page 1 H3C S9500E Series Routing Switches IRF Configuration Guide Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: S9500E-CMW520-R1725 Document version: 6W170-20111118...
  • Page 2 SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V G, PSPT, XGbus, N-Bus, TiGem, InnoVision 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 The IRF Configuration Guide describes the Intelligent Resilient Framework (IRF) technology developed by H3C. It covers the basic concepts and working process of an IRF, and describes how to configure and access an IRF virtual device.
  • Page 4 Layer 2 forwarding and other Layer 2 features. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your switch. About the H3C S9500E documentation set The H3C S9500E documentation set includes: Category...
  • Page 5: Obtaining Documentation

    Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents] –...
  • Page 6: Technical Support

    Technical support customer_service@h3c.com http://www.h3c.com Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
  • Page 7: Table Of Contents

    Contents Configuring IRF ····························································································································································· 1   IRF overview ······································································································································································· 1   Benefits ······································································································································································ 1   Application scenario ················································································································································ 1   Basic concepts ··································································································································································· 2   Establishment, operation, and maintenance of an IRF fabric ······················································································· 4   Connecting the IRF member switches ····················································································································· 5  ...
  • Page 8 Switching the operating mode of IRF member switches from IRF to standalone ············································ 43   Enhanced IRF mode configuration example (four switches forming an IRF fabric) ········································ 45   Index ············································································································································································· 1  ...
  • Page 9: Configuring Irf

    Configuring IRF IRF overview You can use the H3C Intelligent Resilient Framework (IRF) technology to connect and virtualize multiple switches into a virtual switch called an “IRF fabric” to provide data center class availability and scalability. IRF virtualization technology offers processing power, interaction, unified management, and uninterrupted maintenance of multiple switches.
  • Page 10: Basic Concepts

    Figure 1 IRF application scenario Basic concepts Figure 2 IRF implementation schematic diagram Device A Device B (MemberID=1) (MemberID=2) Active MPU of the Active MPU of the member member Standby MPU of the Standby MPU of the IRF-Port2 IRF-Port1 member member IRF link XGE1/3/0/1...
  • Page 11 Device A and Device B in Figure 2 form an IRF fabric which has four MPUs (one active and three standby) and two interface cards. The IRF fabric manages both the physical and software resources of Device A and Device B. This section uses Figure 2 to explain the concepts that you might encounter when working with IRF.
  • Page 12: Establishment, Operation, And Maintenance Of An Irf Fabric

    Physical IRF port Physical IRF ports are physical ports bound to an IRF port. They connect IRF member switches and forward IRF protocol packets and data packets between IRF member switches. Physical IRF ports can be electrical ports or optical ports. IRF partition IRF partition occurs when an IRF fabric splits into two or more IRF fabrics because of IRF link failures, as shown in...
  • Page 13: Connecting The Irf Member Switches

    Connecting the IRF member switches Connection medium To establish an IRF fabric, physically connect the physical IRF ports of member switches. The connection medium depends on the physical IRF ports supported by the switch. If you use electrical interfaces as physical IRF ports, use network cables (cross-over or •...
  • Page 14: Topology Collection

    Figure 6 IRF connections Figure 7 IRF connections Topology collection Each member exchanges IRF hello packets with neighbors to collect the topology data, including IRF port connection states, member IDs, priorities, and bridge MAC addresses. Each member is managed by its active MPU, which records its known topology information locally. At the startup of a member switch, the active MPU of the member switch records topology information of the member switch.
  • Page 15: Master Election

    After all member switches have obtained topology information (known as topology convergence), the IRF fabric enters the role election stage. Master election Master election is held each time the topology changes, for example, when the IRF fabric is established, a new member switch is plugged in, the master switch fails or is removed, or the partitioned IRF fabrics merge.
  • Page 16: Irf Fabric Configuration Task List

    IRF fabric topology maintenance As soon as a member switch is down or an IRF link is down, its neighbor switches broadcast the leaving of the switch to other members. When a member switch receives the leave message, it looks up its IRF topology database to determine whether the leaving switch is the master.
  • Page 17: Configuration Prerequisites

    Configuration prerequisites Configure a higher priority for a member switch that features good performance and rich functions • so that the switch can be elected as the master when two switches form an IRF fabric for the first time. • If you use a physical port of a switch as a physical IRF port when the switch operates in standalone mode, the services configured on the port will become ineffective after the switch switches to IRF mode.
  • Page 18: Non Pre-Configuration

    Task Remarks Required Optical Ethernet interfaces and electrical Ethernet interfaces (except combo ports) can be used as Physically connecting two switches operating in physical IRF ports. standalone mode Be sure to connect the switches according to the requirements described in the section “Connecting requirements”...
  • Page 19: Pre-Configuring An Irf Member Switch In Standalone Mode

    Modify the binding between an IRF port and physical IRF ports (such as deleting a binding or • adding a new binding), and the configuration of IRF ports may affect the operation of the switch (for example, causing IRF partition, or IRF merge). Complete these tasks to configure an IRF fabric in non pre-configuration mode: Task Remarks...
  • Page 20: Binding A Physical Port To An Irf Port

    Binding a physical port to an IRF port To establish IRF connection, you must assign the physical ports that connect IRF member switches to IRF ports. An IRF port can be bound to a maximum of 12 physical ports and is known as an aggregate IRF port, which can be realized by repeatedly executing the port group interface command.
  • Page 21: Setting A Member Id For The Switch

    Setting a member ID for the switch A switch by default operates in standalone mode without an IRF member ID. You must assign it an • IRF member ID before you can set it in IRF mode. You can execute the display irf configuration command and check the MemberID field.
  • Page 22: Configuration Procedure

    You must use the save command to save the configuration after you perform this task. • To disable enhanced IRF mode with the undo irf mode enhanced command after you enable • enhanced IRF mode in IRF mode, the member switches must be no more than two and each member switch must have only one IRF port;...
  • Page 23: Configuration File Auto-Conversion

    When you switch the operating mode, the switch reboots automatically to make the change effective. H3C recommends that you save the running configuration before switching the operating mode. To switch the operating mode of the switch to standalone mode, use the undo chassis convert mode irf •...
  • Page 24: Configuring Irf Member Switches In Irf Mode

    <Sysname-Slave#member-ID/slot-number>, for example, <Sysname-Slave#1/0>. You can perform the following commands at the CLI of the standby MPU of an IRF fabric: display • • quit return • system-view • debugging • terminal debugging • • terminal logging terminal monitor • terminal trapping •...
  • Page 25: Configuring Irf Ports

    Figure 8 A network that comprises two IRF domains Core network IRF 1 (domain 10) Device A Device B XGE1/3/0/1 IRF link XGE2/3/0/1 IRF 2 (domain 20) Switch B Switch A IRF link Access network Assigning a domain ID to an IRF fabric To assign a domain ID to an IRF fabric: To do…...
  • Page 26 To do… Use the command… Remarks interface interface-type Enter physical IRF port view — interface-number Shut down the port shutdown Required Return to system view quit — Required Create an IRF port and enter IRF irf-port member-id/port-number By default, no IRF port is created port view on the switch.
  • Page 27: Setting A Member Id For A Switch

    Setting a member ID for a switch An IRF fabric uses member IDs to uniquely identify its members. A lot of information and configurations relate to member IDs, such as port (physical or logical) numbers, configurations on ports, and member priorities.
  • Page 28: Specifying The Preservation Time Of The Bridge Mac Address

    To do… Use the command… Remarks Enter system view system-view — Optional Configure the description for a irf member member-id description text member switch Not configured by default. Specifying the preservation time of the bridge MAC address A switch uses the bridge MAC address when it communicates with the external networks as a bridge. Some Layer 2 protocols (like LACP) use bridge MAC addresses to identify different switches.
  • Page 29: Enabling Auto Reboot For Irf Fabric Merge

    To do… Use the command… Remarks preserved permanently when the Specify the preservation time of master leaves. the bridge MAC address of the irf mac-address persistent timer IRF fabric as 6 minutes when the master leaves Configure that the bridge MAC address of the IRF fabric changes undo irf mac-address persistent as soon as the master leaves...
  • Page 30: Setting The Irf Link Down Report Delay

    joins the IRF fabric again. If the downloaded boot file and the local boot file have duplicate file names, the local file is overwritten. To enable auto upgrade of boot files for an IRF fabric: To do… Use the command… Remarks Enter system view system-view...
  • Page 31: Enabling Irf Link Failure Detection And Auto-Recovery

    Enabling IRF link failure detection and auto-recovery IRF link failure detection and auto-recovery automatically check the health of IRF links and automatically make link recovery attempts when a failed IRF link is detected. The two functions are helpful for IRF fabrics that have more than one IRF link.
  • Page 32 Figure The intermediate switch must be an H3C switch capable of handling extended LACPDUs that carry the Active ID field. For more information about LACP and the support of the switch for extended LACPDUs, see Layer 2—LAN Switching Configuration Guide.
  • Page 33 Figure 9 Network diagram Configuring LACP MAD detection Configure LACP MAD detection by following these steps: • Create an aggregate interface (also required on the intermediate device); Configure the aggregation group to work in dynamic aggregation mode; (also required on the •...
  • Page 34 To do… Use the command… Remarks Required Disabled by default. This command configured on both static and Enable LACP MAD detection mad enable dynamic aggregate interfaces, but it takes effect only on dynamic aggregate interfaces. This is because this detection approach depends on LACP.
  • Page 35 Figure 10 Network diagram (without intermediate switches)
  • Page 36 Figure 11 Network diagram (with an intermediate switch) Configuring BFD MAD detection Configure BFD MAD detection in the following order: Create a VLAN dedicated to BFD MAD detection. This is also required on an intermediate switch, • if it exists. Select the physical IRF ports for BFD MAD detection (at least one on each member switch) and add •...
  • Page 37 To do… Use the command… Remarks to the VLAN You can select one approach Trunk port port trunk permit vlan vlan-id dedicated according to the port type. BFD MAD detection has no detection requirement on the link type of the detection port, and you do Hybrid port port hybrid vlan vlan-id not need to modify the current...
  • Page 38 If the domain IDs are the same, the switch compares the active IDs: • If the active IDs are different, the IRF fabric has split. If the active IDs are the same, the IRF fabric is operating normally. Network requirements Set up ARP MAD links between neighbor IRF member switches, or more commonly, between each IRF member switch and an intermediate switch (see Figure...
  • Page 39 To do… Use the command… Remarks Required Create a new VLAN dedicated to vlan vlan-id The default VLAN on the switch ARP MAD detection is VLAN 1. Return to system view quit — interface interface-type Enter Ethernet interface view — interface-number Access port port access vlan vlan-id...
  • Page 40 Manually recovering an IRF fabric An IRF link failure causes an IRF fabric to divide into two IRF fabrics and thus multi-active collision occurs. When the system detects the collision, it holds a role election between the two collided IRF fabrics. The IRF fabric whose master’s member ID is smaller prevails and operates normally.
  • Page 41: Performing Irf Configuration Fast Recovery

    IRF configuration. Configuration prerequisites • H3C recommends that you perform the fast recovery operation when the switch operates in IRF mode. Save the IRF configuration file on all MPUs of the IRF fabric. Assume the name of the configuration •...
  • Page 42: Displaying And Maintaining An Irf Fabric

    Insert another MPU into member switch 2 and use it as the standby MPU of member switch 2. Copy the configuration file a.cfg on the active MPU of member switch 2 to the standby MPU, and set the file as the startup configuration file to be used at the next startup. Modify the member ID of the standby MPU on member switch 2 to make it consistent with that of member switch 1.
  • Page 43: Lacp Mad Detection-Enabled Configuration Example (Non Pre-Configuration Mode)

    NOTE: By default, Ethernet, VLAN, and aggregate interfaces are down. To configure these types of interfaces, execute the undo shutdown command to bring them up. LACP MAD detection-enabled configuration example (non pre-configuration mode) Network requirements The network as shown in Figure 15 is outgrowing the forwarding capability of the existing core switch, (Device A).
  • Page 44 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 want convert content next startup configuration file flash:/startup.cfg to make it available in IRF mode? [Y/N]:y Please wait...
  • Page 45 (To leave the existing filename unchanged, press the enter key): flash:/cfa0666.cfg exists, overwrite? [Y/N]:y Validating file. Please wait........The current configuration is saved to the active main board successfully. Configuration is saved to device successfully. Connect the two devices as shown in Figure 15 with IRF cables, and then reboot Device B.
  • Page 46: Bfd Mad Detection-Enabled Irf Configuration Example (Pre-Configuration Mode)

    NOTE: On the switch that supports pre-configurations, you can also configure the LACP MAD; on the switch not supporting pre-configurations, you can also configure the BFD MAD. BFD MAD detection-enabled IRF configuration example (pre-configuration mode) Network requirements The network as shown in Figure 16 is outgrowing the forwarding capability of the existing core switch (Device A).
  • Page 47 <Sysname> system-view [Sysname] irf member 1 Info: Member ID change will take effect after the switch reboots and operates in IRF mode. [Sysname] irf priority 12 [Sysname] irf-port 2 [Sysname-irf-port 2] port group interface ten-gigabitethernet 3/0/1 [Sysname-irf-port 2] quit # Save the running configuration to the configuration file for next startup. [Sysname] save The current configuration will be written to the device.
  • Page 48: Arp Mad Detection-Enabled Irf Configuration Example (Pre-Configuration Mode)

    The current configuration is saved to the active main board successfully. Configuration is saved to device successfully. # Connect the two devices as shown in Figure # Switch the operating mode of Device B to IRF. <Sysname> system-view [Sysname] chassis convert mode irf The device will switch to IRF mode and reboot.
  • Page 49: Configuration Considerations

    To address business growth, scale up the network to extend its forwarding capability while protecting the present investments of the customer. Ease of management and maintenance must also be ensured. Figure 17 Network diagram Configuration considerations Device A is located at the distribution layer of the network. To improve the forwarding capability at •...
  • Page 50 <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 want convert content next startup configuration file...
  • Page 51 # Set the domain ID of the IRF fabric to 1. [Sysname] irf domain 1 # Enable the spanning tree function globally on the IRF fabric to prevent loops. <Sysname> system-view [Sysname] stp enable # Configure that the bridge MAC address of the IRF fabric changes as soon as the master leaves. [Sysname] undo irf mac-address persistent Configure ARP MAD # Create VLAN 3, and add port GigabitEthernet 1/4/0/2 (located on Device A) and port...
  • Page 52 Figure 18 Network diagram Configuration considerations Disconnect IRF connections. Unplug cables for the IRF connections or shut down all physical IRF • ports on the master at the CLI. This example uses the latter method. After the IRF is partitioned, switch the operating mode of the two switches from IRF to standalone •...
  • Page 53 Switch the operating mode of Device A from IRF to standalone. [IRF] undo chassis convert mode The device will switch to stand-alone 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:/vrpcfg.cfg to make it available in stand-alone mode? [Y/N]:y...
  • Page 54 Figure 19 Network diagram before IRF configuration IP network Device E Device A Figure 20 Network diagram for IRF configuration Device E IP network XGE1/3/0/2 XGE4/3/0/2 XGE1/3/0/1 XGE2/3/0/1 XGE3/3/0/2 (IRF-port1/1) (IRF-port4/2) XGE3/3/0/1 (IRF-port1/2) (IRF-port2/1) (IRF-port3/1) (IRF-port3/2) XGE4/3/0/1 Device C Device B Device A (IRF-port4/1) XGE2/3/0/2...
  • Page 55 Enable enhanced IRF mode on the four member switches, and connect them as shown in Figure • • Change the operating mode to IRF on the four member switches. Configuration procedure Configure Device A. # Set the member ID to 1, and priority to 12. <Sysname>...
  • Page 56 <Sysname> system-view [Sysname] irf member 2 Info: Member ID change will take effect after the switch reboots and operates in IRF mode. [Sysname] irf priority 26 # Create IRF port 1, and bind it to physical port Ten-GigabitEthernet 3/0/1. [Sysname] irf-port 1 [Sysname-irf-port 1] port group interface ten-gigabitethernet 3/0/1 [Sysname-irf-port 1] quit # Create IRF port 2, and bind it to physical port Ten-GigabitEthernet 3/0/2.
  • Page 57 [Sysname] irf-port 1 [Sysname-irf-port 1] port group interface ten-gigabitethernet 3/0/2 [Sysname-irf-port 1] quit # Create IRF port 2, and bind it to physical port Ten-GigabitEthernet 3/0/1. [Sysname] irf-port 2 [Sysname-irf-port 2] port group interface ten-gigabitethernet 3/0/1 [Sysname-irf-port 2] quit # Enable enhanced IRF mode. [Sysname] irf mode enhanced # Save the configuration to the configuration file to be used at the next startup.
  • Page 58 [Sysname-irf-port 2] port group interface ten-gigabitethernet 3/0/2 [Sysname-irf-port 2] quit # Enable enhanced IRF mode. [Sysname] irf mode enhanced # Save the configuration to the configuration file to be used at the next startup. [Sysname] save The current configuration will be written to the device. Are you sure? [Y/N]:y Please input the file name(*.cfg)[flash:/cfa0514.cfg] (To leave the existing filename unchanged, press the enter key): flash:/cfa0514.cfg exists, overwrite? [Y/N]:y...
  • Page 59 Index A B C D E I P S Accessing an IRF fabric,15 IRF fabric configuration examples,34 IRF fabric configuration task list,8 overview,1 Basic concepts,2 Performing IRF configuration fast recovery,33 Configuring IRF member switches in IRF mode,16 Pre-configuring an IRF member switch in standalone mode,1 1 Displaying and maintaining an IRF fabric,34...

Table of Contents