background image

 

H3C S5150-EI Switch Series

IRF Configuration Guide

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
New H3C Technologies Co., Ltd.  
http://www.h3c.com.hk 
 
Software version: Release 510x 
Document version: 6W101-20171222

 

 

Summary of Contents for S5150-EI Series

Page 1: ...H3C S5150 EI Switch Series IRF Configuration Guide New H3C Technologies Co Ltd http www h3c com hk Software version Release 510x Document version 6W101 20171222 ...

Page 2: ...ine SecPath SecCenter SecBlade Comware ITCMM and HUASAN are trademarks of New 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 inf...

Page 3: ...ds 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 fr...

Page 4: ...hat contains additional or supplementary information TIP An alert that provides helpful information Network topology icons Convention Description Represents a generic network device such as a router switch or firewall Represents a routing capable device such as a router or Layer 3 switch Represents a generic switch such as a Layer 2 or Layer 3 switch or a router that supports Layer 2 forwarding an...

Page 5: ...examples differ from what you have on your device Obtaining documentation To access the most up to date H3C product documentation go to the H3C website at http www h3c com hk To obtain information about installation configuration and maintenance click http www h3c com hk Technical_Documents To obtain software version information such as release notes click http www h3c com hk Software_Download Tec...

Page 6: ...fabric 18 Bulk configuring basic IRF settings for a member device 18 Configuring a member device description 19 Configuring IRF link load sharing mode 19 Configuring the global load sharing mode 20 Configuring a port specific load sharing mode 20 Configuring IRF bridge MAC persistence 20 Enabling software auto update for software image synchronization 21 Configuration prerequisites 22 Configuratio...

Page 7: ...eed to run the spanning tree feature among the IRF members 1 N redundancy In an IRF fabric one member acts as the master to manage and control the entire IRF fabric All the other members process services while backing up the master When the master fails all the other member devices elect a new master from among them to take over without interrupting services IRF link aggregation You can assign sev...

Page 8: ...ch The two IRF ports are referred to as IRF port 1 and IRF port 2 in this book To use an IRF port you must bind a minimum of one physical interface to it The physical interfaces assigned to an IRF port automatically form an aggregate IRF link An IRF port goes down when all its IRF physical interfaces are down IRF physical interface IRF physical interfaces connect IRF member devices and must be bou...

Page 9: ...uses routing and forwarding problems on the network To quickly detect a multi active collision configure a minimum of one MAD mechanism see Configuring MAD Figure 3 IRF split IRF merge IRF merge occurs when two split IRF fabrics reunite or when two independent IRF fabrics are united as shown in Figure 4 Figure 4 IRF merge Device A Device B IRF fabric 1 domain 10 IRF link Core network IRF fabric 2 ...

Page 10: ...thernet1 0 1 port link type trunk On the multi chassis IRF fabric Master Ten GigabitEthernet 3 0 1 represents the first port on member device 3 Set its link type to trunk as follows Master system view Master interface ten gigabitethernet 3 0 1 Master Ten GigabitEthernet3 0 1 port link type trunk File system naming conventions On a single chassis fabric you can use its storage device name to access...

Page 11: ...y of the flash memory on the master device Master cd flash Master pwd flash Copy the file to member device 3 Master copy test ipe slot3 flash Copy flash test ipe to slot3 flash test ipe Y N y Copying file flash test ipe to slot3 flash test ipe Done For more information about storage device naming conventions see Fundamentals Configuration Guide Configuration synchronization IRF uses a strict runni...

Page 12: ...mber with higher priority 3 Member with the longest system uptime Two members are considered to start up at the same time if the difference between their startup times is equal to or less than 10 minutes For these members the next tiebreaker applies 4 Member with the lowest CPU MAC address For the setup of a new IRF fabric the subordinate devices must reboot to complete the setup after the master ...

Page 13: ...P and IPv6 ND You can configure a minimum of one MAD mechanism on an IRF fabric for prompt IRF split detection Do not configure LACP MAD together with ARP MAD or ND MAD because they handle collisions differently Do not configure BFD MAD together with ARP MAD or ND MAD BFD MAD is mutually exclusive with the spanning tree feature but ARP MAD and ND MAD require the spanning tree feature At the same t...

Page 14: ...s Detection speed is slower than BFD MAD and LACP MAD The spanning tree feature must be enabled Spanning tree enabled non link aggregation IPv6 network scenario For information about ND see Layer 3 IP Services Configuration Guide LACP MAD As shown in Figure 5 LACP MAD has the following requirements Every IRF member must have a link with an intermediate device All the links form a dynamic link aggr...

