HP HSR6800 Routers IRF Command Reference Part number: 5998-4499 Software version: HSR6800-CMW520-R3303P05 Document version: 6PW105-20140507
Legal and notice information © Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents IRF configuration commands ······································································································································· 1 chassis convert mode irf ·········································································································································· 1 display irf ································································································································································
IRF configuration commands The commands in this document are supported on HSR6802, HSR6804, and HSR6808 routers installed with SAP-4EXP cards. chassis convert mode irf Use chassis convert mode irf to enable IRF mode. Use undo chassis convert mode to restore standalone mode. Syntax chassis convert mode irf undo chassis convert mode Default The device operates in standalone mode.
[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 flash:/startup.cfg to make it available in stand-alone mode? [Y/N]:y Please wait... Saving the converted configuration file to the main board succeeded.
Table 1 Command output Field Description IRF member ID: MemberID • ID of the master is prefixed with an asterisk (*) sign. • ID of the device where you are logged in is prefixed with a plus (+) sign. Slot MPU slot number. Role • Slave—Standby MPU for the global active MPU. • Master—Global active MPU. • SlaveWait—MPU that is joining the IRF fabric as a standby for the Role of the MPU in the IRF fabric: global active MPU. • Loading—Standby MPU for the global active MPU.
Views Any view Default command level 1: Monitor level 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.
display irf topology Use display irf topology to display the IRF fabric topology information, including the member IDs, IRF port state, and adjacencies of IRF ports. Syntax display irf topology [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
display mad Use display mad to display MAD status and settings. Syntax display mad [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters verbose: Displays detailed MAD information. If this keyword is not provided, the command only displays whether a MAD mechanism is enabled. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Table 4 Command output Field Description MAD status: • Detect—The IRF fabric is integrated. • Recovery—IRF fabric is in Recovery state. When detecting a Current MAD status multi-active collision, MAD places the IRF fabric with higher master ID in Recovery state. MAD also shuts down all physical ports in the fabric except IRF physical ports and ports that are configured to not shut down.
Examples # Enable IRF auto merge. system-view [Sysname] irf auto-merge enable irf auto-update enable Use irf auto-update enable to enable the software auto-update function for propagating the system software image of the master 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 The software auto-update function is disabled.
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 IRF domain ID is 0. Views System view Default command level 3: Manage level Parameters domain-id: Specifies a domain ID for the IRF fabric. The value range is 0 to 4294967295. Usage guidelines This command is available in IRF mode.
Default command level 3: Manage level Parameters interval: Sets the IRF link down report delay in milliseconds. The value range is 200 to 2000. Usage guidelines This command is available in IRF mode. Changing the operating mode from IRF to standalone can cause loss of the irf link-delay command configuration even if you have saved the configuration. An IRF link down report delay helps avoid link flapping. Link flapping causes frequent IRF splits and merges during a short time.
Usage guidelines IRF bridge MAC persistence specifies the amount of time an IRF fabric can continue using the old master bridge MAC address as its bridge MAC address after a master re-election. Bridge MAC persistence is available in IRF mode. Changing the operating mode from IRF to standalone can cause loss of the bridge MAC persistence setting even if you have saved the configuration. An IRF fabric by default uses the bridge MAC address of the master device as its bridge MAC address.
To change the member ID of a device in IRF mode, use the irf member member-id renumber new-member-id command. Examples # Assign member ID 2 to the device in standalone mode. system-view [Sysname] irf member 2 Info: Member ID change will take effect after the member reboots and operates in IRF mode. Related commands irf member renumber 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 priority priority undo irf member member-id priority Default IRF member priority 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. Usage guidelines Change member priority assignment to affect the maser election result.
Default command level 3: Manage level Parameters member-id: Specifies the ID of an IRF member device, in the range of 1 to 2. new-member-id: Assigns a new ID to the IRF member device, in the range of 1 to 2. Usage guidelines CAUTION: In IRF mode, an IRF member ID change can invalidate member ID-related settings, including interface and file path settings, and cause data loss. Be sure you fully understand its impact on your live network.
Default command level 3: Manage level Parameters priority: Specifies an IRF member priority value in the range 1 to 32. Usage guidelines Member priority is used for role election. The greater the priority value, the higher the priority. A member with higher priority is more likely to be the master. The member priority configured in standalone mode takes effect after you enable IRF mode. To change the member priority of a device in IRF mode, use the irf member member-id priority priority command.
• terminal logging • terminal monitor • terminal trapping When you log in to a standby MPU's CLI, you are placed in the standby MPU's user view and the command prompt changes to , for example, . To return to the CLI of the global active MPU, use the quit command. Examples # Log in to the CLI of the standby MPU in slot 1 of IRF member 1.
irf-port port-number Use irf-port port-number to enter IRF port view in standalone mode. Use undo irf-port port-number to remove all port bindings on an IRF port in standalone mode. Syntax irf-port port-number undo irf-port port-number Views System view Default command level 3: Manage level Parameters port-number: IRF port number, which must be 1 or 2.
Usage guidelines ARP MAD detects multi-active collisions by using extended gratuitous ARP packets. You can set up ARP MAD links between neighbor IRF members or between each IRF member device and an intermediate device. If the intermediate device is also in an IRF fabric, make sure the two IRF fabrics have different IRF domain IDs to avoid false detection of IRF splits. When you use the mad arp enable command, the system prompts you to enter a domain ID.
Category Restrictions and guidelines • Do not use the BFD MAD VLAN for any purpose other than configuring BFD BFD MAD VLAN and feature compatibility MAD. Layer 2 or Layer 3 features, including ARP and LACP, cannot work on the BFD MAD-enabled VLAN interface or any port in the VLAN. If you configure any other feature on the VLAN, neither the configured feature nor the BFD MAD function can work correctly. • Disable the spanning tree feature on any port in the BFD MAD VLAN.
You must set up a dynamic link aggregation group that spans all IRF member devices between the IRF fabric and the intermediate device. To enable dynamic link aggregation, configure the link-aggregation mode dynamic command on the aggregate interface. If the intermediate device is also in an IRF fabric, make sure the two IRF fabrics have different domain IDs to avoid false detection of IRF splits. When you use the mad enable command, the system prompts you to enter a domain ID.
Usage guidelines MAD action is not configurable for IRF physical ports. When MAD detects that an IRF fabric has split into two or more identical active IRF fabrics, only the IRF fabric whose master has the lowest member ID among all the masters can still forward data traffic. MAD changes its status to Recovery on all the other IRF fabrics and shuts down all their physical ports except the physical IRF ports and those manually configured to not shut down.
To avoid problems, only use the mad ip address command to configure IP addresses on the BFD MAD-enabled VLAN interface. For example, an IP address configured with the ip address command or a VRRP virtual IP address will cause problems. 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, and the master cannot establish a BFD session with any other member.
port group interface Use port group interface to bind a physical port to an IRF port. Use undo port group interface to remove the binding of a physical port and an IRF port. Syntax port group interface interface-type interface-number [ mode { enhanced | normal } ] undo port group interface interface-name Default No physical ports are bound to any IRF port. After bound to an IRF port, a physical port operates in normal mode.
[Sysname-irf-port 1] port group interface ten-gigabitethernet 2/0/1 # In IRF mode, bind port Ten-GigabitEthernet 1/2/0/1 to IRF-port 1 of member 1.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
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. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index CDIMPSW irf priority,14 C irf switch-to,15 chassis convert mode irf,1 irf-port member-id/port-number,16 D irf-port port-number,17 display irf,2 M display irf configuration,3 mad arp enable,17 display irf topology,5 mad bfd enable,18 display mad,6 mad enable,19 Documents,25 mad exclude interface,20 I mad ip address,21 irf auto-merge enable,7 mad restore,22 irf auto-update enable,8 P irf domain,9 port group interface,23 irf link-delay,9 irf mac-address persistent,10 S irf memb