H3C S5820X Series Irf Command Reference
H3C S5820X Series Irf Command Reference

H3C S5820X Series Irf Command Reference

Hide thumbs Also See for S5820X Series:

Advertisement

H3C S5820X&S5800 Switch Series
IRF Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 1805P02
Release 1808P12
Document version: 6W101-20140314

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S5820X Series

  • Page 1 H3C S5820X&S5800 Switch Series IRF Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 1805P02 Release 1808P12 Document version: 6W101-20140314...
  • Page 2 Copyright © 2012-2014, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.
  • Page 3 Preface The H3C S5820X&S5800 documentation set includes 12 command references, which describe the commands and command syntax options available for the S5820X&S5800 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 Represents a security card, such as a firewall card, a load-balancing card, or a NetStream card. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. About the H3C S5820X&S5800 documentation set The H3C S5820X&S5800 documentation set includes: Category Documents...
  • Page 6 S5820X Series Ethernet Switches Installation Manual Pluggable SFP[SFP+][XFP] Guides you through installing SFP/SFP+/XFP Transceiver Modules transceiver modules. Installation Guide • S5800-60C-PWR Shows how to install the H3C S5800-60C-PWR and Switch Video H3C S5820X-28C Ethernet switches. Installation Guide...
  • Page 7 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]—Provides hardware installation, software...
  • Page 8: Table Of Contents

    Contents IRF configuration commands ······································································································································· 1   display irf ·································································································································································· 1   display irf configuration ··········································································································································· 2   display irf topology ·················································································································································· 3   display irf-port load-sharing mode ·························································································································· 4   display mad ······························································································································································ 6   display switchover state ··········································································································································· 8  ...
  • Page 9: Irf Configuration Commands

    IRF configuration commands display irf Use display irf to display IRF fabric information. The information includes the member ID, role, priority, bridge MAC address, and description of each IRF member. Syntax display irf [ | { begin | exclude | include } regular-expression ] Views Any view Default command level...
  • Page 10: Display Irf Configuration

    Table 1 Command output Field Description IRF member ID: Switch • ID of the master is prefixed with an asterisk (*) sign. • ID of the device where you have been logged in is prefixed with a plus (+) sign. Switch role in the IRF fabric: •...
  • Page 11: Display Irf Topology

    Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 12: Display Irf-Port Load-Sharing Mode

    Examples # Display the IRF fabric topology. <Sysname> display irf topology Topology Info ------------------------------------------------------------------------- IRF-Port1 IRF-Port2 Switch Link neighbor Link neighbor Belong To DOWN 0023-8927-ad54 0023-8927-ad54 Table 3 Command output Field Description Switch Member ID. IRF-Port 1 Link state and neighbor switch of IRF port 1. IRF-Port 2 Link state and neighbor switch of IRF port 2.
  • Page 13 begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines To display the global load sharing mode for IRF links, execute this command without any keyword or argument.
  • Page 14: Display Mad

    Table 4 Command output Field Description Global load sharing mode for IRF links: • If no user-defined global load sharing mode has been irf-port Load-Sharing Mode configured, the default global load sharing mode applies. • If a user-defined global load sharing mode has been configured, the configured mode applies.
  • Page 15 MAD LACP disabled. MAD BFD disabled. # Display detailed MAD information. <Sysname> display mad verbose Current MAD status: Detect Excluded ports(configurable): Vlan-interface999 Excluded ports(can not be configured): Ten-GigabitEthernet1/0/25 MAD ARP enabled interface: Vlan-interface2 MAD enabled aggregation port: Bridge-Aggregation1 MAD BFD enabled interface: Vlan-interface3 mad ip address 3.3.3.1 255.255.255.0 member 1 mad ip address 3.3.3.2 255.255.255.0 member 2...
  • Page 16: Display Switchover State

    display switchover state Use display switchover state to display the master/subordinate switchover states of IRF member switches. Syntax display switchover state [ slot member-id ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters slot member-id: Specifies an IRF member by its member ID.
  • Page 17: Irf Auto-Update Enable

    Slave HA State: Receiving realtime data. Table 7 Command output for a subordinate Field Description Slave HA State Describes the master/subordinate switchover state of the subordinate switch. Waiting The subordinate switch is ready for bulk-backing up data. Sending batch backup The subordinate switch is requesting for a bulk-backup.
  • Page 18: Irf Domain

    irf domain Use irf domain to assign a domain ID to an IRF fabric. Use undo irf domain to restore the default IRF domain ID. Syntax irf domain domain-id undo irf domain Default The IRF domain ID is 0. Views System view Default command level 3: Manage level...
  • Page 19: Irf Mac-Address Persistent

    Parameters interval: Sets the IRF link down report delay in milliseconds. The value range is 0 to 10000. Usage guidelines An IRF link down report delay helps avoid link flapping causing frequent IRF splits and merges during a short time. An IRF port handles link down and link up events, as follows: When the IRF link changes from up to down, the port does not immediately report the change to the •...
  • Page 20: Irf Member Description

    Usage guidelines By default, an IRF fabric uses the bridge MAC address of the master device as its bridge MAC address. Layer 2 protocols, such as LACP, use this bridge MAC address to identify the IRF fabric. On a switched LAN, the bridge MAC address must be unique.
  • Page 21: Irf Member Renumber

    Syntax irf member member-id priority priority undo irf member member-id priority Default The priority of a member switch is 1. Views System view Default command level 3: Manage level 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.
  • Page 22 undo irf member member-id renumber Default The IRF member ID is 1. Views System view Default command level 3: Manage level Parameters member-id: Specifies the current ID of an IRF member switch. The value range is 1 to 10. new-member-id: Assigns a new ID to the IRF member switch. The value range is 1 to 10. Usage guidelines CAUTION: In an IRF fabric, changing IRF member IDs might cause undesirable configuration changes and even data...
  • Page 23: Irf Switch-To

    irf switch-to Use irf switch-to to access a subordinate switch's CLI from the master's CLI. Syntax irf switch-to member-id Views System view Default command level 3: Manage level Parameters member-id: Specifies the member ID of a subordinate member. The member-id argument cannot take the member ID of the master switch.
  • Page 24: Irf-Port Load-Sharing Mode

    Views System view Default command level 3: Manage level Parameters member-id/port-number: Specifies an IRF port number. The member-id argument represents the IRF member ID. The port-number argument represents the index of the port on the member switch, and must be 1 or 2. Usage guidelines To set up an IRF link between two switches, you must enter IRF port view to bind physical ports to the IRF port used by each switch for IRF connection.
  • Page 25: Irf-Port-Configuration Active

    destination-mac: Distributes packets across IRF member links based on destination MAC address. source-ip: Distributes packets across IRF member links based on source IP address. source-mac: Distributes packets across IRF member links based on source MAC address. Usage guidelines On an IRF port that has multiple links, traffic is balanced across its physical links. You can configure the IRF port to distribute traffic based on source IP address, destination IP address, source MAC address, destination address, or a combination of them.
  • Page 26: Mad Arp Enable

    Plan the IRF setup, including the IRF fabric topology, IRF fabric size, member ID assignment, and bindings of physical ports and IRF ports. Change the IRF member ID of each switch to make sure they are unique in the IRF fabric. Connect the physical ports between neighboring switches and make sure that the peer ports can reach each other.
  • Page 27: Mad Bfd Enable

    Default ARP MAD is disabled. Views VLAN interface view Default command level 3: Manage level Usage guidelines You can set up ARP MAD links between neighbor IRF members or more commonly, between each IRF member device and an intermediate device. When you configure ARP MAD, follow these guidelines: If an intermediate device is used, you can use common data links as ARP MAD links.
  • Page 28: Mad Enable

    Usage guidelines BFD MAD uses the BFD protocol for detecting multi-active collisions, and can work with or without intermediate devices. When you configure BFD MAD, follow these guidelines: Category Restrictions and guidelines • Do not enable BFD MAD on VLAN-interface 1. •...
  • Page 29: Mad Exclude Interface

    LACP MAD uses extended LACP packets for detecting multi-active collisions and requires an intermediate H3C device that also supports LACP MAD packets. When you use LACP MAD, follow these guidelines: The intermediate device must be an H3C device that support extended LACP for MAD. • •...
  • Page 30: Mad Ip Address

    IRF physical 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 31: Mad Restore

    To avoid anomalies, do not assign the BFD MAD-enabled VLAN interface a common IP address, for example, an IP address configured with the ip address command or a VRRP virtual IP address. The master tries to establish BFD sessions with other members 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 is effective.
  • Page 32: Port Group Interface

    The S5800 and S5820X switches support up to four physical ports for an IRF port. Make sure the physical ports at both ends of an IRF link are using the same operating mode. For an aggregate IRF link, H3C recommends configuring the same operating mode for all physical IRF ports at both ends.
  • Page 33 [Sysname-irf-port3/1] quit [Sysname] interface ten-gigabitethernet 3/0/25 [Sysname-Ten-GigabitEthernet3/0/25] undo shutdown...
  • Page 34: Index

    Index D I M P irf member renumber,13 switch-to,15 display irf,1 irf-port,15 display irf configuration,2 irf-port load-sharing mode,16 display irf topology,3 irf-port-configuration active,17 display irf-port load-sharing mode,4 display mad,6 display switchover state,8 mad arp enable,18 mad bfd enable,19 enable,20 irf auto-update enable,9 mad exclude interface,21...

This manual is also suitable for:

S5800 series

Table of Contents