Page 15: ...ices and must belong to the same subnet With BFD MAD the master attempts to establish BFD sessions with other member devices by using its MAD IP address as the source IP address If the IRF fabric is integrated only the MAD IP address of the master takes effect The master cannot establish a BFD session with any other member If you execute the display bfd session command the state of the BFD session...

Page 16: ...ntermediate device is used you must also run the spanning tree feature between the IRF fabric and the intermediate device Each IRF member compares the domain ID and the active ID in incoming extended ARP packets with its domain ID and active ID If the domain IDs are different the extended ARP packet is from a different IRF fabric The device does not continue to process the packet with the MAD mech...

Page 17: ...ber device compares the domain ID and the active ID in incoming NS packets with its domain ID and active ID If the domain IDs are different the NS packet is from a different IRF fabric The device does not continue to process the packet with the MAD mechanism If the domain IDs are the same the device compares the active IDs If the active IDs are different the IRF fabric has split If the active IDs ...

Page 18: ...me software image version Make sure the software auto update feature is enabled on all member devices IRF physical interface requirements Candidate IRF physical interfaces Use the 10GBase T Ethernet ports or SFP ports on the front panel of the S5150 EI switch for IRF links Selecting transceiver modules and cables When you select transceiver modules and cables follow these restrictions and guidelin...

Page 19: ...ation 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 You can use the backup file to restore the original configuration after removing the subordinate from the IRF fabric Setup and configuration t...

Page 20: ...load sharing mode Configuring the global load sharing mode Configuring a port specific load sharing mode N A 10 Optional Configuring IRF bridge MAC persistence N A 11 Optional Enabling software auto update for software image synchronization As a best practice enable software auto update to ensure system software image synchronization 12 Optional Setting the IRF link down report delay N A 13 Requir...

Page 21: ...ts are removed regardless of whether you have saved the configuration To assign a member ID to a device Step Command Remarks 1 Enter system view system view N A 2 Assign a member ID to a member device irf member member id renumber new member id The default IRF member ID is 1 3 Optional Save the configuration save If you have bound physical interfaces to IRF ports or assigned member priority you mu...

Page 22: ...hboring members Figure 11 Connecting IRF physical interfaces Connect the devices into a daisy chain topology or a ring topology A ring topology is more reliable see Figure 12 In ring topology the failure of one IRF link does not cause the IRF fabric to split as in daisy chain topology Rather the IRF fabric changes to a daisy chain topology without interrupting network services Figure 12 Daisy chai...

Page 23: ... To shut down one IRF physical interface enter its interface view 3 Shut down the physical interfaces shutdown By default all physical interfaces are up 4 Return to system view quit N A 5 Enter IRF port view irf port member id irf port number N A 6 Bind each physical interface to the IRF port port group interface interface type interface number By default no physical interfaces are bound to an IRF...

Page 24: ... IRF members automatically The following methods are available for accessing an IRF fabric Local login Log in through the console port of any member device Remote login Log in at a Layer 3 interface on any member device by using methods including Telnet Web and SNMP When you log in to an IRF fabric you are placed at the CLI of the master regardless of at which member device you are logged in For m...

Page 25: ...es the following settings take effect The most recent settings for the member ID domain ID and priority IRF port bindings added through executions of the command You can bind a maximum of four physical interfaces to an IRF port To remove an IRF physical interface from an IRF port you must use the undo port group interface command in IRF port view Configuring a member device description Step Comman...

Page 26: ... types If you execute this command multiple times the most recent configuration takes effect Configuring a port specific load sharing mode Before you configure a port specific load sharing mode make sure you have bound a minimum of one physical interface to the IRF port To configure a port specific load sharing mode for an IRF port Step Command Remarks 1 Enter system view system view N A 2 Enter I...

Page 27: ...as aggregate links with upstream or downstream devices configure the irf mac address persistent always command or the irf mac address persistent timer command The command setting prevents transmission delay or packet loss after the address owner leaves or reboots If the IRF fabric has cross member aggregate links do not use the undo irf mac address persistent command to avoid unnecessary traffic d...

Page 28: ...hen access the BootWare menu to delete files Configuration procedure To enable automatic software synchronization with the master Step Command Remarks 1 Enter system view system view N A 2 Enable software auto update irf auto update enable By default software auto update is enabled Setting the IRF link down report delay To prevent frequent IRF splits and merges during link flapping configure the I...

