H3C S5130-30S-HI Configuration Manual
H3C S5130-30S-HI Configuration Manual

H3C S5130-30S-HI Configuration Manual

Hide thumbs Also See for S5130-30S-HI:
Table of Contents

Advertisement

Quick Links

H3C S5130-HI Switch Series
IRF Configuration Guide
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 1111
Document version: 6W100-20150615

Advertisement

Table of Contents
loading

Summary of Contents for H3C S5130-30S-HI

  • Page 1 H3C S5130-HI Switch Series IRF Configuration Guide Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 1111 Document version: 6W100-20150615...
  • Page 2 Copyright © 2015, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.
  • Page 3 Preface The H3C S5130-HI documentation set includes 1 1 configuration guides, which describe the software features for the H3C S5130-HI Switch Series and guide you through the software configuration procedures. These configuration guides also provide configuration examples to help you apply software features to different network scenarios.
  • Page 4 Convention Description bars, from which you select at least one. Asterisk marked square brackets enclose optional syntax choices separated by vertical [ x | y | ... ] * bars, from which you select one choice, multiple choices, or none. The argument or keyword and argument combination before the ampersand (&) sign can &<1-n>...
  • Page 5 Pluggable transceiver modules Guides you through installing SFP/SFP+/QSFP+ installation guide transceiver modules. Describes the hot-swappable modules available for Pluggable modules manual the H3C switches, their external views, and specifications. Describe software features and configuration Configuration guides procedures. Software configuration...
  • Page 6 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 following links to obtain different categories of product documentation: [Technical Documents]—Provides hardware installation, software upgrading, and software feature configuration and maintenance documentation.
  • Page 7: Table Of Contents

    Contents Setting up an IRF fabric ··············································································································································· 1   Overview ············································································································································································ 1   Network topology ···················································································································································· 2   Basic concepts ·························································································································································· 2   Interface naming conventions ································································································································· 4   File system naming conventions ······························································································································ 4   Configuration synchronization mechanism ··········································································································· 6  ...
  • Page 8 Index ··········································································································································································· 53  ...
  • Page 9: Setting Up An Irf Fabric

    Setting up an IRF fabric Overview H3C Intelligent Resilient Framework (IRF) technology virtualizes multiple physical devices at the same layer into one virtual fabric to provide data center class availability and scalability. IRF virtualization technology offers processing power, interaction, unified management, and uninterrupted maintenance of multiple devices.
  • Page 10: Network Topology

    Network scalability and resiliency—Processing capacity of an IRF fabric equals the total • processing capacities of all the members. You can increase ports, network bandwidth, and processing capacity of an IRF fabric simply by adding member devices without changing the network topology.
  • Page 11 IRF domain ID One IRF fabric forms one IRF domain. IRF uses IRF domain IDs to uniquely identify IRF fabrics and prevent IRF fabrics from interfering with one another. As shown in Figure 2, IRF fabric 1 contains Device A and Device B, and IRF fabric 2 contains Device C and Device D.
  • Page 12: Interface Naming Conventions

    Figure 4 IRF merge 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. Interface naming conventions An interface is named in the chassis-number/slot-number/port-index format. chassis-number—IRF member ID of the switch.
  • Page 13 <Master> dir Directory of flash: 0 -rw- 43548660 Jan 01 2011 08:21:29 system.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...
  • Page 14: Configuration Synchronization Mechanism

    Configuration synchronization mechanism IRF uses a strict running-configuration synchronization mechanism. In an IRF fabric, all devices obtain and run the running configuration of the master. Configuration changes are automatically propagated from the master to the remaining devices. The configuration files of these devices are retained, but the files do not take effect.
  • Page 15: Mad Mechanisms

    Collision handling 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 and cannot forward traffic. LACP MAD uses the following process to handle a multi-active collision: Compares the number of members in each fabric.
  • Page 16 Table 1 Comparison of MAD mechanisms Advantages Disadvantages Application scenario mechanism Link aggregation is used between the IRF fabric • Detection speed is fast. and its upstream or Requires an intermediate downstream device. • Does not require LACP MAD device that supports MAD-dedicated physical For information about extended LACP for MAD.
  • Page 17 The intermediate device must be a device that supports extended LACP for MAD. • The IRF member devices send extended LACPDUs that convey a domain ID and an active ID. The intermediate device transparently forwards the extended LACPDUs received from one member device to all the other member devices.
  • Page 18 NOTE: The MAD addresses identify the member devices and must belong to the same subnet. • Of all management Ethernet ports on an IRF fabric, only the master's management Ethernet port is • accessible. Figure 6 shows a typical BFD MAD scenario that uses an intermediate device. Figure 7 shows a typical BFD MAD scenario that does not use an intermediate device.
  • Page 19 If an intermediate device is used, connect each IRF member device to the intermediate device. Run the spanning tree feature between the IRF fabric and the intermediate device. In this situation, data links can be used. If an intermediate device is not used, connect each IRF member device to all other member devices.
  • Page 20: Hardware Compatibility

    Figure 9 ND MAD scenario Hardware compatibility An H3C S5130-HI switch can form an IRF fabric only with devices in the same series. General restrictions and configuration guidelines For a successful IRF setup, follow the restrictions and guidelines in this section and the setup procedure "Setup and configuration task...
  • Page 21: Software Requirements

    H3C Low End Series Ethernet Switches Pluggable Modules Manual. NOTE: The transceiver modules and DAC cables available for the switch are subject to change over time. For the most up-to-date list of transceiver modules and DAC cables, contact your H3C sales representative. IRF physical interface requirements IMPORTANT: 10-GE and SFP+ ports must operate at 10 Gbps if you use the ports for IRF links.
  • Page 22: Connecting Irf Ports

    See Fundamentals Configuration Guide. Configuration backup H3C recommends that you back up the next-startup configuration file on a device before adding the device to an IRF fabric as a subordinate. A subordinate device's next-startup configuration file might be overwritten if the master and the subordinate use the same file name for their next-startup configuration files.
  • Page 23 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 H3C recommends enabling (Optional.) Enabling software auto-update for software image software auto-update to ensure synchronization system software image synchronization.
  • Page 24: Planning The Irf Fabric Setup

    Planning the IRF fabric setup Consider the following items when you plan an IRF fabric: • Hardware compatibility and restrictions. IRF fabric size. • Master device. • IRF physical interfaces. • Member ID and priority assignment scheme. • • Fabric topology and cabling scheme. For more information about hardware and cabling, see the switch installation guide.
  • Page 25: Specifying A Priority For Each Member Device

    Specifying a priority for each member device IRF member priority represents the possibility for a device to be elected the master in an IRF fabric. The higher the priority, the higher the possibility. A change to member priority affects the election result at the next master election. However, it does not cause an immediate master re-election.
  • Page 26: Binding Physical Interfaces To Irf Ports

    Figure 12 Daisy-chain topology vs. ring topology fabric Master Master IRF-port 2 IRF-port 1 IRF-port 1 IRF-port 2 Subordinate IRF fabric IRF-port 2 IRF-port 1 IRF-port 2 IRF-port 1 IRF-port 1 IRF-port 2 Subordinate Subordinate Subordinate Ring topology Daisy-chain topology Binding physical interfaces to IRF ports When you bind physical interfaces to IRF ports, follow these guidelines: Follow the restrictions in...
  • Page 27: Accessing The Irf Fabric

    Step Command Remarks By default, no physical interfaces are bound to any IRF port. Repeat this step to assign multiple Bind each physical interface port group interface interface-type physical interfaces to the IRF port to the IRF port. interface-number for link redundancy. You can bind a maximum of four physical interfaces to an IRF port.
  • Page 28: Configuring A Member Device Description

    For more information, see login configuration in Fundamentals Configuration Guide. Configuring a member device description Step Command Remarks Enter system view. system-view 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 An IRF port distributes traffic across its physical links.
  • Page 29: Configuring A Port-Specific Load Sharing Mode

    Step Command Remarks By default, packets are distributed automatically across IRF member links based on irf-port global load-sharing mode Configure the global IRF link packet types. { destination-ip | destination-mac | load sharing mode. source-ip | source-mac } * If you execute this command multiple times, the most recent configuration takes effect.
  • Page 30: Enabling Software Auto-Update For Software Image Synchronization

    NOTE: IRF fabrics that have the same bridge MAC address cannot merge. If you use the removed bridge MAC owner as the master device in a new fabric, the bridge MAC of the new fabric is the same as the old fabric.
  • Page 31: Configuration Prerequisites

    When you add a device to the IRF fabric, software auto-update compares the startup software images of the device with the current software images of the IRF master. If the two sets of images are different, the device automatically performs the following operations: Downloads the current software images of the master.
  • Page 32: Configuring Mad

    The IRF fabric requires a fast master/subordinate or IRF link switchover. The BFD or GR feature is used. You want to shut down an IRF physical interface or reboot an IRF member device. (After you complete the operation, reconfigure the delay depending on the network condition.) To set the IRF link down report delay: Step Command...
  • Page 33: Configuring Bfd Mad

    "BFD MAD." H3C recommends that you connect the BFD MAD links after you finish the BFD MAD configuration. Configuring BFD MAD that uses common Ethernet ports Configure BFD MAD on a VLAN interface if you use common Ethernet ports for BFD MAD.
  • Page 34 Category Restrictions and guidelines • Do not enable BFD MAD on VLAN-interface 1. • If you are using an intermediate device, perform the following tasks both on the IRF fabric and the intermediate device: Create a VLAN and VLAN interface for BFD MAD. Assign the ports of BFD MAD links to the BFD MAD VLAN.
  • Page 35 Step Command Remarks • Assign the port to the VLAN as an access port: port access vlan vlan-id The link type of BFD MAD ports • Assign the port to the VLAN as a Assign the port or the range can be access, trunk, or hybrid.
  • Page 36: Configuring Arp Mad

    Before you configure ARP MAD, choose an ARP MAD link scheme as described in "ARP MAD." If you are not using existing data links as ARP MAD links, H3C recommends that you connect the ARP MAD links after you finish the ARP MAD configuration. Configuring ARP MAD that uses common Ethernet ports Configure ARP MAD on a VLAN interface if you use common Ethernet ports for ARP MAD.
  • Page 37 Step Command Remarks Configure the IRF bridge By default, the IRF bridge MAC MAC address to change as address remains unchanged for undo irf mac-address persistent soon as the address owner 6 minutes after the address leaves. owner leaves. Create a VLAN dedicated to The default VLAN on the device vlan vlan-id ARP MAD.
  • Page 38: Configuring Nd Mad

    Step Command Remarks Enter system view. system-view Assign a domain ID to the By default, the domain ID of an irf domain domain-id IRF fabric. IRF fabric is 0. Configure the IRF bridge By default, the IRF bridge MAC MAC address to change as address remains unchanged for undo irf mac-address persistent soon as the address owner...
  • Page 39: Excluding A Port From The Shutdown Action Upon Detection Of Multi-Active Collision

    Step Command Remarks Return to system view. quit interface interface-type Enter Ethernet interface view. interface-number • Assign the port to the VLAN as an access port: port access vlan vlan-id The link type of ND MAD ports • Assign the port to the VLAN as a can be access, trunk, or hybrid.
  • Page 40: Recovering An Irf Fabric

    Step Command Remarks Configure a network port to By default, all network ports on a not shut down when the IRF mad exclude interface interface-type Recovery-state IRF fabric are shut fabric transits to the interface-number down, except for the IRF physical Recovery state.
  • Page 41: Removing An Expansion Interface Card That Has Irf Physical Interfaces

    Figure 14 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. Removing an expansion interface card that has IRF physical interfaces To remove an expansion interface card that provides IRF physical interfaces:...
  • Page 42: Displaying And Maintaining An Irf Fabric

    LACP MAD-enabled IRF configuration example Network requirements As shown in Figure 15, 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 H3C device that supports extended LACP.
  • Page 43 Figure 15 Network diagram Configuration procedure Configure Device A: # Shut down the physical interfaces used for IRF links. This example uses the SFP+ port group that contains Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthernet 1/0/52 for IRF links. <Sysname> system-view [Sysname] interface range ten-gigabitethernet 1/0/49 to ten-gigabitethernet 1/0/52 [Sysname-if-range] shutdown [Sysname-if-range] quit # Bind Ten-GigabitEthernet 1/0/49 and Ten-GigabitEthernet 1/0/50 to IRF-port 1/1.
  • Page 44 # 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. Continue? [Y/N]:y [Sysname] quit <Sysname>...
  • Page 45 # Shut down the physical interfaces. <Sysname> system-view [Sysname] interface range ten-gigabitethernet 3/0/49 to ten-gigabitethernet 3/0/52 [Sysname-if-range] shutdown [Sysname-if-range] quit # Bind Ten-GigabitEthernet 3/0/51 and Ten-GigabitEthernet 3/0/52 to IRF-port 3/1. [Sysname] irf-port 3/1 [Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/51 [Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/52 [Sysname-irf-port3/1] quit # Bind Ten-GigabitEthernet 3/0/49 and Ten-GigabitEthernet 3/0/50 to IRF-port 3/2.
  • Page 46 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/52 [Sysname-irf-port4/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 4/0/49 to ten-gigabitethernet 4/0/52 [Sysname-if-range] undo shutdown [Sysname-if-range] quit [Sysname] save # Activate the IRF port configuration. [Sysname] irf-port-configuration active Device D reboots to join the IRF fabric.
  • Page 47: Bfd Mad-Enabled Irf Configuration Example

    BFD MAD-enabled IRF configuration example Network requirements As shown in Figure 16, set up a four-chassis IRF fabric at the core layer of the enterprise network. Configure BFD MAD in the IRF fabric and set up BFD MAD links between each member device and •...
  • Page 48 [Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/0/50 [Sysname-irf-port1/1] quit # Bind Ten-GigabitEthernet 1/0/51 and Ten-GigabitEthernet 1/0/52 to IRF-port 1/2. [Sysname] irf-port 1/2 [Sysname-irf-port1/2] port group interface ten-gigabitethernet 1/0/51 [Sysname-irf-port1/2] port group interface ten-gigabitethernet 1/0/52 [Sysname-irf-port1/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 1/0/49 to ten-gigabitethernet 1/0/52 [Sysname-if-range] undo shutdown [Sysname-if-range] quit...
  • Page 49 The two devices perform master election, and the one that has lost the election reboots to form an IRF fabric with the master. Configure Device C: # Change the member ID of Device C to 3 and reboot the device to validate the change. <Sysname>...
  • Page 50 <Sysname> system-view [Sysname] interface range ten-gigabitethernet 4/0/49 to ten-gigabitethernet 4/0/52 [Sysname-if-range] shutdown [Sysname-if-range] quit # Bind Ten-GigabitEthernet 4/0/49 and Ten-GigabitEthernet 4/0/50 to IRF-port 4/1. [Sysname] irf-port 4/1 [Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/49 [Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/50 [Sysname-irf-port4/1] quit # Bind Ten-GigabitEthernet 4/0/51 and Ten-GigabitEthernet 4/0/52 to IRF-port 4/2.
  • Page 51: Arp Mad-Enabled Irf Configuration Example

    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 52 <Sysname> system-view [Sysname] interface range ten-gigabitethernet 1/0/49 to ten-gigabitethernet 1/0/52 [Sysname-if-range] shutdown [Sysname-if-range] quit # Bind Ten-GigabitEthernet 1/0/49 and Ten-GigabitEthernet 1/0/50 to IRF-port 1/1. [Sysname] irf-port 1/1 [Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/0/49 [Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/0/50 [Sysname-irf-port1/1] quit # Bind Ten-GigabitEthernet 1/0/51 and Ten-GigabitEthernet 1/0/52 to IRF-port 1/2.
  • Page 53 # Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 2/0/49 to ten-gigabitethernet 2/0/52 [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 54 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 17, and log in to Device D. This example uses the SFP+ port group that contains Ten-GigabitEthernet 4/0/49 to Ten-GigabitEthernet 4/0/52 for IRF links.
  • Page 55: Nd Mad-Enabled Irf Configuration Example

    [Sysname-vlan3] port gigabitethernet 1/0/2 gigabitethernet 2/0/1 gigabitethernet 3/0/2 gigabitethernet 4/0/1 [Sysname-vlan3] quit # 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...
  • Page 56 Figure 18 Network diagram Configuration procedure Configure Device A: # Shut down the physical interfaces used for IRF links. This example uses the SFP+ port group that contains Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthernet 1/0/52 for IRF links. <Sysname> system-view [Sysname] interface range ten-gigabitethernet 1/0/49 to ten-gigabitethernet 1/0/52 [Sysname-if-range] shutdown [Sysname-if-range] quit # Bind Ten-GigabitEthernet 1/0/49 and Ten-GigabitEthernet 1/0/50 to IRF-port 1/1.
  • Page 57 # 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. Continue? [Y/N]:y [Sysname] quit <Sysname>...
  • Page 58 # Shut down the physical interfaces. <Sysname> system-view [Sysname] interface range ten-gigabitethernet 3/0/49 to ten-gigabitethernet 3/0/52 [Sysname-if-range] shutdown [Sysname-if-range] quit # Bind Ten-GigabitEthernet 3/0/51 and Ten-GigabitEthernet 3/0/52 to IRF-port 3/1. [Sysname] irf-port 3/1 [Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/51 [Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/52 [Sysname-irf-port3/1] quit # Bind Ten-GigabitEthernet 3/0/49 and Ten-GigabitEthernet 3/0/50 to IRF-port 3/2.
  • Page 59 [Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/52 [Sysname-irf-port4/2] quit # Bring up the SFP+ ports and save the configuration. [Sysname] interface range ten-gigabitethernet 4/0/49 to ten-gigabitethernet 4/0/52 [Sysname-if-range] undo shutdown [Sysname-if-range] quit [Sysname] save # Activate the IRF port configuration. [Sysname] irf-port-configuration active Device D reboots to join the IRF fabric.
  • Page 60 [DeviceC-mst-region] instance 1 vlan 3 [DeviceC-mst-region] active region-configuration [DeviceC-mst-region] quit # Create VLAN 3, and add ports GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, GigabitEthernet 1/0/3, and GigabitEthernet 1/0/4 to VLAN 3 for forwarding ND MAD packets. [DeviceE] vlan 3 [DeviceE-vlan3] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 [DeviceE-vlan3] quit...
  • Page 61 Index IRF fabric, 14, IRF fabric ARP MAD, accessing IRF fabric BFD MAD, IRF fabric, IRF fabric LACP MAD, application IRF fabric ND MAD, IRF ARP MAD application scenario, IRF LACP MAD, IRF BFD MAD application scenario, IRF link load sharing mode, IRF LACP MAD application scenario, IRF link load sharing mode (global), IRF ND MAD application scenario,...
  • Page 62 IRF device member ID assignment, fabric access, IRF device member priority, fabric ARP MAD configuration, IRF fabric access, fabric BFD MAD configuration, IRF fabric ARP MAD configuration, fabric configuration, 14, IRF fabric BFD MAD configuration, fabric display, IRF fabric LACP MAD configuration, fabric feature restrictions, IRF fabric ND MAD configuration, fabric LACP MAD configuration,...
  • Page 63 multi-active detection. Use LACP MAD. See LACP MAD naming LACP MAD IRF naming conventions (file system), IRF fabric LACP MAD configuration, IRF naming conventions (interface), IRF LACP MAD, IRF LACP MAD configuration, MAD. See ND MAD link ND MAD IRF fabric recovery, IRF fabric ND MAD configuration, IRF link down report delay, IRF ND MAD,...
  • Page 64 IRF physical interface connection, setting IRF link down report delay, IRF physical interface+port bind, specifying IRF device member priority, physical interface IRF physical interface restrictions, recovering IRF restrictions, IRF fabric, IRF transceiver modules+cables restrictions, IRF failure recovery, planning remote IRF fabric setup, IRF fabric access remote login, port restrictions...
  • Page 65 IRF fabric LACP MAD configuration, IRF physical interface+port bind, IRF fabric ND MAD configuration, IRF port shutdown exclusion, IRF fabric setup, IRF software auto-update, IRF master election, VLAN IRF network topology, IRF ARP MAD configuration, IRF BFD MAD configuration, IRF ND MAD configuration, updating IRF port shutdown exclusion, IRF software auto-update,...

Table of Contents