H3C S5120-EI Series Configuration Manual

Manual is about: Ethernet switches

Summary of S5120-EI Series

  • Page 1

    H3c s5120-ei switch series irf configuration guide hangzhou h3c technologies co., ltd. Http://www.H3c.Com software version: release 2210 document version: 6w100-20110915.

  • Page 2

    Copyright © 2011, 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. Trademarks h3c, , aolynk, , h 3 care, , top g, , irf, n...

  • Page 3

    Preface the h3c s5120-ei documentation set includes 10 configuration guides, which describe the software features for the h3c s5120-ei switch series release 2210, and guide you through the software configuration procedures. These configuration guides also provide configuration examples to help you a...

  • Page 5

    About the s5120-ei documentation set the h3c s5120-ei documentation set includes: documents purposes product description and specifications marketing brochure describe product specifications and benefits. Technology white papers provide an in-depth description of software features and technologies. ...

  • Page 6

    [technical support & documents > software download] – provides the documentation released with the software version. 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 comme...

  • Page 7

    I contents irf configuration ·························································································································································· 1 irf overview······································································································...

  • Page 8

    1 irf configuration note: the following s5120-ei switch models support interface cards and can form irf fabrics: s5120-28c-ei, s5120-52c-ei, s5120-28c-pwr-ei, and s5120-52c-pwr-ei. You can establish an irf fabric among s5120-ei switches of these models. Irf overview the h3c intelligent resilient fra...

  • Page 9

    2 figure 1 irf application scenario ip network irf ip network irf link equal to master slave basic concepts irf member switch roles irf uses two member switch roles: master and slave. When switches form an irf fabric, they elect a master to manage the irf fabric, and all other switches back up the m...

  • Page 10

    3 figure 2 irf partition irf merge irf merge occurs when two partitioned irf fabrics re-unite or when you configure and connect two independent irf fabrics to be one irf fabric, as shown in figure 3 . Figure 3 irf merge member priority member priority determines the role that a member switch during ...

  • Page 11

    4 you can select the interface cards and cables according to the distance between members of the irf fabric. For long-distance connections, use xfp or sfp+ transceiver modules and fibers to connect the devices; for short-distance connections, use cx4 or sfp+ cables to connect the devices. Note: • fo...

  • Page 12

    5 figure 5 irf connections topology collection each member exchanges irf hello packets with neighbors to collect the topology of the irf fabric. The irf hello packets carry the topology information, including irf port connection states, member ids, priorities, and bridge mac addresses. Each member r...

  • Page 13

    6 note: • during an irf merge, the switches of the irf fabric that fails the master election must reboot to re-join the irf fabric that wins the election. The reboot can be automatically performed or must be manually performed depends on the switch model. • after a master election, all slave member ...

  • Page 14

    7 ... %created dir flash:/test. Dir directory of flash:/ 0 -rw- 10105088 apr 26 2000 13:44:57 test.App 1 -rw- 2445 apr 26 2000 15:18:19 config.Cfg 2 drw- - jul 14 2008 15:20:35 test 30861 kb total (20961 kb free) 2. To create and access the test folder under the root directory of the flash on member...

  • Page 15

    8 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 t...

  • Page 16

    9 figure 6 recover the irf fabric when irf link failure occurs if the irf fabric in active state fails due to exceptions (a member fails or link failure occurs, for example) before the irf link is recovered, as shown in figure 7 , enable irf fabric 2 (in recovery state) at the cli by executing the m...

  • Page 17

    10 irf fabric configuration task list before configuring an irf fabric, plan the roles and functions of all member switches. H3c recommends the configuration procedure in figure 8 . Figure 8 irf configuration flow chart you can connect physical irf ports after activating irf port configurations. Aft...

  • Page 18

    11 task remarks accessing the master required accessing an irf fabric accessing a slave optional configuring an irf fabric specifying a domain id for an irf fabric introduction to irf domains irf uses irf domain ids for uniquely identifying irf fabrics. Irf domain ids prevent irf fabrics from interf...

  • Page 19

    12 to do… use the command… remarks assign a domain id to the irf fabric irf domain domain-id required. By default, the domain id of an irf fabric is 0. Note: • you must assign a domain id for an irf fabric before enabling lacp mad or arp mad detection. • h3c recommends that you assign the same domai...

  • Page 20

    13 configuring irf ports irf ports are logical ports. To use the irf function on a switch, you must bind its irf ports with physical irf ports and activate the irf configuration on the switch. Follow these steps to configure irf ports: to do… use the command… remarks enter system view system-view — ...

  • Page 21

    14 note: • to realize irf link redundancy and load sharing and increase the bandwidth and reliability of irf links, bind one irf port to multiple physical irf ports by repeatedly executing the port group interface command. You can bind up to two physical irf ports to an irf port. The physical ports ...

  • Page 22

    15 to do… use the command… remarks configure the description of a member irf member member-id description text optional not configured by default. Configuring load sharing criteria for irf links when an irf port is bound with physical irf ports, there are multiple irf links among irf fabrics. Determ...

  • Page 24

    17 caution: • bridge mac address change may cause a temporary traffic interruption. • if two irf fabrics have the same bridge mac address, they cannot be merged into one irf fabric. • if you use arp mad together with the spanning tree feature for an irf fabric, enable the irf fabric to change its br...

  • Page 25

    18 • when the irf link changes from up to down, the port does not immediately report the change to the irf fabric. If the irf link state is still down when the delay time is reached, the port reports the change to the irf fabric. • when the irf link changes from down to up, the link layer immediatel...

  • Page 26

    19 caution: if the intermediate switch is in an irf fabric, you must assign this fabric a different domain id than the lacp mad-enabled irf fabric to avoid false detection of irf partition. Figure 10 network diagram device master slave irf internet terminal network irf link transmission path for com...

  • Page 27

    20 to do… use the command… remarks create an aggregate interface and enter aggregate interface view interface bridge-aggregation interface-number required configure the aggregation group to work in dynamic aggregation mode link-aggregation mode dynamic required by default, the aggregation group work...

  • Page 28

    21 figure 11 network diagram device master slave irf irf link transmission path for common service packets transmission path for gratuitous arp packets stp domain to avoid loops, all devices in the domain have to be configured with the mstp function. Ip network device transmission path blocked by st...

  • Page 30

    23 accessing an irf fabric accessing the master access an irf fabric in either of the following two ways: • local login–log in through the aux or console port of a member switch. • remote login–remotely log in at a layer 3 interface on any member switch through telnet, web, or snmp. When you log in ...

  • Page 32

    25 figure 12 network diagram configuration considerations • to increase the number of access ports, additional devices are needed. In this example, device b is added. • to address the requirements for high availability, ease of management and maintenance, use irf2 technology to create an irf fabric ...

  • Page 33

    26 [devicea] irf-port 1/2 [devicea-irf-port1/2] port group interface ten-gigabitethernet 1/1/2 [devicea-irf-port1/2] quit [devicea] interface ten-gigabitethernet 1/1/2 [devicea-ten-gigabitethernet1/1/2] undo shutdown [devicea-ten-gigabitethernet1/1/2] save # create irf port 1 on device b, and bind i...

  • Page 34

    27 acting as the intermediate device, device c needs to support lacp to forward and process lacp protocol packets, and help device a and device b implement mad detection. An lacp-supported switch is used here to save the cost. # create a dynamic aggregation interface. System-view [devicec] interface...

  • Page 35

    28 • to offset the risk of irf fabric partition, configure mad to detect multi-active collisions. In this example, arp mad is adopted because the number of members in the irf fabric is small, and the arp mad packets are transmitted over dual links connected to device c. Enable the spanning tree func...

  • Page 36

    29 [deviceb-ten-gigabitethernet2/1/1] quit [deviceb] irf-port-configuration active 3. Master election is held between the two devices. As a result of the master election, device b automatically reboots to join the irf fabric as a slave switch. The system name on both devices is devciea. 4. Configure...

  • Page 37

    30 index a b c d e i a accessing an irf fabric, 23 b basic concepts, 2 c configuring an irf fabric, 11 d displaying and maintaining an irf fabric, 24 e establishment, operation, and maintenance of an irf fabric, 3 i irf fabric configuration examples, 24 irf fabric configuration task list, 10 irf ove...