Page 29: ... tree feature but ARP MAD and ND MAD require the spanning tree feature At the same time BFD MAD handles collisions differently than ARP MAD and ND MAD If LACP MAD ARP MAD or ND MAD runs between two IRF fabrics assign each fabric a unique IRF domain ID For BFD MAD this task is optional An IRF fabric has only one IRF domain ID You can change the IRF domain ID by using the following commands irf doma...

Page 30: ...erface interface type interface number to interface type interface number 1 24 Enter Ethernet interface view interface interface type interface number To assign a range of ports to the aggregation group enter interface range view To assign one port to the aggregation group enter Ethernet interface view 8 Assign the Ethernet port or the range of Ethernet ports to the specified aggregation group por...

Page 31: ...ip address command instead of the ip address command to configure MAD IP addresses on the BFD MAD enabled VLAN interface Make sure all the MAD IP addresses are on the same subnet To configure BFD MAD Step Command Remarks 1 Enter system view system view N A 2 Optional Assign a domain ID to the IRF fabric irf domain domain id By default the domain ID of an IRF fabric is 0 3 Create a VLAN dedicated t...

Page 32: ...AD links to the ARP MAD VLAN Do not use the ARP MAD VLAN for any other purposes ARP MAD and feature configuration If an intermediate device is used make sure the following requirements are met Run the spanning tree feature between the IRF fabric and the intermediate device to ensure that there is only one ARP MAD link in forwarding state For more information about the spanning tree feature and its...

Page 33: ...iguring ND MAD When you use ND MAD follow these guidelines Do not configure ND MAD on VLAN interface 1 Do not use the VLAN configured for ND MAD for any other purposes If an intermediate device is used you can use common data links as ND MAD links If no intermediate device is used set up dedicated ND MAD links between IRF member devices If an intermediate device is used make sure the following req...

Page 34: ...ew interface vlan interface vlan interface id N A 10 Assign the interface an IP address ipv6 address ipv6 address prefix length ipv6 address prefix length By default no IPv6 addresses are assigned to a VLAN interfaces 11 Enable ND MAD mad nd enable By default ND MAD is disabled Excluding a port from the shutdown action upon detection of multi active collision CAUTION Do not exclude a VLAN interfac...

Page 35: ...fabrics is recovered all member devices in the inactive IRF fabric automatically join the active IRF fabric as subordinate members The network ports that have been shut down by MAD automatically restore their original physical state as shown in Figure 13 Figure 13 Recovering the IRF fabric If the active IRF fabric fails before the IRF link is recovered see Figure 14 use the mad restore command on ...

Page 36: ...D come up automatically Displaying and maintaining an IRF fabric Execute display commands in any view Task Command Display information about all IRF members display irf Display the IRF fabric topology display irf topology Display IRF link information display irf link Display IRF configuration display irf configuration Display the load sharing mode for IRF links display irf port load sharing mode i...

Page 37: ...es are shut down in batch For more information see Layer 2 LAN Switching Configuration Guide Sysname system view Sysname interface range ten gigabitethernet 1 0 1 to ten gigabitethernet 1 0 4 Sysname if range shutdown Sysname if range quit Bind Ten GigabitEthernet 1 0 1 and Ten GigabitEthernet 1 0 2 to IRF port 1 1 Sysname irf port 1 1 Sysname irf port1 1 port group interface ten gigabitethernet 1...

Page 38: ...nd log in to Device B Details not shown Shut down the physical interfaces for IRF links Sysname system view Sysname interface range ten gigabitethernet 2 0 1 to ten gigabitethernet 2 0 4 Sysname if range shutdown Sysname if range quit Bind Ten GigabitEthernet 2 0 1 and Ten GigabitEthernet 2 0 2 to IRF port 2 1 Sysname irf port 2 1 Sysname irf port2 1 port group interface ten gigabitethernet 2 0 1 ...

Page 39: ... 2 Sysname irf port3 2 port group interface ten gigabitethernet 3 0 3 Sysname irf port3 2 port group interface ten gigabitethernet 3 0 4 Sysname irf port3 2 quit Bring up the physical interfaces and save the configuration Sysname interface range ten gigabitethernet 3 0 1 to ten gigabitethernet 3 0 4 Sysname if range undo shutdown Sysname if range quit Sysname save Activate the IRF port configurati...

