H3C S5820, S5800 Configuration Manual

H3C S5820X&S5800 Series Ethernet Switches
IRF
Configuration Guide
Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com
Copyright © 2009-2010, 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, , H3Care,
, TOP G, , IRF, NetPilot, Neocean, NeoVTL,
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V
2
G, VnG, 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. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute the warranty of any kind, express or implied.
Preface
The H3C S5800&S5820X documentation set includes 11 configuration guides, which describe the software features for the S5800&S5820X Series Ethernet Switches 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.
The IRF Configuration Guide describes how to use multiple S5800&S5820X switches to create an IRF virtual device based on the IRF technology. It covers planning the switch roles in the IRF virtual device, connecting the IRF link, and detecting and maintaining the IRF virtual device.
This preface includes:
z Audience z Document Organization z Conventions z About the H3C S5820X&S5800 Documentation Set z Obtaining Documentation z Documentation Feedback
Audience
This documentation set is intended for:
z Network planners z Field technical support and servicing engineers z Network administrators working with the S5800 and S5820X series
Document Organization
The IRF Configuration Guide comprises the following part:
IRF Configuration
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.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical bars, from which you select one or none.
Convention Description
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by vertical bars, from which you select at least one.
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated by vertical bars, from which you may select multiple choices or none.
&<1-n>
The argument or keyword and argument combination before the ampersand (&) sign can be entered 1 to n times.
# A line that starts with a pound (#) sign is comments.
GUI conventions
Convention Description
Boldface
Window names, button names, field names, and menu items are in Boldface. For example, the New User window appears; click OK.
>
Multi-level menus are separated by angle brackets. For example, File > Create > Folder.
Symbols
Convention Description
Means reader be careful. Improper operation may cause data loss or damage to equipment.
Means a complementary description.
About the H3C S5820X&S5800 Documentation Set
The H3C S5800&S5820X documentation set also includes:
Category Documents Purposes
Marketing brochures Describe product specifications and benefits.
Product description and specifications
Technology white papers
Provide an in-depth description of software features and technologies.
PSR150-A [ PSR150-D ] Power Modules User Manual
Describes the appearances, features, specifications, installation, and removal of the pluggable 150W power modules available for the products.
PSR300-12A [ PSR300-12D1 ] Power Modules User Manual
Describes the appearances, features, specifications, installation, and removal of the pluggable 300W power modules available for the products.
PSR750-A [ PSR750-D ] Power Modules User Manual
Describes the appearances, features, specifications, installation, and removal of the pluggable 750W power modules available for the products.
RPS User Manual
Describes the appearances, features, and specifications of the RPS units available for the products.
Pluggable module description
LSW1FAN and LSW1BFAN Installation Manual
Describes the appearances, specifications, installation, and removal of the pluggable fan modules available for the products.
Category Documents Purposes
LSW148POEM Module User Manual
Describes the appearance, features, installation, and removal of the pluggable PoE module available for the products.
S5820X [ S5800 ] Series Ethernet Switches Interface Cards User Manual
Describes the models, hardware specifications, installation, and removal of the interface cards available for the products.
H3C OAP Cards User Manual
Describes the benefits, features, hardware specifications, installation, and removal of the OAP cards available for the products.
H3C Low End Series Ethernet Switches Pluggable Modules Manual
Describes the models, appearances, and specifications of the pluggable modules available for the products.
S5800-60C-PWR Ethernet Switch Hot Swappable Power Module Ordering Guide
Guides you through ordering the hot-swappable power modules available for the S5800-60C-PWR switches in different cases.
Power configuration
RPS Ordering Information for H3C Low-End Ethernet Switches
Provides the RPS and switch compatibility matrix and RPS cable specifications.
z S5800 Series
Ethernet Switches Quick Start
z S5820X Series
Ethernet Switches Quick Start
z S5800 Series
Ethernet Switches CE DOC
z S5820X Series
Ethernet Switches CE DOC
Provides regulatory information and the safety instructions that must be followed during installation.
z S5800 Series
Ethernet Switches Quick Start
z S5820X Series
Ethernet Switches Quick Start
Guides you through initial installation and setup procedures to help you quickly set up and use your device with the minimum configuration.
z S5800 Series
Ethernet Switches Installation Manual
z S5820X Series
Ethernet Switches Installation Manual
Provides a complete guide to hardware installation and hardware specifications.
Hardware installation
Pluggable SFP[SFP+][XFP] Transceiver Modules Installation Guide
Guides you through installing SFP/SFP+/XFP transceiver modules.
Category Documents Purposes
z S5800-60C-PWR
Switch Video Installation Guide
z S5820X-28C Switch
Video Installation Guide
Shows how to install the H3C S5800-60C-PWR and H3C S5820X-28C Ethernet switches.
Configuration guide
Describe software features and configuration procedures.
Software configuration
Command reference Provide a quick reference to all available commands. H3C Series Ethernet
Switches Login Password Recovery Manual
Tells how to find the lost password or recover the password when the login password is lost.
Operations and maintenance
Release notes
Provide information about the product release, including the version history, hardware and software compatibility matrix, version upgrade information, technical support information, and software upgrading.
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] – Provides hardware installation, software
upgrading, and software feature configuration and maintenance documentation.
[Products & Solutions] – Provides information about products and techn ologies, as well as solutions. [Technical Support & Documents > Software Download] – Provides the documentation released with
the software version.
Documentation Feedback
You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
i
Table of Contents
1 IRF Configuration ······································································································································1-1
IRF Overview ··········································································································································1-1
Introduction······································································································································1-1 Advantages······································································································································1-1
Application and Advantages············································································································1-2 Basic Concepts·······································································································································1-2 Working Process·····································································································································1-3
Physical Connections······················································································································1-4
Topology Collection·························································································································1-6
Role Election ···································································································································1-6
IRF Virtual Device Management ·····································································································1-7
IRF Multi-Active Detection (MAD) Mechanism··············································································1-10 IRF Virtual Device Configuration Task List···························································································1-11 IRF Virtual Device Configuration···········································································································1-12
Specifying a Domain ID for an IRF Virtual Device ········································································1-12
Setting a Member ID for a Device·································································································1-14
Configuring IRF Ports····················································································································1-15
Specifying a Priority for a Member································································································1-18
Specifying the Preservation Time of the Bridge MAC Address·····················································1-19
Enabling Auto Upgrade of Boot Files····························································································1-20
Setting the Delay Time for the Link Layer to Report a Link-Down Event······································1-20 Configuring MAD Detection ··················································································································1-21
Configuring LACP MAD·················································································································1-21
Configuring BFD MAD···················································································································1-23
Excluding a Port from the Shut Down Action upon Detection of Multi-Active Collision ················1-25
Manually Recovering an IRF Virtual Device··················································································1-26 Logging In to an IRF Virtual Device······································································································1-28
Logging In to the Master················································································································1-28
Logging In to a Slave·····················································································································1-28 Displaying and Maintaining an IRF Virtual Device················································································1-29 IRF Virtual Device Configuration Examples··························································································1-29
Configuration Example of Using the LACP MAD Detection··························································1-29
Configuration Example of Using the BFD MAD Detection····························································1-31
2 Index ···························································································································································2-1
1-1
1 IRF Configuration
This chapter includes these sections:
z IRF Overview z Basic Concepts z IRF Virtual Device Configuration Task List z IRF Virtual Device Configuration z Logging In to an IRF Virtual Device z Displaying and Maintaining an IRF Virtual Device z IRF Virtual Device Configuration Examples
You can establish an IRF virtual device by connecting switches of the same series, S5820X series or S5800 series, or establish a mixed IRF virtual device that comprises both S5820X series and S5800 series switches.
IRF Overview
Introduction
Developed by H3C, Intelligent Resilient Framework (IRF) provides a new method to connect multiple devices. Individual devices join to form a distributed device. IRF realizes the cooperation, unified management, and non-stop maintenance of multiple devices.
Advantages
IRF features the following advantages:
z Streamlined management. When an IRF virtual device is established, you can log in to it by
connecting to any port of any member to manage all members of the IRF virtual device. Comp ared with traditional methods of managing multiple devices, you do not need to connect to each member physically, allocate an IP address to each member, interconnect the members, nor run routing protocols on each member.
z High reliability. An IRF virtual device comprises multiple member devices: the master runs,
manages and maintains the IRF virtual device, whereas the slaves process services as well as functioning as the backups. As soon as the master fails, the IRF virtual device immediately ele cts a new master to prevent service interruption and implement 1:N backup. In addition, not only the IRF links of members can be aggregated, but also the physical links between the IRF virtual device and
1-2
the upper or lower layer devices can be aggregated, and thus the reliability of the IRF virtual device is increased through link backup.
z Powerful network expansion capability. By adding member devices, the number of IRF ports and
network bandwidth of the IRF virtual device can be easily expanded. Each member device ha s its own CPU and they can independently process and forward protocol packets; therefore, the processing capability of the IRF virtual device also can be easily expanded.
Application and Advantages
As shown in Figure 1-1, the master and a slave form an IRF virtual device, which is a single device to the upper and lower layer devices.
Figure 1-1 IRF networking
IP network
IRF virtual device
IP network
IRF link
Equal to
Master
Slave
Basic Concepts
The IRF technology involves the following basic concepts:
Role
The devices that form an IRF virtual device are called IRF member devices. Each of them plays either of the following two roles:
z Master: Manages the IRF virtual device. z Slave: All members that operate as the backups of the master are called slaves. When the master
fails, the IRF virtual device automatically elects a new master from one of the slaves.
Master and slaves are elected through the role elect ion mechanism. An IRF virtual dev ice has only one master at a time. Other members are the slaves. For the detailed role election process, refer to
Role
Election.
IRF port
An IRF port is a logical port dedicated to the internal connection of an IRF virtual device, which can be numbered as IRF-port1 or IRF-port2. An IRF port is effective only when it is bound to a physical IRF port.
1-3
Physical IRF port
Physical ports used for connecting members of an IRF virtual device are called physical IRF ports. Typically, an Ethernet port or optical port forwa rds pa cket s to the ne twork. When boun d to an IRF port,
it acts as a physical IRF port and forwards data traf fic such as IRF-related negotiat ion packet s and dat a traffic among members.
For the detailed information of physical IRF ports on the S5820X and S5800 series switches, see
Physical Connections.
IRF virtual device merge
As shown in Figure 1-2, two IRF virtual devices operate independently and steadily. You can connect them physically and perform necessary configurations to make them form one IRF virtual device. This process is called IRF virtual device merge.
Figure 1-2 IRF virtual device merge
IRF virtual device partition
As shown in Figure 1-3, when an IRF virtual device is formed, the failure of the IRF link causes physical disconnection between the two members, and then the IRF virtual device is divided into two IRF virtual devices. This process is called IRF virtual device partition.
Figure 1-3 IRF virtual device partition
Member priority
Member priority determines the role of a member during a role election process. A member with a higher priority is more likely to be a master. The priority of a device defaults to 1. You can confi gure the priority at the command line interface (CLI).
Working Process
IRF virtual device management involves four stages: Physical Connections, Topology Collection, Role
Election
, and IRF Virtual Device Management. You need to connect the members of an IRF virtual device physically, and then the members perform topology collection and role election. Finally, the IRF virtual device can operate normally and enter the IRF virtual device management and maintenance stage.
1-4
Physical Connections
Physical port
To make an IRF virtual device operate normally, physically connect the member devices. For the S5820X and S5800 series switches, use SFP+ ports on the front panel or SFP+ ports on an interface card as physical IRF ports.
For details of SFP+ ports and interface cards used on different device models, refer to H3C S5800
Series Ethernet Switches Installation Manual and H3C S5820X Series Ethernet Switches Installation Manual.
When you use SFP+ ports, select SFP+ transceivers and optical fibers or SFP+ cables described in
Table 1-1 for connecting member devices.
Table 1-1 SFP+ transceivers and cables supported by the S5820X series and S5800 series
Transceiver/
Cable type
Transceiver/Cable
Central
wavelength
Connector Fiber
Max
transmission
distance
SFP-XG-SX-MM850-A 850 nm
50/125 µm multimode optical fiber
300 m (984.3 ft.)
SFP-XG-LX220-MM1310
62.5/125 µm multimode optical fiber
220 m (721.8 ft.)
10 GE SFP+ transceiver
SFP-XG-LX-SM1310
1310 nm
LC
9/125 µm single mode optical fiber
10 km (about
6.2 mi)
LSWM1STK 0.65 m (2.1 ft.) LSWM2STK 1.2 m (3.9 ft.)
Short-haul 10 GE SFP+ cable
LSWM3STK
— SFP+ SFP+ cable
3 m (9.8 ft.)
Use SFP+ transceivers with optical fibers when members are far from each other to increase network flexibility; use SFP+ cables when members are all in one equipment room.
For the details of the interface modules, refer to H3C Low End Series Ethernet Switches Pluggable Modules Manual.
Physical IRF ports can be used for connecting members and transmitting data traffic. To establish an IRF virtual device, bind physical IRF ports to IRF ports.
Correspondence between an IRF port and a physical IRF port
The connection of IRF ports is based on that of physical IRF ports; therefore, bind an IRF port to physical IRF port(s). An IRF port can be bound to one physi cal IRF port or , to back up links and expand bandwidth, bound to multiple physical IRF ports (aggregated as an aggregate IRF port).
The following describes the correspondence between an IRF port and physical IRF port(s) on the S5800 series and S5820X series:
1-5
Table 1-2 Correspondence between an IRF port and physical IRF port(s) for different device models
Device model Physical IRF port IRF port correspondence
S5800-60C-PWR
Physical IRF ports are provided on the two interface cards on the front panel.
All physical IRF ports bound to the same IRF port must be located on the same interface card.
z S5800-56C z S5800-56C-PWR
z Four SFP+ ports are provided on
the front panel.
z Physical IRF ports are provided
on interface cards on the rear panel.
All physical IRF ports bound to the same IRF port must be located on the front panel or on the interface card plugged in the rear panel.
z S5800-32C z S5800-32C-PWR
z Four SFP+ ports are provided on
the front panel.
z Physical IRF ports are provided
on interface cards on the rear panel.
S5800-32F
z Four SFP+ ports are provided on
the front panel.
z The front panel can provide
physical IRF ports through interface cards plugged in the slots.
S5820X-28C
z The front panel can provide 14
SFP+ ports.
z Physical IRF ports are provided
on interface cards on the front panel.
No location limitation to the physical IRF ports bound to the same IRF port. Some of the physical IRF ports can be located on the front panel and some of them can be located on interface cards.
S5820X-28S
24 SFP+ ports are provided on the front panel.
No location limitation to the physical IRF ports bound to the same IRF port.
Connection requirements
As shown in Figure 1-4, IRF-Port1 on one device can only be connected to the physical port bound to IRF-Port2 of a neighbor device; otherwise, an IRF virtual device cannot be formed.
Figure 1-4 IRF physical connection
An IRF port can be bound to one physical IRF port or multiple physical IRF ports, thus to increase the bandwidth and reliability of IRF links. You can bind at most four physical IRF ports to one IRF port on the S5820X series or S5800 series.
1-6
IRF topology
An IRF virtual device typically adopts daisy chain connection or ring connection, as shown in Figure
1-5.
z A daisy chain connection is mainly used in a network where member devices are distributedly
located.
z A ring connection is more reliable than the daisy chain connection. In a daisy chained IRF virtual
device, the failure of one link can cause the IRF virtual device to partition into two independent IRF virtual devices; where the failure of a link in a ring connection result in a dai sy chain connection, not affecting IRF services.
Figure 1-5 IRF connections
IRF virtual
device
Ring connection
Slave Slave
Master
IRF-Port1 IRF-Port2
IRF-Port1
IRF-Port2IRF-Port1
IRF-Port2
Daisy chain
connection
IRF virtual device
Master
Slave
Slave
IRF-Port2
IRF-Port2
IRF-Port1
IRF-Port1
Topology Collection
Each member exchanges hello packets with the directly conne cted neighbors to collect topolo gy of the IRF virtual device. The hello packets carry topology information, including IRF port connection states, member IDs, priorities, and bridge MAC addresses.
Each member records its known topology information locally. At the initiation of the collection, the members record their own topology information. When an IRF port of a member becomes up, the member sends its known topology information from this port periodically. Upon receiving the topology information, the directly connected neighbor updates the local topology information.
The collection process lasts for a period of time. When all members have obtained the complete topology information (known as topology convergence), the IRF virtual device enters the next stage: role election.
Role Election
The process of defining the role (master or slave) of members is role election. Role election is held when the topology changes, such as, forming an IRF virtual device, adding a new
member, leaving or failu re of the master, or IRF virtual device partition. The master is elected based on
Loading...
+ 28 hidden pages