H3C S5820 series Configuration Manual Download Page 17

 

1-10 

IRF uses a strict configuration file synchronization mechanism to ensure that the members of an IRF 

virtual device can work as a single device and that when the master fails, the other devices can operate 

normally. 

z

 

When a slave starts up, it automatically searches for the master, synchronizes the master's 

configuration file, and executes the configuration file. If all members start up simultaneously, the 

slaves synchronize the master's initial configuration file and execute it. 

z

 

When the IRF virtual device operates normally, all your configurations are recorded into the current 

configuration file of the master, and are synchronized to each member device. When you save the 

current configuration file of the master as the startup configuration file by using the 

save

 command, 

all slaves execute the same saving operation to make the startup configuration file of all members 

consistent. 

Through the real-time synchronization, all members keep the same configuration file. Even if the 

master fails, all the other devices can execute various functions based on the same configuration file. 

2)  Configuration file application 

The configuration file can be divided into two parts: global configuration and port configuration. When a 

slave applies these two kinds of configurations of the master, it handles them as follows: 

z

 

Global configuration: All slaves execute the current global configuration on the master. In other 

words, all members apply the same global configuration. 

z

 

Port configuration: When a slave applies the port configuration of the master, it cares about the 

configuration related to its own port. For example, the slave with member ID 3 only cares about the 

configuration related to the GigabitEthernet 3/0/x port on the master. If there is a configuration 

related to its own port, it applies the configuration; if not, no matter what configuration has been 

made to the port before the slave joins the IRF, the slave functions by using the default 

configuration. 

IRF topology maintenance 

Direct neighbors of an IRF virtual device periodically exchange hello packets (the period is 200 ms). 

Without receiving any hello packet from a direct neighbor for 100 periods, a member considers that the 

hello packets timed out, and the expired device is isolated and the topology database is updated. 

When an IRF port of a member is down, the member immediately broadcasts the information to all the 

other members. If the IRF port of the master is down, an election is triggered. 

IRF Multi-Active Detection (MAD) Mechanism 

A link disconnection causes an IRF virtual device to divide into two or more IRF virtual devices with the 

same global configuration, which may cause a network failure. Therefore, the multi-active detection 

(MAD) mechanism is introduced to detect whether devices on the two sides of the detected link belong 

to the same IRF virtual device and then judge whether the IRF virtual device is already partitioned into 

multiple IRF virtual devices. The MAD mechanism provides the following functions: 

z

 

Detection: Enabled for an IRF virtual device, the MAD mechanism detects the network for multiple 

active IRF virtual devices with the same global configuration. This is done with the Link 

Aggregation Control Protocol (LACP) or the Bidirectional Forwarding Detection (BFD) protocol. 

z

 

Collision handling: When an IRF virtual device is partitioned, if multiple active IRF virtual devices 

are detected, the MAD mechanism keeps only the one with the lowest master ID to operate 

normally (keeping the active state). The state of all the other IRF virtual devices are set to recovery 

Summary of Contents for S5820 series

Page 1: ...H3C S5820X S5800 Series Ethernet Switches IRF Configuration Guide Hangzhou H3C Technologies Co Ltd http www h3c com Document Version 6W103 20100716 Product Version Release 1110...

Page 2: ...ware Secware Storware NQA VVG V2 G Vn 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 th...

Page 3: ...entation 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 administr...

Page 4: ...X documentation set also includes Category Documents Purposes Marketing brochures Describe product specifications and benefits Product description and specifications Technology white papers Provide an...

Page 5: ...0 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 S58...

Page 6: ...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 docu...

Page 7: ...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 Confi...

Page 8: ...top 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 o...

Page 9: ...vice 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 Ea...

Page 10: ...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...

Page 11: ...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 cab...

Page 12: ...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...

Page 13: ...y connected neighbors to collect topology of the IRF virtual device The hello packets carry topology information including IRF port connection states member IDs priorities and bridge MAC addresses Eac...

Page 14: ...ailure or power off of a member causes physical disconnection between two devices The process is called IRF virtual device partition IRF Virtual Device Management After role election an IRF virtual de...

Page 15: ...is dependent on the number of interfaces supported by the device View the silkscreen on the interface card for the number of supported interfaces For example GigabitEthernet 1 0 1 is an interface on t...

Page 16: ...30861 KB total 20961 KB free 2 To create and access the test folder in the root directory of the flash on slave 3 perform the following steps Master mkdir slot3 flash test Created dir slot3 flash tes...