Page 40: ...eate a dynamic aggregate interface and enable LACP MAD Sysname interface bridge aggregation 2 Sysname Bridge Aggregation2 link aggregation mode dynamic Sysname Bridge Aggregation2 mad enable You need to assign a domain ID range 0 4294967295 Current domain is 1 The assigned domain ID is 1 Info MAD LACP only enable on dynamic aggregation interface Sysname Bridge Aggregation2 quit Assign Ten GigabitE...

Page 41: ...ice Disable the spanning tree feature on the ports used for BFD MAD because the two features conflict with each other Figure 16 Network diagram Configuration procedure 1 Configure Device A Shut down the physical interfaces used for IRF links Sysname system view Sysname interface range ten gigabitethernet 1 0 1 to ten gigabitethernet 1 0 4 Sysname if range shutdown Sysname if range quit Device A De...

Page 42: ...numbering the member ID may result in configuration change or loss Continue Y N y Sysname quit Sysname reboot Connect Device B to Device A as shown in Figure 16 and log in to Device B Details not shown Shut down the physical interfaces used for IRF links Sysname system view Sysname interface range ten gigabitethernet 2 0 1 to ten gigabitethernet 2 0 4 Sysname if range shutdown Sysname if range qui...

Page 43: ...itethernet 3 0 2 Sysname irf port3 1 quit Bind Ten GigabitEthernet 3 0 3 and Ten GigabitEthernet 3 0 4 to IRF port 3 2 Sysname irf port 3 2 Sysname irf port3 2 port group interface ten gigabitethernet 3 0 3 Sysname irf port3 2 port group interface ten gigabitethernet 3 0 4 Sysname irf port3 2 quit Bring up the physical interfaces and save the configuration Sysname interface range ten gigabitethern...

Page 44: ... 2 0 5 Ten GigabitEthernet 3 0 5 and Ten GigabitEthernet 4 0 5 to VLAN 3 Sysname vlan 3 Sysname vlan3 port ten gigabitethernet 1 0 5 ten gigabitethernet 2 0 5 ten gigabitethernet 3 0 5 ten gigabitethernet 4 0 5 Sysname vlan3 quit Create VLAN interface 3 and configure a MAD IP address for each member device on the VLAN interface Sysname interface vlan interface 3 Sysname Vlan interface3 mad bfd ena...

Page 45: ...oops run the spanning tree feature between Device E and the IRF fabric Figure 17 Network diagram Configuration procedure 1 Configure Device A Shut down the physical interfaces used for IRF links Sysname system view Sysname interface range ten gigabitethernet 1 0 1 to ten gigabitethernet 1 0 4 Sysname if range shutdown Sysname if range quit Bind Ten GigabitEthernet 1 0 1 and Ten GigabitEthernet 1 0...

Page 46: ... or loss Continue Y N y Sysname quit Sysname reboot Connect Device B to Device A as shown in Figure 17 and log in to Device B Details not shown Shut down the physical interfaces used for IRF links Sysname system view Sysname interface range ten gigabitethernet 2 0 1 to ten gigabitethernet 2 0 4 Sysname if range shutdown Sysname if range quit Bind Ten GigabitEthernet 2 0 1 and Ten GigabitEthernet 2...

Page 47: ...ind Ten GigabitEthernet 3 0 3 and Ten GigabitEthernet 3 0 4 to IRF port 3 2 Sysname irf port 3 2 Sysname irf port3 2 port group interface ten gigabitethernet 3 0 3 Sysname irf port3 2 port group interface ten gigabitethernet 3 0 4 Sysname irf port3 2 quit Bring up the physical interfaces and save the configuration Sysname interface range ten gigabitethernet 3 0 1 to ten gigabitethernet 3 0 4 Sysna...

Page 48: ...ature globally Map the ARP MAD VLAN to MSTI 1 in the MST region Sysname system view Sysname stp global enable Sysname stp region configuration Sysname mst region region name arpmad Sysname mst region instance 1 vlan 3 Sysname mst region active region configuration Sysname mst region quit Configure the IRF fabric to change its bridge MAC address as soon as the address owner leaves Sysname undo irf ...

Page 49: ...figuration DeviceE mst region quit Create VLAN 3 and assign Ten GigabitEthernet 1 0 1 Ten GigabitEthernet 1 0 2 Ten GigabitEthernet 1 0 3 and Ten GigabitEthernet 1 0 4 to VLAN 3 for forwarding ARP MAD packets DeviceE vlan 3 DeviceE vlan3 port ten gigabitethernet 1 0 1 to ten gigabitethernet 1 0 4 DeviceE vlan3 quit ND MAD enabled IRF configuration example Network requirements As shown in Figure 18...

