Page 2
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V 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.
Page 3
Preface The H3C S5800&S5820X documentation set includes 11 command references, which describe the commands and command syntax options for the S5800&S5820X Release 1110. The IRF Command Reference describes IRF configuration commands for creating an IRF virtual device. It covers the commands for binding physical ports to an IRF port, configuring the member switch ID and priority, and detecting and maintaining the IRF link.
Page 4
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.
Page 5
Interface Cards User available for the products. Manual Describes the benefits, features, hardware H3C OAP Cards User specifications, installation, and removal of the OAP Manual cards available for the products. H3C Low End Series...
Page 6
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 &...
IRF Configuration Commands IRF Configuration Commands display irf Syntax display irf View Any view Default Level 1: Monitor level Parameters None Description Use the display irf command to display information about the current Intelligent Resilient Framework (IRF) virtual device, which has the device you are working on as its member. The command displays information about members of an IRF virtual device, and information about devices that are joining this IRF virtual device.
Table 1-1 display irf command output description Field Description Member ID. Switch The ID with * indicates that the device is the master; The ID with + indicates that it is the device that you are working on. The role of a member of the IRF virtual device, which takes the following values: Slave Role...
Examples # Display the pre-configurations of all members of the current IRF virtual device. <Sysname> display irf configuration MemberID NewID IRF-Port1 IRF-Port2 Ten-GigabitEthernet2/0/28 Ten-GigabitEthernet2/0/26 Ten-GigabitEthernet3/0/25 Ten-GigabitEthernet3/0/27 -------------------------------------------------------- * indicates the device is the master. + indicates the device through which the user logs in. Table 1-2 display irf configuration command output description Field Description...
<Sysname> display irf topology Topology Info ----------------------------------------------------------------------- IRF-Port1 IRF-Port2 Switch Link neighbor Link neighbor Belong To DOWN 000f-cbb8-1a82 000f-cbb8-1a82 000f-cbb8-1a82 -------------------------------------------------------------------------- * indicates the device is the master. + indicates the device through which the user logs in. Table 1-3 display irf topology command output description Field Description Member ID (The ID with * indicates that the device is the master;...
Page 12
Description Use the display irf-port load-sharing mode command to display the global IRF port load sharing mode, or the load sharing mode on an aggregate IRF port. Note that: If the irf-port keyword is not provided, execution of this command displays the global IRF port load sharing mode.
Layer 3 traffic: destination-ip address, source-ip address Table 1-4 display irf-port load-sharing mode command output description Field Description Global IRF port load sharing mode: If default configuration is applied, port load sharing mode for irf-port Load-Sharing Mode processing both Layer 2 and Layer 3 packets is displayed. If non-default configuration is applied, user configured load sharing mode is displayed.
<Sysname> display mad verbose Current MAD status: Detect Excluded ports(configurable): GigabitEthernet2/0/2 GigabitEthernet2/0/3 Excluded ports(can not be configured): Ten-GigabitEthernet2/0/25 Ten-GigabitEthernet3/0/26 MAD enabled aggregation port: Bridge-Aggregation2 MAD BFD enabled interface: Vlan-interface2 mad ip address 10.0.0.2 255.255.0.0 member 2 mad ip address 10.0.0.3 255.255.0.0 member 3 Table 1-5 display mad command output description Field Description...
Page 15
Default Level 1: Monitor level 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, the command displays the master/slave switchover state of the specified member. Without this argument, the command displays the master/slave switchover state of the master.
# Display the master/slave switchover state of slave 6. <Sysname> display switchover state 6 Slave HA State: Receiving realtime data. The above information shows that slave 6 is receiving real time backup data. Table 1-7 display switchover state command output description for a slave Field Description Indicates that this output information is generated by a slave.
Examples # Enable auto upgrade of boot files for an IRF virtual device. <Sysname> system-view [Sysname] irf auto-update enable irf domain Syntax irf domain domain-id undo irf domain View System view Default Level 3: Manage level Parameters domain-id: Domain ID assigned to an IRF virtual device, which is in the range 0 to 4294967295. Description Use the irf domain command to assign a domain ID for an IRF virtual device.
Parameters interval: Time interval for the link layer to report a link-down event of an IRF virtual device, in milliseconds, in the range 200 to 2000. Description Use the irf link-delay command to set the delay time for the link layer to report a link-down event of an IRF virtual device.
Preserve permanently: No matter whether the master leaves the IRF virtual device or not, the bridge MAC address of the IRF virtual device remains unchanged. Not preserved: 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.
Master 00e0-fc00-1015 Slave 00e0-fc00-1515 -------------------------------------------------------- * indicates the device is the master. + indicates the device through which the user logs in. The Bridge MAC of the IRF is: 00e0-fc00-1000 Auto upgrade : yes Mac persistent : always The above information shows that the member ID of the local device is 3, and you can specify a priority for the local device by providing its member ID.
members (of same device model) with the member IDs of 1, 2 and 3 are connected to an IRF port. Assume that each member has several ports: change the member ID of device 2 to 3, change that of device 3 to 2, reboot both devices, and add them into the IRF virtual device again. Then device 2 uses the original port configurations of device 3, and device 3 uses those of device 2.
debugging terminal debugging terminal trapping terminal logging The console of the master neither time out nor output any information. To return to the console of the master, execute the quit command. The master is therefore reactivated and is ready for outputting information.
At present, when configuring IRF port load sharing mode in system view, you can specify: any of the source IP address, destination IP address, source MAC address or destination MAC address separately as the hash key; the combination of the source and the destination IP addresses as the hash key;...
For this command, the latter configuration can only overwrite the former one. Assume that the current load sharing mode uses the destination MAC address as the hash key. To change it to the combination of source and destination MAC addresses, you cannot only execute the irf-port load-sharing mode source-mac command, and you must re-configure the load sharing mode by executing the irf-port load-sharing mode destination-mac source-mac command.
Connect SFP+ cables or fibers and make sure that the physical IRF ports are well connected. Create IRF ports. Bind physical IRF ports to IRF ports. Save the current configurations to the configuration file to be used at the next startup. Activate configurations on all IRF ports.
By default, the LACP MAD detection is disabled. This command is only effective to a dynamic aggregation interface, so execute this command on a dynamic aggregation interface. Examples # Enable LACP MAD detection on Layer 2 dynamic aggregation interface 1. <Sysname>...
Examples # Specify GigabitEthernet 2/0/1 as the reserved port. In other words, this port is not disabled when the device is in the recovery state. <Sysname> system-view [Sysname] mad exclude interface gigabitethernet 2/0/1 mad ip address Syntax mad ip address ip-address { mask | mask-length } member member-id undo mad ip address ip-address { mask | mask-length } member member-id View VLAN interface view...
address configured with the ip address command and VRRP virtual IP address. Otherwise, the MAD detection function is affected. Examples # Configure the MAD IP addresses for VLAN-interface 3 on member 1 and member 2. <Sysname> system-view [Sysname] interface vlan-interface 3 [Sysname-Vlan-interface3] mad ip address 192.12.0.1 255.255.255.0 member 2 [Sysname-Vlan-interface3] mad ip address 192.12.0.2 255.255.255.0 member 3 mad restore...
Page 31
View IRF port view Default Level 3: Manage level Parameters interface-type interface-number: Specifies port type and port number. For the available physical IRF ports on different device models, see IRF Configuration Guide. interface-name: Name of a physical IRF port, in the format of interface-type+interface-number. mode: Sets the operating mode of the physical IRF port.
Index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z irf-port load-sharing mode (system view) 1-16 irf-port 1-15 irf-port-configuration active 1-18 display irf configuration display irf topology display irf display irf-port load-sharing mode...
Need help?
Do you have a question about the PSR150-A and is the answer not in the manual?
Questions and answers