H3C S5820X&S5800 Series Ethernet Switches
IRF
Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Document Version:
6W103
-
20100716
Product Version:
Release 1110
Page 1: ...H3C S5820X S5800 Series Ethernet Switches IRF Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Document Version 6W103 20100716 Product Version Release 1110 ...
Page 2: ...mware 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 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 ...
Page 3: ...or z Network planners z Field technical support and servicing engineers z Network administrators working with the S5800 and S5820X series Document Organization The IRF Command Reference comprises the following part IRF Configuration Commands Conventions This section describes the conventions used in this documentation set Command conventions Convention Description Boldface Bold text represents com...
Page 4: ...0X 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 150...
Page 5: ...00 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 ...
Page 6: ...y 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 P...
Page 7: ...irf auto update enable 1 9 irf domain 1 10 irf link delay 1 10 irf mac address persistent 1 11 irf member priority 1 12 irf member renumber 1 13 irf switch to 1 14 irf port 1 15 irf port load sharing mode system view 1 16 irf port load sharing mode IRF port view 1 17 irf port configuration active 1 18 mad bfd enable 1 19 mad enable 1 20 mad exclude interface 1 21 mad ip address 1 22 mad restore 1 ...
Page 8: ... command displays information about members of an IRF virtual device and information about devices that are joining this IRF virtual device Examples Display information about the current IRF virtual device Sysname display irf Switch Role Priority CPU Mac 1 Slave 29 00e0 fc00 1115 2 Slave 1 00e0 fc00 1615 3 Master 32 00e0 fc00 1015 9 Slave 30 00e0 fc00 1515 indicates the device is the master indica...
Page 9: ...s not change within six minutes z always No matter whether the master leaves the IRF virtual device or not the bridge MAC address remains unchanged z no As soon as the master leaves the IRF virtual device uses the bridge MAC address of the newly elected master as its bridge MAC address Domain ID Domain ID assigned to an IRF virtual device A domain ID is used to uniquely identify an IRF virtual dev...
Page 10: ...nfigured for a device after its reboot IRF Port1 Configuration of IRF Port1 If it is displayed as multiple ports it indicates that the IRF port is aggregated from these physical IRF ports If it is displayed as disable it indicates that the IRF port is not enabled IRF Port2 Configuration of IRF Port2 If it is displayed as multiple ports it indicates that the IRF port is aggregated from these physic...
Page 11: ...including link and neighbor Link Link state of the IRF port z UP z DOWN z DIS The IRF port is not enabled neighbor The device ID that connects to this IRF port If the IRF port does not connect to any device is displayed Belong To The IRF virtual device that the device belongs to represented by the CPU MAC address of the master display irf port load sharing mode Syntax display irf port load sharing...
Page 12: ...ayer 3 traffic packet type based sharing z Non default configuration Sysname display irf port load sharing mode irf port Load Sharing Mode destination mac address source mac address Display the load sharing mode on IRF port 1 1 z Default configuration Sysname display irf port load sharing mode irf port 1 1 irf port 1 1 Load Sharing Mode Layer 2 traffic packet type based sharing Layer 3 traffic pac...
Page 13: ...mbination of both the source and the destination MAC addresses as the hash key for load sharing Layer 3 traffic packet type based sharing Default port load sharing mode for processing Layer 3 packets uses the combination of both the source and the destination IP addresses as the hash key for load sharing destination mac address source mac address User configured load sharing mode uses the combinat...
Page 14: ...ll unreserved ports are automatically disabled z Detect to Recovery The intermediate state between detect and recovery z Recovery to Detect The intermediate state between recovery and detect Excluded ports configurable User configured reserved ports Excluded ports can not be configured System reserved ports which do not need to be configured and are automatically reserved MAD enabled aggregation p...
Page 15: ...h is equal to the member ID Examples Display the master slave switchover states of the master Sysname display switchover state Master HA State to Slot 1 Slave is absent Master HA State to Slot 2 Slave is absent Master HA State to Slot 4 Waiting batch backup request from slave Master HA State to Slot 5 Slave is absent Master HA State to Slot 6 Realtime backup to slave Master HA State to Slot 7 Real...
Page 16: ...e irf auto update enable command to enable the auto update of boot files for an IRF virtual device Use the undo irf auto update enable command to disable this function This function is enabled by default Note the following z Ensure that the device and the master have the same software version before adding a device into the IRF virtual device z After automatically loading the master s boot file a ...
Page 17: ...ch is in the range 0 to 4294967295 Description Use the irf domain command to assign a domain ID for an IRF virtual device Use the irf domain command to restore the default By default the domain ID of an IRF virtual device is 0 Domain IDs are used to differentiate IRF virtual devices Examples Set the domain ID of the IRF virtual device to 30 Sysname system view Sysname irf domain 30 irf link delay ...
Page 18: ...ge level Parameters timer Bridge MAC address preservation mode for an IRF virtual device With this keyword specified the bridge MAC address is preserved for 6 minutes when the master leaves always Bridge MAC address preservation mode With this keyword specified the bridge MAC address is preserved permanently Description Use the irf mac address persistent command to configure the preservation time ...
Page 19: ... value range depends on the current number of members and their member IDs With this argument provided you can specify a priority for another member on this device To view the member IDs use the display irf command priority Priority value in the range 1 to 32 Description Use the irf member priority command to specify a priority for a member device Use the undo irf member priority command to restor...
Page 20: ... Parameters member id Specifies the ID of a member of an IRF virtual device The value range depends on the current number of members and their member IDs With this argument provided you can change a member ID of another member on this device To view the member IDs use the display irf command new member id New ID of the IRF member which ranges from 1 to 10 Description Use the irf member renumber co...
Page 21: ... id Specifies the ID of a member of an IRF virtual device The value range depends on the current number of members and their member IDs The member id argument in this command cannot be the member ID of the master To view the member IDs use the display irf command Description Use the irf switch to command to redirect to the specified slave device so that you can directly access the slave When you a...
Page 22: ...ts the member ID of the device in the IRF which you can display with the display irf command The port number argument specifies the port number and the value can be either 1 or 2 Description Use the irf port command to create an IRF port and enter IRF port view If the IRF port is already created use this command to enter IRF port view Use the undo irf port command to delete the specified IRF port ...
Page 23: ...es use the inbound port number as the hash key z Other models of the S5820X series and S5800 series switches use the combination of the source and destination MAC addresses as the hash key when processing Layer 2 packets and use the combination of the source and destination IP addresses when processing Layer 3 packets After you specify a load sharing mode the switch extracts the corresponding fiel...
Page 24: ...estination MAC address as the hash key source ip Uses the source IP address as the hash key source mac Uses the source MAC address as the hash key Description Use the irf port load sharing mode command to configure the load sharing mode for an IRF port Use the undo irf port load sharing mode command to restore the default By default z The S5800 56C and S5800 56C PWR switches use the inbound port n...
Page 25: ... Sysname irf port 1 1 Sysname irf port 1 1 irf port load sharing mode destination mac irf port configuration active Syntax irf port configuration active View System view Default Level 3 Manage level Parameters None Description Use the irf port configuration active command to activate configurations on all IRF ports on the device When you physically connect members of an IRF virtual device and bind...
Page 26: ...ew Sysname interface ten gigabitEthernet 1 0 27 Sysname Ten GigabitEthernet1 0 27 shutdown Sysname Ten GigabitEthernet1 0 27 quit Sysname irf port 1 2 Sysname irf port1 2 port group interface Ten GigabitEthernet 1 0 27 Sysname irf port1 2 quit Sysname interface ten gigabitEthernet 1 0 27 Sysname Ten GigabitEthernet1 0 27 undo shutdown Sysname Ten GigabitEthernet1 0 27 quit z Save the current confi...
Page 27: ... enabled with BFD MAC detection and the interfaces of this VLAN do not support any Layer 2 and Layer 3 protocol applications including ARP and LACP z You cannot enable BFD MAD detection on VLAN interface 1 Examples Enable BFD MAD detection on VLAN interface 3 Sysname system view Sysname interface vlan interface 3 Sysname Vlan interface3 mad bfd enable mad enable Syntax mad enable undo mad enable V...
Page 28: ...re automatically disabled when the IRF virtual device is in the recovery state A link failure causes an IRF virtual device to be divided into two or more IRF virtual devices with the same global configuration which may cause network failure Therefore the multi active detection MAD mechanism is introduced to solve this problem When an IRF virtual device partitions the MAD mechanism can detect the p...
Page 29: ...tion Use the mad ip address command to configure the MAD IP address for the specified member device Use the undo mad ip address command to delete the configured MAD IP address By default no MAD IP address is configured for a VLAN interface All members of an IRF virtual device need to be configured with their own MAD IP addresses which are bound to member IDs and are on the same network segment How...
Page 30: ...n occurs the original IRF virtual device partitions into multiple active IRF virtual devices With the MAD detection enabled the state of one IRF virtual device remains active and the state of the other IRF virtual devices are recovery an IRF virtual device in recovery state cannot process data traffic If the active IRF virtual device fails and cannot operate normally use this command to restore IR...
Page 31: ...efault no IRF port is created on the device An IRF port can be bound to either one physical IRF port or multiple physical IRF ports The maximum number of physical IRF ports that can be bound to an IRF port is four on the S5800 or S5820X series Before binding a physical IRF port to an IRF port you must first disable the physical IRF port with the shutdown command under physical IRF port view and th...
Page 32: ...o update enable 1 9 irf domain 1 10 irf link delay1 10 irf mac address persistent 1 11 irf member priority 1 12 irf member renumber 1 13 irf switch to 1 14 irf port load sharing mode IRF port view 1 17 irf port load sharing mode system view 1 16 irf port 1 15 irf port configuration active 1 18 J K L M mad bfd enable 1 19 mad enable 1 20 mad exclude interface 1 21 mad ip address 1 22 mad restore1 2...
Page 33: ...2 2 W X Y Z ...