Page 50: ...ysname irf port 1 2 Sysname irf port1 2 port group interface ten gigabitethernet 1 0 3 Sysname irf port1 2 port group interface ten gigabitethernet 1 0 4 Sysname irf port1 2 quit Bring up the physical interfaces and save the configuration Sysname interface range ten gigabitethernet 1 0 1 to ten gigabitethernet 1 0 4 Sysname if range undo shutdown Sysname if range quit Sysname save Activate the IRF...

Page 51: ... ten gigabitethernet 2 0 3 Sysname irf port2 2 port group interface ten gigabitethernet 2 0 4 Sysname irf port2 2 quit Bring up the physical interfaces and save the configuration Sysname interface range ten gigabitethernet 2 0 1 to ten gigabitethernet 2 0 4 Sysname if range undo shutdown Sysname if range quit Sysname save Activate the IRF port configuration Sysname irf port configuration active Th...

Page 52: ...ay 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 18 and log in to Device D Details not shown Shut down the physical interfaces used for IRF links Sysname system view Sysname interface range ten gigabitethernet 4 0 1 to ten gigabitethernet 4 0 4 Sysname if range shutdown Sysname if range quit Bind Ten G...

Page 53: ... ten gigabitethernet 3 0 5 ten gigabitethernet 4 0 5 Sysname vlan3 quit Create VLAN interface 3 assign it an IPv6 address and enable ND MAD on the interface Sysname interface vlan interface 3 Sysname Vlan interface3 ipv6 address 2001 1 64 Sysname Vlan interface3 mad nd enable You need to assign a domain ID range 0 4294967295 Current domain is 1 The assigned domain ID is 1 6 Configure Device E as t...

Page 54: ...48 DeviceE vlan3 port ten gigabitethernet 1 0 1 to ten gigabitethernet 1 0 4 DeviceE vlan3 quit ...

Page 55: ...ACP MAD 23 IRF link load sharing mode 19 IRF link load sharing mode global 20 IRF link load sharing mode port specific 20 IRF MAD 23 IRF member device description 19 IRF ND MAD 27 connecting IRF physical interface 16 D detecting IRF fabric ARP MAD 10 IRF fabric BFD MAD 9 IRF fabric failure recovery 7 IRF fabric LACP MAD 8 IRF fabric ND MAD 11 IRF MAD handling procedure 6 device IRF ARP MAD configu...

Page 56: ...ntelligent Resilient Framework Use IRF interface IRF naming conventions 4 IRF ARP MAD 10 ARP MAD configuration 26 basic concepts 2 basic settings bulk configuration 18 BFD MAD 9 BFD MAD configuration 24 bridge MAC persistence 20 collision handling 6 configuration backup 13 configuration synchronization 5 device member ID assignment 15 device member priority 15 domain ID 2 fabric access 18 fabric A...

Page 57: ...ysical interface port bind 16 merging IRF master election 6 IRF merge 3 multi active detection Use MAD N naming IRF naming conventions file system 4 IRF naming conventions interface 4 ND MAD See ND MAD ND MAD IRF fabric ND MAD 11 IRF fabric ND MAD configuration 43 IRF ND MAD configuration 27 network IRF ARP MAD configuration 26 IRF basic settings bulk configuration 18 IRF BFD MAD configuration 24 ...

Page 58: ...e description 19 configuring IRF ND MAD 27 connecting IRF physical interface 16 displaying IRF fabric 30 enabling IRF software auto update 21 excluding IRF port from shutdown action 28 planning IRF fabric setup 14 recovering IRF fabric 29 setting IRF link down report delay 22 specifying IRF device member priority 15 R recovering IRF fabric 29 IRF fabric failure recovery 7 remote IRF fabric access ...

Page 59: ...AD configuration 31 IRF fabric ND MAD 11 IRF fabric ND MAD configuration 43 IRF fabric recovery 29 IRF fabric setup 1 14 IRF LACP MAD configuration 23 IRF link down report delay 22 IRF link load sharing mode 19 IRF loop elimination mechanism 5 IRF MAD configuration 23 IRF MAD handling procedure 6 IRF MAD mechanism 7 IRF master election 6 IRF member device description 19 IRF naming conventions file...

Reviews: