H3C MSR Series Command Reference Manual
Hide thumbs Also See for MSR Series:

Advertisement

Quick Links

H3C MSR Router Series
Comware 7 Virtual Technologies
Command Reference
New H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: MSR-CMW710-R0615
Document version: 6W202-20200321

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for H3C MSR Series

  • Page 1 H3C MSR Router Series Comware 7 Virtual Technologies Command Reference New H3C Technologies Co., Ltd. http://www.h3c.com Software version: MSR-CMW710-R0615 Document version: 6W202-20200321...
  • Page 2 The information in this document is subject to change without notice. All contents in this document, including statements, information, and recommendations, are believed to be accurate, but they are presented without warranty of any kind, express or implied. H3C shall not be liable for technical or editorial errors or omissions contained herein.
  • Page 3 Preface This command reference covers the commands of Virtual Technologies. This preface includes the following topics about the documentation: • Audience. • Conventions. • Documentation feedback. Audience This documentation is intended for: • Network planners. • Field technical support and servicing engineers. •...
  • 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 chassis convert mode irf ···························································································································· 1 display irf ···················································································································································· 3 display irf configuration ······························································································································ 5 display irf link ·············································································································································· 7 display irf topology ····································································································································· 8 display mad ················································································································································ 9 easy-irf ····················································································································································· 10 irf auto-merge enable ······························································································································· 14 irf auto-update enable ······························································································································...
  • Page 7: Irf Commands

    IRF commands The following matrix shows the feature and hardware compatibility: Hardware IRF compatibility MSR810/810-W/810-W-DB/810-LM/810-W-LM/810-10-PoE/ 810-LM-HK/810-W-LM-HK/810-LMS/810-LUS MSR2600-6-X1/2600-10-X1 MSR 2630 MSR3600-28/3600-51 MSR3600-28-SI/3600-51-SI MSR3610-X1/3610-X1-DP/3610-X1-DC/3610-X1-DP-DC MSR 3610/3620/3620-DP/3640/3660 MSR5620/5660/5680 Hardware IRF compatibility MSR810-LM-GL MSR810-W-LM-GL MSR830-6EI-GL MSR830-10EI-GL MSR830-6HI-GL MSR830-10HI-GL MSR2600-6-X1-GL MSR3600-28-SI-GL Commands and descriptions for centralized devices apply to the following routers: •...
  • Page 8 undo chassis convert mode Default The device operates in standalone mode. Views System view Predefined user roles network-admin Usage guidelines To set up an IRF fabric, place all member devices in IRF mode after you configure member IDs, priorities, and IRF port settings for the member devices. In standalone mode, a device cannot form an IRF fabric with other devices.
  • Page 9: Display Irf

    Now rebooting, please wait... # (Distributed devices in IRF mode.) Restore standalone mode. <Sysname> system-view [Sysname] undo chassis convert mode The device will switch to stand-alone mode and reboot. You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? [Y/N]:y Do you want to convert the content of the next startup configuration file cfa0:/startup.cfg to make it available in stand-alone mode? [Y/N]:y...
  • Page 10 Table 1 Command output Field Description IRF member ID: • ID of the master is prefixed with an asterisk (*) sign. MemberID • ID of the device where you are logged in is prefixed with a plus (+) sign. Role of the member device in the IRF fabric: •...
  • Page 11: Display Irf Configuration

    Auto merge : no Table 2 Command output Field Description IRF member ID: • ID of the master is prefixed with an asterisk (*) sign. MemberID • ID of the device where you are logged in is prefixed with a plus (+) sign.
  • Page 12 Syntax display irf configuration Views Any view Predefined user roles network-admin network-operator Examples # (Centralized devices in standalone mode.) Display the basic IRF settings of the device. <Sysname> display irf configuration MemberID Priority IRF-Port1 IRF-Port2 disable disable # (Centralized devices in IRF mode.) Display basic IRF settings for all members. <Sysname>...
  • Page 13: Display Irf Link

    display irf link Use display irf link to display IRF link information, including IRF ports, IRF physical interfaces, and IRF link status. Syntax display irf link Views Any view Predefined user roles network-admin network-operator Examples # (Centralized devices.) Display IRF link information. <Sysname>...
  • Page 14: Display Irf Topology

    Field Description Link state of the IRF physical interface: • UP—The link is up. • DOWN—The link is down. Status • ADM—The interface has been manually shut down by using the shutdown command. • ABSENT—Interface module or expansion interface card that hosts the interface is not present.
  • Page 15: Display Mad

    Field Description IRF fabric that has the device, represented by the CPU MAC address of the Belong To master in the IRF fabric. Related commands display irf display irf configuration display mad Use display mad to display MAD status and settings. Syntax display mad [ verbose ] Views...
  • Page 16: Easy-Irf

    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 17 Views System view Predefined user roles network-admin Parameters member member-id: Specifies the member ID of a member device. The member ID must be 1 or 2. renumber new-member-id: Specifies a new member ID for the device. The member ID must be 1 or 2.
  • Page 18 [Sysname] easy-irf member 2 renumber 1 domain 10 priority 10 irf-port1 gigabitethernet 2/0/0 gigabitethernet 2/0/1 ***************************************************************************** Configuration summary for member 2 IRF new member ID: 1 IRF domain ID : 10 IRF priority : 10 IRF-port 1 : GigabitEthernet2/0/0, GigabitEthernet2/0/1 IRF-port 2 : Disabled *****************************************************************************...
  • Page 19 <Sysname> system-view [Sysname] easy-irf member 2 renumber 1 domain 10 priority 10 irf-port1 gigabitethernet 2/2/0/0 gigabitethernet 2/2/0/1 ***************************************************************************** Configuration summary for member 2 IRF new member ID: 1 IRF domain ID : 10 IRF priority : 10 IRF-port 1 : GigabitEthernet2/2/0/0, GigabitEthernet2/2/0/1 IRF-port 2 : Disabled *****************************************************************************...
  • Page 20: Irf Auto-Merge Enable

    irf auto-merge enable Use irf auto-merge enable to enable IRF auto-merge. This command enables an IRF fabric to automatically reboot its member devices if it fails in the master election during an IRF fabric merge. Use undo irf auto-merge enable to disable IRF auto-merge. Syntax irf auto-merge enable undo irf auto-merge enable...
  • Page 21: Irf Domain

    Default Software auto-update is enabled. Views System view Predefined user roles network-admin Usage guidelines This command is supported only in IRF mode. When you change the operating mode from IRF to standalone, the setting for this command is lost, regardless of whether you have saved the configuration.
  • Page 22: 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 This command is supported only in IRF mode. When you change the operating mode from IRF to standalone, the IRF domain setting is lost, regardless of whether you have saved the configuration.
  • Page 23: Irf Mac-Address Persistent

    If the BFD feature is used on the IRF fabric, make sure the delay interval is shorter than the maximum BFD session lifetime. For more information about BFD, see High Availability Configuration Guide. Examples # Set the IRF link down report delay to 300 milliseconds. <Sysname>...
  • Page 24: Irf Member

    <Sysname> system-view [Sysname] irf mac-address persistent always irf member Use irf member to assign a member ID to the device in standalone mode. Use undo irf member to restore the default. Syntax irf member member-id undo irf member Default The member ID is 1. Views System view Predefined user roles...
  • Page 25: Irf Member Priority

    Predefined user roles network-admin Parameters member-id: Specifies the ID of an IRF member. text: Configures the IRF member description, a string of 1 to 127 characters. Usage guidelines Configure a description to describe the location or purpose of a member device. This command is supported only in IRF mode.
  • Page 26: Irf Member Renumber

    Related commands irf priority irf member renumber Use irf member renumber to change the IRF member ID of a device in IRF mode. Use undo irf member renumber to restore the previous IRF member ID of the device. Syntax irf member member-id renumber new-member-id undo irf member member-id renumber Default The device uses the member ID that is set in standalone mode.
  • Page 27: Irf Priority

    [Sysname] undo irf member 2 renumber Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]y If you reboot the device after executing the irf member 2 renumber 1 command, the device member ID changes to 1 at system reboot. Using undo irf member 2 renumber cannot restore the member ID to 2.
  • Page 28: Irf-Port-Configuration Active

    undo irf-port irf-port-number In IRF mode: irf-port member-id/irf-port-number undo irf-port member-id/irf-port-number Views System view Predefined user roles network-admin Parameters member-id: Specifies an IRF member device by its member ID. irf-port-number: Specifies an IRF port on the member device. The irf-port-number argument represents the IRF port index and must be 1 or 2.
  • Page 29 • You are binding physical interfaces to an IRF port after an IRF fabric is formed. Examples (Centralized devices.) To configure and activate IRF-port 1/2 when the port is in DIS state: # Bind GigabitEthernet 2/0/1 to IRF-port 1/2. <Sysname> system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] shutdown [Sysname-GigabitEthernet2/0/1] quit...
  • Page 30: Mad Bfd Enable

    (To leave the existing filename unchanged, press the enter key): cfa0:/startup.cfg exists, overwrite? [Y/N]:y Validating file. Please wait......Saved the current configuration to mainboard device successfully. Chassis 1 Slot 1: Save next configuration file successfully. Configuration is saved to device successfully. # Activate the IRF port settings.
  • Page 31: Mad Enable

    Category Restrictions and guidelines Do not use the BFD MAD-enabled interface and its member ports for any BFD MAD-enabled Layer 3 purposes other than configuring BFD MAD. Configure only the mad bfd aggregate interface and enable and mad ip address commands on the BFD MAD-enabled interface. feature compatibility If you configure other features, both BFD MAD and other features on the interface might run incorrectly.
  • Page 32: Mad Exclude Interface

    <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] link-aggregation mode dynamic [Sysname-Bridge-Aggregation1] mad enable You need to assign a domain ID (range: 0-4294967295) [Current domain is: 0]: 1 The assigned domain ID is: 1 MAD LACP only enable on dynamic aggregation interface. # Enable LACP MAD on Route-Aggregation 1, a Layer 3 dynamic aggregate interface.
  • Page 33: Mad Ip Address

    The ports that have been shut down by MAD come up when the member devices reboot to join the recovered IRF fabric. If auto recovery fails because the current master fails or any other exception occurs, use the mad restore command to manually recover the member devices and bring up the ports.
  • Page 34: Mad Restore

    • If the IRF fabric is integrated, only the MAD IP address of the master takes effect. The master cannot establish a BFD session with any other member. If you execute the display bfd session command, the state of the BFD sessions is Down. •...
  • Page 35 Default No physical interfaces are bound to an IRF port. Views IRF port view Predefined user roles network-admin Parameters interface-type interface-number: Specifies a physical interface by its type and number. interface-name: Specifies a physical interface in the interface-typeinterface-number format. No space is allowed between the interface-type and interface-number arguments.
  • Page 36 [Sysname] interface gigabitethernet 1/2/0/1 [Sysname-GigabitEthernet1/2/0/1] undo shutdown Related commands irf-port...
  • Page 37: Index

    Index C D E I M P irf mac-address persistent,17 member,18 chassis convert mode irf,1 irf member description,18 irf member priority,19 irf member renumber,20 display irf,3 priority,21 display irf configuration,5 irf-port,21 display irf link,7 irf-port-configuration active,22 display irf topology,8 display mad,9 mad bfd enable,24...

Table of Contents