H3C S5830V2 Irf Command Reference
Hide thumbs Also See for S5830V2:

Advertisement

Quick Links

H3C S5830V2 & S5820V2 Switch Series
IRF Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release2108
Document version: 6W101-20120531

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5830V2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S5830V2

  • Page 1 H3C S5830V2 & S5820V2 Switch Series IRF Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release2108 Document version: 6W101-20120531...
  • 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 Notice The information in this document is subject to change without notice.
  • Page 3 Preface The H3C S5830V2 & S5820V2 documentation set includes 10 command references, which describe the commands and command syntax options available for the H3C S5830V2 & S5820V2 Switch Series. The IRF Command Reference describes IRF configuration commands for creating an IRF fabric. 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 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. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
  • Page 5 Command references commands. 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] –...
  • Page 6: Table Of Contents

    Contents IRF commands ······························································································································································ 1   display irf ·································································································································································· 1   display irf configuration ··········································································································································· 2   display irf topology ·················································································································································· 3   display irf-port load-sharing mode ·························································································································· 4   display mad ······························································································································································ 5   irf auto-update enable ·············································································································································· 7  ...
  • Page 7: Irf Commands

    IRF commands display irf Use display irf to display IRF fabric information, including the member ID, role, priority, bridge MAC address, and description of each IRF member. Syntax display irf Views Any view Predefined user roles network-admin network-operator Examples # Display IRF fabric information. <Sysname>...
  • Page 8: Display Irf Configuration

    Field Description CPU-MAC MAC address of the CPU in the device. Description you have configured for the member device. • If no description is configured, this field displays a dashed line (-----). Description • If the description exceeds the maximum number of characters that can be displayed, an ellipsis (…) is displayed in place of the exceeding text.
  • Page 9: Display Irf Topology

    MemberID NewID IRF-Port1 IRF-Port2 Ten-GigabitEthernet2/0/25 Ten-GigabitEthernet2/0/26 Ten-GigabitEthernet5/0/25 Ten-GigabitEthernet5/0/26 Ten-GigabitEthernet5/0/27 Ten-GigabitEthernet5/0/28 Ten-GigabitEthernet10/0/25 Ten-GigabitEthernet10/0/26 Ten-GigabitEthernet10/0/27 Ten-GigabitEthernet10/0/28 Table 2 Command output Field Description MemberID Current member ID of the device. NewID Member ID assigned to the device. This member ID takes effect at reboot. Physical ports bound to IRF port 1.
  • Page 10: Display Irf-Port Load-Sharing Mode

    Table 3 Command output Field Description IRF-Port1 Information about IRF port 1, including its link state and neighbor. IRF-Port2 Information about IRF port 2, including its link state and neighbor. MemberID IRF member ID. Link state of the IRF port: •...
  • Page 11: Display Mad

    To display the load sharing mode used on each IRF port in the IRF fabric, specify the irf-port keyword but not any IRF port. To display the load sharing mode used on a specific IRF port, specify both the irf-port keyword and the member-id/port-number argument.
  • Page 12 Syntax display mad [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters verbose: Displays detailed MAD information. If this keyword is not specified, the command only displays whether a MAD mechanism is enabled. Examples # Display brief MAD information. <Sysname>...
  • Page 13: Irf Auto-Update Enable

    irf auto-update enable Use irf auto-update enable to enable the software auto-update function for propagating software images of the master in an IRF fabric to all its members. Use undo irf auto-update enable to disable the software auto-update function. Syntax irf auto-update enable undo irf auto-update enable Default...
  • Page 14: Irf Link-Delay

    Views Any view Predefined user roles network-admin Parameters domain-id: Specifies a domain ID for the IRF fabric. The value range is 0 to 4294967295. Usage guidelines One IRF fabric forms one IRF domain. IRF uses IRF domain IDs to uniquely identify IRF fabrics and prevent IRF fabrics from interfering with one another.
  • Page 15: Irf Mac-Address Persistent

    When the IRF link changes from down to up, the link layer immediately reports the event to the IRF • fabric. Examples # Set the IRF link down report delay to 300 milliseconds. <Sysname> system-view [Sysname] irf link-delay 300 irf mac-address persistent Use irf mac-address persistent to configure IRF bridge MAC persistence so the IRF fabric continues using the bridge MAC address of the old master as its bridge MAC address for a period of time after a master re-election.
  • Page 16: Irf Member Description

    Examples # Enable the IRF bridge MAC address to persist forever. <Sysname> system-view [Sysname] irf mac-address persistent always irf member description Use irf member description to configure a description for an IRF member. Use undo irf member description to restore the default. Syntax irf member member-id description text undo irf member member-id description...
  • Page 17: Irf Member Renumber

    Predefined user roles network-admin Parameters member-id: Specifies an IRF member ID. priority: Sets priority, in the range of 1 to 32. The greater the priority value, the higher the priority. A member with higher priority is more likely to be the master. Usage guidelines Change member priority assignment to affect the maser election result.
  • Page 18: Irf-Port

    Parameters member-id: Specifies the ID of an IRF member. new-member-id: Assigns a new ID to the IRF member. Usage guidelines CAUTION: Changing the IRF member ID of a device can cause losses of member ID related configurations, including settings on physical ports, at reboot. To have the new ID take effect, you must reboot the IRF member.
  • Page 19: Irf-Port Global Load-Sharing Mode

    Usage guidelines To set up an IRF link between two devices, you must enter IRF port view to bind physical ports to the IRF port used by each device for IRF connection. Before removing all port bindings on an IRF port, shut down all its physical ports. Examples # Bind Ten-GigabitEthernet 3/0/48 to IRF port 3/1.
  • Page 20: Irf-Port Load-Sharing Mode

    If you configure the global load sharing mode multiple times, the last configuration takes effect. You can also configure a port-specific load sharing mode for an IRF port in IRF port view. An IRF port preferentially uses the port-specific load sharing mode. If no port-specific load sharing mode is available, it uses the global load sharing mode.
  • Page 21: Irf-Port-Configuration Active

    An IRF port preferentially uses the port-specific load sharing mode. If no port-specific load sharing mode is available, it uses the global load sharing mode. Examples # Configure a port-specific load sharing mode for IRF port 1/1 to distribute traffic based on destination MAC address.
  • Page 22: Mad Arp Enable

    [Sysname] irf-port 1/2 [Sysname-irf-port1/2] port group interface Ten-GigabitEthernet 1/0/27 Info : You are recommended to save the configuration now; otherwise, it will be lost after system reboot. [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 # Save the configuration so the IRF port settings can take effect after the device reboots. [Sysname] save The current configuration will be written to the device.
  • Page 23: Mad Nd Enable

    Examples # Enable ARP MAD on VLAN-interface 3. <Sysname> system-view [Sysname] interface vlan-interface 3 [Sysname-Vlan-interface3] mad arp enable You need to assign a domain ID (range: 0-4294967295) [Current domain is: 0]: 1 The assigned domain ID is: 1 Related commands irf domain mad nd enable Use mad nd enable to enable ND MAD.
  • Page 24: Mad Enable

    Related commands irf domain mad enable Use mad enable to enable LACP MAD. Use undo mad enable to disable LACP MAD. Syntax mad enable undo mad enable Default LACP MAD is disabled. Views Aggregate interface view Predefined user roles network-admin Usage guidelines LACP MAD uses extended LACP packets for detecting multi-active collisions and requires an intermediate device.
  • Page 25: Mad Restore

    IRF ports and those manually configured to not shut down. If a port must be kept in up state for special purposes such as telnet connection, exclude it from the shutdown action. To avoid problems, H3C recommends excluding only the one used for Telnet for the management purpose.
  • Page 26: Port Group Interface

    Usage guidelines When MAD detects that an IRF fabric has split into multiple IRF fabrics, only the one whose master has the lowest member ID among all the masters can still forward traffic. All the other fabrics are set in Recovery state and cannot forward traffic.
  • Page 27 Examples # Bind Ten-GigabitEthernet 3/0/47 and Ten-GigabitEthernet 3/0/48 to IRF port 3/1 on IRF member 3. Because these two ports belong to the same group as ports Ten-GigabitEthernet 3/0/45 and Ten-GigabitEthernet 3/0/46, you must shut down these two ports when you shut down the two IRF physical ports and bring up these two ports when you bring up the two IRF physical ports.
  • Page 28: Index

    Index D I M P irf member renumber,1 1 irf-port,12 display irf,1 irf-port global load-sharing mode,13 display irf configuration,2 irf-port load-sharing mode,14 display irf topology,3 irf-port-configuration active,15 display irf-port load-sharing mode,4 display mad,5 mad arp enable,16 enable,18 irf auto-update enable,7 mad exclude interface,18 domain,7...

This manual is also suitable for:

S5820v2

Table of Contents