Page 17: ...related to the GigabitEthernet 3 0 x port on the master If there is a configuration related to its own port it applies the configuration if not no matter what configuration has been made to the port b...

Page 18: ...o executing the shutdown command on these ports However some ports are not disabled and they are called reserved ports By default only physical IRF ports can be set to reserved ports To set other port...

Page 19: ...Detection of Multi Active Collision Optional Configuring MAD Detection Manually Recovering an IRF Virtual Device Optional Logging In to the Master Required Logging In to an IRF Virtual Device Logging...

Page 20: ...LACP MAD detection links exist among the IRF virtual devices assign different domain IDs for the IRF virtual devices If there is no LACP MAD detection link among IRF virtual devices or BFD MAD detecti...

Page 21: ...or a device that is already a member of an IRF virtual device use the commands in Table 1 3 to change the member ID of the device Your modification takes effect at the reboot of the device For a devic...

Page 22: ...spondence between an IRF port and a physical IRF port IRF can run on a device only when IRF ports are bound with physical IRF ports For how to bind IRF ports and physical IRF ports see Correspondence...

Page 23: ...ce card on which a physical IRF port resides first plug out the cables SFP cables or fibers or execute the shutdown command in IRF physical port view to disable the port and then plug out the interfac...

Page 24: ...the combination of the source and destination IP addresses when processing Layer 3 packets This configuration is effective to all IRF ports At present when configuring IRF port load sharing mode in s...

Page 25: ...figuring IRF port load sharing mode in IRF port view you can specify z Any of the source IP address destination IP address source MAC address or destination MAC address separately as the hash key z Th...

Page 26: ...minutes When the master leaves the bridge MAC address does not change within six minutes If the master does not come back when the preserve time expired the IRF virtual device uses the bridge MAC add...

Page 27: ...rf auto update enable Optional Enabled by default z Although an IRF virtual device supports the auto upgrade of boot files you are recommended to ensure that a new device and the master have the same...

Page 28: ...roaches operate independently and do not interfere with one another therefore you can configure two MAD detection approaches for one IRF virtual device Configuring LACP MAD LACP MAD detection mechanis...

Page 29: ...n the following order z Create an aggregate interface also required on the intermediate device z Configure the aggregation group to work in dynamic aggregation mode also required on the intermediate d...

Page 30: ...assigned to the member devices must belong to the same network segment z When the IRF virtual device operates normally only the MAD IP address of the master is effective and the BFD session is down z...

Page 31: ...F ports to be used for BFD MAD detection at least one on each member device and add them into the detection dedicated VLAN also required on the intermediate device if any z Create VLAN interfaces for...

Page 32: ...ocol applications including ARP and LACP z You cannot enable BFD MAD detection on VLAN interface 1 z BFD MAD detection links are dedicated and you are not allowed to configure other services on BFD MA...

Page 33: ...down when the IRF virtual device transits to recovery state However if the VLAN interface is up in the IRF virtual device in active state IP collision occurs in your network Manually Recovering an IRF...

Page 34: ...e state of IRF virtual device 2 changes from recovery to active without the need of rebooting and takes over IRF virtual device 1 Repair the IRF links Two IRF virtual devices merge when the IRF link f...

Page 35: ...n the master the IRF virtual device synchronizes the configurations to the slaves Logging In to a Slave When you log in to an IRF virtual device actually you log in to the master To log in to a slave...

Page 36: ...ual device display irf topology Available in any view Display the pre configurations of all members of the IRF virtual device The pre configuration takes effect at the reboot of the members display ir...

Page 37: ...ernet1 0 25 shutdown Sysname irf port 1 2 Sysname irf port 1 2 port group interface ten gigabitethernet 1 0 25 Sysname irf port 1 2 quit Sysname interface ten gigabitethernet 1 0 25 Sysname Ten Gigabi...

Page 38: ...ce 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...

Page 39: ...the configuration Sysname system view Sysname interface ten gigabitethernet 2 0 26 Sysname Ten GigabitEthernet2 0 26 shutdown Sysname irf port 2 1 Sysname irf port 2 1 port group interface ten gigabi...

Page 40: ...1 33 Sysname Vlan interface3 mad ip address 192 168 2 1 24 member 1 Sysname Vlan interface3 mad ip address 192 168 2 2 24 member 2 Sysname Vlan interface3 quit...

Page 41: ...ve Collision 1 25 I Introduction 1 1 IRF Multi Active Detection MAD Mechanism 1 10 IRF Virtual Device Management 1 7 L Logging In to a Slave 1 28 Logging In to the Master 1 28 M Manually Recovering an...

Reviews: