H3C S5120-EI Series Irf Command Reference
H3C S5120-EI Series Irf Command Reference

H3C S5120-EI Series Irf Command Reference

Hide thumbs Also See for S5120-EI Series:

Advertisement

Quick Links

H3C S5120-EI Series Ethernet Switches
IRF Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 2208
Document version: 6W100-20101224

Advertisement

Table of Contents
loading

Summary of Contents for H3C S5120-EI Series

  • Page 1 H3C S5120-EI Series Ethernet Switches IRF Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 2208 Document version: 6W100-20101224...
  • Page 2 Copyright © 2010, 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 S5120-EI documentation set includes 10 command references, which describe the commands and command syntax options for the S5120-EI Series Ethernet Switches, Release2208. 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 Command reference Added and modified commands • irf member irf port 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.
  • Page 5 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:...
  • Page 6 – Provides information about products and technologies, as well as solutions. [Technical Support & Documents > Software Download] – Provides the documentation released with the software version. Technical support customer_service@h3c.com http://www.h3c.com Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
  • Page 7: Table Of Contents

    Contents IRF configuration commands ······································································································································· 1 IRF configuration commands············································································································································1 display irf ··································································································································································1 display irf configuration···········································································································································2 display irf topology ··················································································································································3 display irf-port load-sharing mode··························································································································5 display mad ······························································································································································6 display switchover state···········································································································································8 irf auto-update enable··············································································································································9 irf domain······························································································································································· 10 irf link-delay···························································································································································· 11 irf mac-address persistent ····································································································································· 11 irf member description ··········································································································································...
  • Page 8: Irf Configuration Commands

    IRF configuration commands NOTE: In the S5120-EI series switches, only the following switch models support the commands in this chapter: S5120-28C-EI, S5120-52C-EI, S5120-28C-PWR-EI, and S5120-52C-PWR-EI. IRF configuration commands display irf Syntax display irf [ | { begin | exclude | include } regular-expression ]...
  • Page 9: Display Irf Configuration

    Mac persistent : 6 min Domain ID Table 1 display irf command output description Field Description Member ID. • The ID of the master is prefixed with an asterisk (*) sign. Switch • The ID of the switch where you are logged in is prefixed with a plus (+) sign.
  • Page 10: Display Irf Topology

    Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI configuration in the 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.
  • Page 11 View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI configuration in the 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.
  • Page 12: Display Irf-Port Load-Sharing Mode

    display irf-port load-sharing mode Syntax display irf-port load-sharing mode [ irf-port [ member-id/port-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters member-id/port-number: IRF port number, where member-id represents the ID of an IRF member switch. The port-number argument specifies the port number, and the value can be 1 or 2.
  • Page 13: Display Mad

    Layer 2 traffic: destination-mac address, source-mac address Layer 3 traffic: destination-ip address, source-ip address # Display the configured load sharing criteria for the member links of IRF port 1/2. <Sysname> display irf-port load-sharing mode irf-port 1/2 irf-port1/2 Load-Sharing Mode: destination-mac address, source-mac address # Display the load sharing criteria for the member links of each IRF port.
  • Page 14 View Any view Default level 1: Monitor level Parameters verbose: Displays detailed information about the MAD detection. If this keyword is not provided, the system displays brief information about the MAD detection. |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI configuration in the Fundamentals Configuration Guide.
  • Page 15: Display Switchover State

    Field Description MAD status: • Detect—The IRF virtual device is normal, and MAD is detecting multi-active collisions. • Recovery—The IRF virtual device is in recovery state. When detecting a multi-active collision, MAD places the IRF virtual device with higher master ID in recovery state and shuts down all physical ports in the Current MAD status device but the IRF ports and the ports that are configured not to shut down.
  • Page 16: Irf Auto-Update Enable

    Description Use the display switchover state command to display the master/slave switchover state in the IRF virtual device. Examples # Display the master/slave switchover states of the master. <Sysname> display switchover state Master HA State to slot 2: Realtime backup to slave. Master HA State to slot 3: Slave is absent.
  • Page 17: Irf Domain

    Parameters None Description Use the irf auto-update enable command to automatically synchronize the boot file of the master switch to the switch you are adding to the IRF virtual device. Use the undo irf auto-update enable command to disable this function. By default, this function is enabled.
  • Page 18: Irf Link-Delay

    Examples # Set the domain ID of the IRF virtual device to 30. <Sysname> system-view [Sysname] irf domain 30 irf link-delay Syntax irf link-delay interval undo irf link-delay View System view Default level 3: Manage level Parameters interval: Sets the delay in milliseconds for the IRF ports to report a link down event. The value range is 200 to 2000.
  • Page 19: Irf Member Description

    timer: Enables the IRF virtual device to preserve its bridge MAC address for six minutes after the master leaves. Description Use the irf mac-address persistent command to enable the IRF virtual device to preserve its bridge MAC address for a certain period after the master leaves. Use the undo irf mac-address persistent command to enable the IRF virtual device to change its bridge MAC address as soon as the master leaves.
  • Page 20: Irf Member Priority

    By default, no description is configured for any IRF member switch. Examples # Configure a description for IRF member switch 1. <Sysname> system-view [Sysname] irf member 1 description F1Num001 irf member priority Syntax irf member member-id priority priority undo irf member member-id priority View System view Default level...
  • Page 21: Irf Member Renumber

    [Sysname] irf member 3 priority 16 # Specify a priority for member 2 in the IRF virtual device. <Sysname> system-view [Sysname] irf member 2 priority 32 irf member renumber Syntax irf member member-id renumber new-member-id undo irf member member-id renumber View System view Default level...
  • Page 22: Irf Switch-To

    <Sysname> system-view [Sysname] irf member 2 renumber 4 Warning: Renumbering the switch number may result in configuration change or loss. Continue?[Y/N]y To undo the change before you reboot the switch, perform the following command: [Sysname] undo irf member 2 renumber Warning: Renumbering the switch number may result in configuration change or loss.
  • Page 23: Irf-Port

    To return to the CLI of the master switch, use the quit command. Examples # Log in to the CLI of IRF member switch 2. <Sysname> system-view [Sysname] irf switch-to 2 <Sysname-Slave#2> irf-port Syntax irf-port member-id/port-number undo irf-port member-id/port-number View System view Default level 3: Manage level...
  • Page 24: Irf-Port Load-Sharing Mode (System View)

    Use the undo irf-port load-sharing mode command to restore the default. By default, the S5120-EI series switches use the combination of source and destination MAC addresses as the hash key when processing Layer 2 packets, and use the combination of source and destination IP addresses when processing Layer 3 packets.
  • Page 25: Irf-Port Load-Sharing Mode (Irf Port View)

    Use the undo irf-port load-sharing mode command to restore the default. By default, the S5120-EI 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.
  • Page 26: Irf-Port-Configuration Active

    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 switch. If you connect the IRF links and bind physical IRF port(s) to an IRF port whose link state is DIS or DOWN, you must execute the irf-port-configuration active command to establish the IRF virtual device.
  • Page 27: Mad Arp Enable

    [Sysname-Ten-GigabitEthernet1/1/3] undo shutdown [Sysname-Ten-GigabitEthernet1/1/3] quit Save the current configurations to the configuration file for the next startup to make IRF port • configurations effective after switch reboot. [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 28: Mad Exclude Interface

    View Aggregate interface view Default level 3: Manage level Parameters None Description Use the mad enable command to enable LACP MAD for detecting multiple IRF virtual devices with the same IP address on the network. Use the undo mad enable command to disable LACP MAD. By default, LACP MAD is disabled.
  • Page 29: Mad Restore

    traffic and to ensure the uniqueness of the IRF virtual devices. All of the service ports are shut down but the IRF ports and those manually configured not to shut down. When a MAD-enabled IRF virtual device splits into two or more identical active IRF virtual devices, all the IRF virtual devices but the one with the lowest master ID are placed in the recovery state to stop forwarding traffic and to ensure the uniqueness of the IRF virtual devices.
  • Page 30: Port Group Interface

    port group interface Syntax port group interface interface-type interface-number [ mode { enhanced | normal } ] undo port group interface interface-name View IRF port view Default level 3: Manage level Parameters interface-type interface-number: Specifies port type and port number. interface-name: Interface name, in the format of interface-typeinterface-number.
  • Page 31 Examples # Bind physical IRF port Ten-GigabitEthernet 3/1/1 on member 3 to IRF port 1. <Sysname> system-view [Sysname] interface ten-gigabitethernet 3/1/1 [Sysname-Ten-GigabitEthernet3/1/1] shutdown [Sysname-Ten-GigabitEthernet3/1/1] quit [Sysname] irf-port 3/1 [Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/1/1 [Sysname-irf-port3/1] quit [Sysname] interface ten-gigabitethernet 3/1/1 [Sysname-Ten-GigabitEthernet3/1/1] undo shutdown...
  • Page 32: Index

    Index D I M P irf member renumber,14 switch-to,15 display irf,1 irf-port,16 display irf configuration,2 irf-port load-sharing mode (IRF port view),18 display irf topology,3 irf-port load-sharing mode (system view),17 display irf-port load-sharing mode,5 irf-port-configuration active,19 display mad,6 display switchover state,8 mad arp enable,20 enable,20...

Table of Contents