H3C S5130-EI Series Manual

H3C S5130-EI Series Manual

Hide thumbs Also See for S5130-EI Series:

Advertisement

Quick Links

H3C S5130-EI Switch Series
IRF Command Reference
New H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 311x
Document version: 6W102-20180323

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5130-EI Series and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S5130-EI Series

  • Page 1 H3C S5130-EI Switch Series IRF Command Reference New H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 311x Document version: 6W102-20180323...
  • Page 2 , H3CS, H3CIE, H3CNE, Aolynk, Care, , IRF, NetPilot, Netflow, SecEngine, 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.
  • Page 3 Preface This command reference describes the IRF configuration commands for setting up and maintaining an H3C S5130-EI IRF fabric. This preface includes the following topics about the documentation: • Audience • Conventions • Documentation feedback Audience This documentation is intended for: •...
  • Page 4 Symbols Convention Description An alert that calls attention to important information that if not understood or followed WARNING! can result in personal injury. An alert that calls attention to important information that if not understood or followed CAUTION: can result in data loss, data corruption, or damage to hardware or software. An alert that calls attention to essential information.
  • Page 5 Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
  • Page 6: Table Of Contents

    Contents IRF commands ················································································ 1     display irf ··························································································································· 1   display irf configuration ········································································································· 2   display irf link ······················································································································ 3   display irf topology ··············································································································· 4   display irf-port load-sharing mode ··························································································· 5   display mad ························································································································ 6  ...
  • 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 Description you have configured for the member device. • If no description is configured, this field displays a dashed line (-----). • If the description exceeds the maximum number of characters that can be Description displayed, an ellipsis (…) is displayed in place of the exceeding text. To display the complete description, use the display current-configuration command.
  • Page 9: Display Irf Link

    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 interfaces bound to IRF-port 1. The bindings take effect at reboot. IRF-Port1 This field displays disable if no physical interfaces are bound to the IRF port.
  • Page 10: Display Irf Topology

    Ten-GigabitEthernet2/0/28 DOWN Table 3 Command output Field Description Member ID IRF member ID. IRF port number: • IRF Port 1—IRF-port 1. • 2—IRF-port 2. Physical interfaces bound to the IRF port. This field displays disable if no Interface physical interfaces have been bound to the IRF port. Link state of the IRF physical interface: •...
  • Page 11: Display Irf-Port Load-Sharing Mode

    Field Description Link state of the IRF port: • UP—The IRF link is up. • DOWN—The IRF link is down because the port has no physical link or has not been activated by the irf-port-configuration active command. • DIS—No physical interfaces have been bound to the IRF port. You can Link use the port group interface command to bind a minimum of one physical interface to the IRF port depending on the network...
  • Page 12: Display Mad

    <Sysname> display irf-port load-sharing mode irf-port Load-Sharing Mode: Layer 2 traffic: packet type-based sharing Layer 3 traffic: packet type-based sharing # Display the global load sharing mode for IRF links. In this example, because a user-defined global load sharing mode has been configured, the user-defined global load sharing mode applies. <Sysname>...
  • Page 13 Views Any view Predefined user roles network-admin network-operator Parameters verbose: Displays detailed MAD information. If you do not specify this keyword, the command only displays whether a MAD mechanism is enabled or disabled. Examples # Display brief MAD information. MAD ARP enabled. MAD ND enabled.
  • Page 14: Irf Auto-Update Enable

    Table 6 Command output Field Description Whether the IRF fabric is in Recovery state: • Yes—The IRF fabric is in Recovery state. When MAD detects that an IRF fabric has split into multiple IRF fabrics, it allows one fabric to forward traffic.
  • Page 15: Irf Domain

    Syntax irf auto-update enable undo irf auto-update enable Default The software auto-update function is enabled. Views System view Predefined user roles network-admin Usage guidelines To join an IRF fabric, a device must use the same software images as the master in the IRF fabric. The software auto-update function propagates the current software images of the master in an IRF fabric to all its members automatically.
  • Page 16: Irf Link-Delay

    Views System 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 17: Irf Mac-Address Persistent

    • When the IRF link changes from down to up, the link layer immediately reports the event to the IRF fabric. When you configure the IRF link down report delay, follow these restrictions and guidelines: • Make sure the IRF link down report delay is shorter than the heartbeat timeout settings of upper-layer protocols (for example, CFD).
  • Page 18: Irf Member Description

    If ARP MAD or ND MAD is used, disable IRF bridge MAC persistence by using the undo irf mac-address persistent command. Use the irf mac-address persistent always command on the IRF fabric that meets the following requirements: • The IRF fabric uses a daisy-chain topology. •...
  • Page 19: Irf Member Priority

    Examples # Configure a description for IRF member 1. <Sysname> system-view [Sysname] irf member 1 description F1Num001 irf member priority Use irf member priority to change the priority of an IRF member. Use undo irf member priority to restore the default. Syntax irf member member-id priority priority undo irf member member-id priority...
  • Page 20: Irf-Port

    Predefined user roles network-admin Parameters member-id: Specifies the ID of an IRF member, in the range of 1 to 10. new-member-id: Assigns a new ID to the IRF member, in the range of 1 to 10. Usage guidelines CAUTION: IRF member ID change can cause losses of member ID-related configurations at reboot, including settings on physical interfaces.
  • Page 21: Irf-Port Global Load-Sharing Mode

    Usage guidelines To bind physical interfaces to IRF ports for IRF connection, you must enter IRF port view. Before you remove all port bindings on an IRF port, shut down all its physical interfaces. Examples # Bind Ten-GigabitEthernet 3/0/25 to IRF-port 3/1. <Sysname>...
  • Page 22: Irf-Port Load-Sharing Mode

    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, the port uses the global load sharing mode. Examples # Configure the global IRF link load sharing mode to distribute traffic based on destination MAC address.
  • Page 23: Irf-Port-Configuration Active

    Examples # Configure a port-specific load sharing mode for IRF-port 1/1 to distribute traffic based on destination MAC address. <Sysname> system-view [Sysname] irf-port 1/1 [Sysname-irf-port1/1] irf-port load-sharing mode destination-mac irf-port-configuration active Use irf-port-configuration active to activate IRF ports. Syntax irf-port-configuration active Views System view Predefined user roles...
  • Page 24: Mad Arp Enable

    [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. Are you sure? [Y/N]:y Please input the file name(*.cfg)[flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): flash:/startup.cfg exists, overwrite? [Y/N]:y...
  • Page 25: Mad Bfd 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 bfd enable Use mad bfd enable to enable BFD MAD.
  • Page 26: Mad Enable

    Category Restrictions and guidelines Do not use the BFD MAD VLAN for any purposes other than configuring BFD MAD. • Use only the mad bfd enable and mad ip address commands on the BFD MAD VLAN and VLAN interface used for BFD MAD. If you configure other features, both feature compatibility BFD MAD and other features on the interface might run incorrectly.
  • Page 27: Mad Exclude Interface

    NOTE: An IRF fabric has only one IRF domain ID. You can change the IRF domain ID by using the following commands: irf domain, mad enable, mad arp enable, or mad nd enable. The IRF domain IDs configured by using these commands overwrite each other. Examples # Enable LACP MAD on Bridge-Aggregation 1, a Layer 2 dynamic aggregate interface.
  • Page 28: Mad Ip Address

    Examples # Exclude GigabitEthernet 2/0/1 from being shut down when the MAD status transits to Recovery. <Sysname> system-view [Sysname] mad exclude interface gigabitethernet 2/0/1 Related commands mad restore mad ip address Use mad ip address to assign a MAD IP address to an IRF member on a VLAN interface for BFD MAD.
  • Page 29: Mad Nd Enable

    [Sysname] interface vlan-interface 3 [Sysname-Vlan-interface3] mad ip address 192.168.0.1 255.255.255.0 member 1 # Assign a MAD IP address to IRF member 2 on VLAN-interface 3. [Sysname-Vlan-interface3] mad ip address 192.168.0.2 255.255.255.0 member 2 Related commands mad bfd enable mad nd enable Use mad nd enable to enable ND MAD.
  • Page 30: Mad Restore

    Related commands irf domain mad restore Use mad restore to restore the normal MAD state of the IRF fabric in Recovery state. Syntax mad restore Views System view Predefined user roles network-admin Usage guidelines If the active IRF fabric has failed to work before the IRF split problem is fixed, use this command to restore an IRF fabric in Recovery state.
  • Page 31 • On S5130-28S-EI, S5130-28S-PWR-EI, S5130-28S-HPWR-EI, S5130-28TP-EI, S5130-28TP-PWR-EI, and S5130-28F-EI switches, you can bind a maximum of four physical interfaces to an IRF port. • On S5130-52S-EI, S5130-52S-PWR-EI, S5130-52TP-EI, and S5130-52TP-PWR-EI switches, you can bind a maximum of two physical interfaces to an IRF port. Use the shutdown command to shut down all ports in a port group before you bind them to or remove them from IRF ports.
  • Page 32: Index

    Index D I M P irf-port,14 irf-port global load-sharing mode,15 display irf,1 irf-port load-sharing mode,16 display irf configuration,2 irf-port-configuration active,17 display irf link,3 display irf topology,4 display irf-port load-sharing mode,5 mad arp enable,18 display mad,6 mad bfd enable,19 enable,20 mad exclude interface,21 irf auto-update enable,8...

Table of Contents