Professional Documents
Culture Documents
Abstract This document describes the commands and command syntax options available for the HP A Series products. This document is intended for network planners, field technical support and servicing engineers, and network administrators who work with HP A Series products.
Part number: 5998-2006 Software version: Release 6626 and later Document version: 6W100-20110715
Contents
IRF configuration commands 1
chassis convert mode irf 1 display irf 2 display irf configuration 3 display irf topology 5 display mad 6 display switchover state 7 irf auto-merge enable 9 irf auto-update enable 9 irf domain 10 irf link-delay 11 irf mac-address persistent 12 irf member 13 irf member description 13 irf member priority 14 irf member renumber 15 irf priority 16 irf switch-to 17 irf-port member-id/port-number 18 irf-port port-number 18 mad bfd enable 19 mad enable 20 mad exclude interface 21 mad ip address 22 mad restore 23 port group interface 23 set irf slot member-id 25
Index 29
iii
Syntax
chassis convert mode irf undo chassis convert mode
View
System view
Default level
3: Manage level
Parameters
None
Examples
# When the switch operates in standalone mode, switch the operating mode of the switch to IRF mode.
<Sysname> system-view [Sysname] chassis convert mode irf The device will switch to IRF 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 flash:/startup.cfg to make it available in IRF mode? [Y/N]:y Please wait... Saving the converted configuration file to the main board succeeded. Slot 1: Saving the converted configuration file succeeded. Now rebooting, please wait... configuration file
# When the switch operates in IRF mode, switch the operating mode of the switch to 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 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. Chassis 2 Slot 1: Saving the converted configuration file succeeded. Now rebooting, please wait... configuration file
display irf
Description
Use display irf to view information about the IRF fabric.
Syntax
display irf [ | { begin | exclude | include } regular-expression ]
View
Any view
Default 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. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Example
# Display information about the IRF fabric.
<Sysname> display irf Switch *+1 1 Slot 0 1 Role Master Slave Priority 1 1 CPU-Mac 00e0-fc0a-15e0 00e0-fc0f-8c02 Description F1Num001 F1Num002
-----------------------------------------------------* indicates the device is the master. + indicates the device through which the user logs in. The Bridge MAC of the IRF is: 000f-e26a-58ed Auto upgrade Mac persistent Domain ID : no : always : 30
Auto merge
: no
Description
Member ID in the IRF fabric:
* indicates master switch + indicates member switch (switch you are working on)
Number of the slot on which the active MPU resides. Role of an IRF fabrics MPU:
Role
SlaveStandby MPU of the IRF fabric. MasterActive MPU of the IRF fabric. SlaveWaitStandby MPU of the IRF fabric. It is joining the IRF
fabric.
software of the master switch to the switch you are adding to the IRF fabric. uses the same system software as the master switch. If not, the new switch cannot join the IRF fabric.
NoDisabled. You must manually make sure that the joining switch
6 minBridge MAC address of the IRF fabric does not change for
six minutes after the master switch leaves. after the master switch leaves. MAC persistent
AlwaysBridge MAC address of the IRF fabric does not change NoAs soon as the master leaves, the IRF fabric uses the bridge
MAC address of the newly elected master as its bridge MAC address.
YesEnabled NoDisabled
Syntax
display irf configuration [ | { begin | exclude | include } regular-expression ]
3
View
Any view
Default 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. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# When the switch operates in standalone mode, display all members IRF configurations that take effect after device reboot.
<Sysname> display irf configuration MemberID Priority IRF-Port1 -1 disable IRF-Port2 disable
# When the switch operates in IRF mode, display all members IRF configurations that take effect after device reboot.
<Sysname> display irf configuration MemberID 1 NewID 1 IRF-Port1 Ten-GigabitEthernet1/8/0/1 Ten-GigabitEthernet1/8/0/2 2 2 disable Ten-GigabitEthernet2/8/0/1 Ten-GigabitEthernet2/8/0/2 IRF-Port2 disable
Description
Current member ID of the switch. If the member ID of this device is not set, -- displays. Member priority. Only displayed when the switch operates in standalone mode. Member ID configured for a switch after its reboot. Only displayed when the switch operates in IRF mode. Configuration of IRFPort1.
IRF-Port1
Syntax
display irf topology [ | { begin | exclude | include } regular-expression ]
View
Any view
Default 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. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Example
# Display topology information for the IRF fabric.
<Sysname> display irf topology Topology Info ------------------------------------------------------------------------IRF-Port1 Switch 1 2 Link DIS UP neighbor -1 IRF-Port2 Link UP DOWN neighbor 2 -Belong To 00e0-fc0f-8c0f 00e0-fc0f-8c0f
The output shows that IRF-port 2 of member switch 1 connects to IRF-port 1 of member switch 1. Table 3 Command output Field
Switch IRF-Port 1 IRF-Port 2
Description
Member ID. Information about IRF-Port 1, including its link state and neighbor (or remote port). Information about IRF-Port 2, including its link state and neighbor (or remote port). Link state of the IRF port:
Link
neighbor Belong To
Switch ID that connects to this IRF port. If the IRF port does not connect to any device, a hyphen (--) is displayed. IRF fabric to which the switch belongs, represented by the CPU MAC address of the master.
display mad
Description
Use display mad to view information about MAD.
Syntax
display mad [ verbose ] [ | { begin | exclude | include } regular-expression ]
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 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. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the enable status of MAD.
<Sysname> display mad MAD LACP enabled. MAD BFD enabled.
Vlan-interface2 mad ip address 10.0.0.2 255.255.0.0 member 1 mad ip address 10.0.0.3 255.255.0.0 member 2
Description
LACP MAD is enabled. BFD MAD is enabled. LACP MAD disabled. BFD MAD is disabled. MAD status:
DetectIRF fabric is normal. RecoveryIRF fabric is in recovery state. When detecting a multiCurrent MAD status
active collision, MAD places the IRF fabric with a higher master ID in recovery state and shuts down all physical ports in the switch but the IRF ports and the ports that are configured to not shut down. detect to recovery, for example, as a result of IRF partition. recovery to detect when the failed IRF link is recovered.
Detect to RecoveryState of the IRF fabric is transitioning from Recovery to DetectState of the IRF fabric is transitioning from
Excluded ports (configurable) Excluded ports (cannot be configured) MAD enabled aggregation port MAD BFD enabled interface MAD BFD enabled interface: Vlan-interface2 mad ip address 10.0.0.2 255.255.0.0 member 1 mad ip address 10.0.0.3 255.255.0.0 member 2 MAD IP addresses in the IRF, including the Layer 3 interface on which the MAD IP is configured, and the MAD IP address of each member switch. Ports manually configured to not shut down when the IRF fabric transitions to the recovery state. Ports set by default to not shut down when the IRF fabric transitions to the recovery state. Aggregate interface where LACP MAD is enabled. Aggregate interface where BFD MAD is enabled.
Syntax
display switchover state [chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
chassis chassis-number slot slot-number: Specifies a card on a certain IRF member switch. chassis-number specifies the ID of an IRF member switch, and slot-number represents the number of the slot that holds the card. |: Filters command output by specifying a regular expression. For more information about regular expressions, see 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. 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.
Example
# Display the master/slave (subordinate) switchover states of the master.
<Sysname> display switchover state Master HA State to chassis 1 slot 1: Slave is absent. Master HA State to chassis 2 slot 0: Waiting batch backup request from slave. Master HA State to chassis 2 slot 1: Realtime backup to slave.
The output shows the following conditions: Standby MPU in slot 1 on chassis 1 is absent. Master is waiting for the batch backup request from the standby MPU in slot 0 on chassis 2. Standby MPU in slot 1 on chassis 2 is performing real time backup.
Description
Output information is generated by the master. Master/slave (subordinate) switchover state between the master and the subordinate with the member ID identified by the slot-number argument. Standby MPU is absent. Waiting for the batch backup requests from the standby MPU. Batch backup state. Realtime backup state. Data smoothing state, indicating that the standby MPU is transitioning to the active MPU.
Slave is absent Waiting batch backup request from slave Batch backup Realtime backup to slave Data smooth
Syntax
irf auto-merge enable undo irf auto-merge enable
View
System view
Default level
3: Manage level
Parameters
None
Example
# Enable auto-reboot for the IRF fabric merge.
<Sysname> system-view [Sysname] irf auto-merge enable
Description
Use irf auto-update enable to automatically synchronize the system software of the master switch to the switch you are adding to the IRF fabric. Use undo irf auto-update enable to disable this function. By default, the automatic system software updating function is disabled. This command is available in IRF mode. When you add a switch to the IRF fabric, the automatic system software updating function compares the software versions of the switch and the IRF master. If the versions are different, the switch automatically downloads the system software image from the master, sets the downloaded file as the system software for the next reboot, and automatically reboots with the new system software to re-join the IRF fabric. If this function is disabled, you must manually make sure that the joining switch uses the same system software as the master switch. If not, the new switch cannot join the IRF fabric.
Syntax
irf auto-update enable undo irf auto-update enable
View
System view
Default level
3: Manage level
Parameters
None
Example
# Enable the automatic system software updating function on the IRF fabric.
<Sysname> system-view [Sysname] irf auto-update enable
irf domain
Description
Use irf domain to assign a domain ID for an IRF fabric. Use irf domain to restore the default. By default, the domain ID of an IRF fabric is 0. You may deploy multiple IRF fabrics in one network for various networking applications. Domain IDs are used to differentiate these IRF fabrics. In a network that applies LACP MAD detection, if the intermediate switch is in an IRF fabric, you must assign this virtual device a different domain ID than the LACP MAD-enabled virtual device to avoid false detection of IRF partition. This command is only available when the switch operates in IRF mode. If you assign a domain ID for an IRF fabric, save the configuration, and then switch the operating mode of an IRF member switch to
10
standalone, this configuration loses effect even if you switch the operating mode of the switch to IRF again. In this case, you must re-assign the domain ID as needed.
Syntax
irf domain domain-id undo irf domain
View
System view
Default level
3: Manage level
Parameter
domain-id: Domain ID assigned to an IRF fabric, ranging from 0 to 4294967295.
Example
# Set the domain ID of the IRF fabric to 30.
<Sysname> system-view [Sysname] irf domain 30
irf link-delay
Description
Use irf link-delay to set the delay for the IRF ports in the IRF fabric to report a link down event. Use undo irf link-delay to restore the default. By default, the IRF ports are not enabled to report a link down event. You can avoid link flapping causing frequent IRF splits and merges during a short time by configuring the IRF ports to delay reporting link down events. An IRF port works as follows: If the IRF link changes from up to down, the port does not immediately report the change to the IRF fabric. If the IRF link state is still down when the delay time is reached, the port reports the change to the IRF fabric. If the IRF link changes from down to up, the link layer immediately reports the event to the IRF fabric.
Syntax
irf link-delay interval undo irf link-delay
View
System view
Default level
3: Manage level
Parameter
interval: Delay in milliseconds for the IRF ports to report a link down event. The value range is 200 to 2000.
11
Example
# Set the IRF link down report delay to 300 milliseconds.
<Sysname> system-view [Sysname] irf link-delay 300
If two IRF fabrics have the same bridge MAC address, they cannot be merged into one IRF fabric. This command is only available when the switch operates in IRF mode. If you configure the preservation time of the bridge MAC address of an IRF fabric, save the configuration, and then switch the operating mode of an IRF member switch to standalone, this configuration loses effect even if you switch the operating mode of the switch to IRF again. In this case, you must reconfigure the preservation time as needed.
Syntax
irf mac-address persistent { always | timer } undo irf mac-address persistent
View
System view
Default level
3: Manage level
Parameters
always: Enables the IRF fabric to preserve its bridge MAC address permanently even after the master leaves. timer: Enables the IRF fabric to preserve its bridge MAC address for six minutes after the master leaves.
Example
# Enable the IRF fabric to preserve its bridge MAC address permanently.
<Sysname> system-view [Sysname] irf mac-address persistent always
12
irf member
Description
Use irf member to set a member ID for a switch in standalone mode. Use undo irf member to restore the default. If the switch supports pre-configuration, it has no default ID in standalone mode. After it switches to the IRF mode, it uses the member ID preconfigured in standalone mode by default. If the switch does not support pre-configuration, its member ID defaults to 1. The member ID functions in the following ways: When the operating mode of the switch changes from standalone to IRF, the switchs member ID is needed for the auto-conversion of the configuration file. If the switch has no member ID configured, use this command to set a member ID for it. An IRF fabric uses member IDs to uniquely identify and manage members. To set a switchs member ID when it operates in standalone mode, use irf member. The member ID takes effect after the operating mode of the switch changes to IRF. To set a switchs member ID when it operates in IRF mode, use irf member member-id renumber new-member-id. The member ID takes effect after the switch reboot.
Syntax
irf member member-id undo irf member
View
System view
Default level
3: Manage level
Parameter
member-id: Sets an IRF member ID for the switch. The value ranges from 1 to 4. For an A7510 switch, the value can only be 1 or 3. If you set the member ID of an A7506 switch to 4, the last two card slots on the switch becomes unavailable.
Example
# Set the member ID of the switch operating in standalone mode to 2.
<Sysname> system-view [sysname] irf member 2 Info: Member ID change will take effect after the switch reboots and operates in IRF mode.
By default, no description is configured for a member switch. This command is available only when the switch operates in IRF mode. If you configure the description of a specified member switch, and then switch the operating mode of an IRF member switch to standalone, this configuration loses effect even if you switch the operating mode of the switch to IRF again. In this case, you must reconfigure the description as needed.
Syntax
irf member member-id description text undo irf member member-id description
View
System view
Default level
3: Manage level
Parameters
member-id: ID of an IRF member switch. text: Description of the member, which is a string of 1 to 127 characters.
Example
# Configure a description for IRF member switch 1.
<Sysname> system-view [Sysname] irf member 1 description F1Num001
Syntax
irf member member-id priority priority undo irf member member-id priority
View
System view
14
Default level
3: Manage level
Parameters
member-id: ID of an IRF member switch. priority: Priority value ranges from 1 to 32. The greater the priority value, the higher the priority. A member with a higher priority is more likely to be a master.
Example
# When the switch with the member ID of 2 operates in IRF mode, specify its priority as 32.
<Sysname> system-view [Sysname] irf member 2 priority 32
The above setting takes effect at the reboot of the switch. Execution of undo irf member renumber cancels the member ID set this time. After device reboot, the member ID of the switch is new-member-id, and cannot be cancelled by the undo command. To change the new-member-id, set another member ID for the switch. For an IRF fabric, member IDs are used to identify switches and ports, and are also relevant to some command lines. Therefore, modifying a member ID may cause device configuration change or even loss. Modify member IDs with caution. Related commands: irf member.
Syntax
irf member member-id renumber new-member-id undo irf member member-id renumber
View
System view
15
Default level
3: Manage level
Parameters
member-id: Specifies the ID of an IRF member switch. The value ranges from 1 to 4. new-member-id: Assigns a new ID for the IRF member switch. The value ranges from 1 to 4. For an A7510 switch, the value can only be 1 or 3. If you set the member ID of an A7506 switch to 4, the last two card slots on the switch becomes unavailable.
Example
# Set the member ID of IRF member (the current member ID is 2) of an IRF fabric to 4.
<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 cancel the above configuration and restore the original member ID of the switch, execute the following command:
[Sysname] undo irf member 2 renumber Warning: Renumbering the switch number may result in configuration change or loss. Continue?[Y/N]y
If you reboot the switch after you execute the irf member 2 renumber 4 command, the member ID of the switch changes to 4. If you want to restore the member ID of the switch to 2, use irf member 4 renumber 2 to reconfigure it rather than undo irf member 2 renumber.
irf priority
Description
Use irf priority to specify a priority for a member switch operating in standalone mode. Use undo irf priority to restore the default. By default, the priority of a member switch is 1. Member priority is used for role election. The greater the priority value, the higher the priority. A member with a higher priority is more likely to be a master. To specify a priority for the switch: Use irf priority when the switch operates in standalone mode. If you want this device to be elected as the master, specify its priority with the irf priority command. Use irf member member-id priority priority when the switch operates in IRF mode. The priority specified by using this command will influence role election during the running process of the IRF fabric. For example, when the current master leaves the IRF fabric, the switch with the highest priority is elected as the new master. When the IRF fabric merge happens, the IRF fabric whose master has the highest priority wins the election.
Syntax
irf priority priority undo irf priority
16
View
System view
Default level
3: Manage level
Parameter
priority: Priority value ranges from 1 to 32.
Example
# Specify the priority as 32 for the switch operating in standalone mode.
<Sysname> system-view [sysname] irf priority 32
irf switch-to
Description
Use irf switch-to to log in to a standby MPU of the IRF fabric. When you log in to an IRF fabric, you are placed at the CLI of its active MPU. You can log in to the CLI of a standby MPU of the IRF fabric to display its configurations and debug the standby MPU. When you switch from the active MPUs CLI to the standby MPUs CLI, you are placed in the user view of the standby MPU and the command prompt changes to <Sysname-Slave#memberID/slot-number>, for example, <Sysname-Slave#1/0>. You can perform the following commands at the CLI of the standby MPU of an IRF fabric: display quit return system-view debugging terminal debugging terminal logging terminal monitor terminal trapping
To return to the console of the active MPU of the IRF fabric, execute the quit command.
Syntax
irf switch-to chassis chassis-number slot slot-number
View
System view
Default level
3: Manage level
17
Parameter
chassis chassis-number slot slot-number: Specifies a card on a certain member of an IRF fabric. It cannot be the active MPU of the IRF fabric.
Example
# Log in to the CLI of the standby MPU in slot 1 of member switch 1.
<Sysname> irf switch-to chassis 1 slot 1 <Sysname-Slave#1/1>
irf-port member-id/port-number
Description
Use irf-port member-id/port-number to create an IRF port and enter IRF port view when the switch operates in IRF mode. If the IRF port is already created, this command enters IRF port view. Use undo irf-port member-id/port-number to delete the specified IRF port. By default, no IRF port is created on the switch. When an IRF port is created, you must bind physical IRF ports to this IRF port, so the IRF port is available for the IRF fabric. Related commands: port group interface.
Syntax
irf-port member-id/port-number undo irf-port member-id/port-number
View
System view
Default level
3: Manage level
Parameter
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 index, and the value can be either 1 or 2.
Example
# Create IRF port 1 for member 1 operating in IRF mode.
<Sysname> system-view [Sysname] irf-port 1/1
irf-port port-number
Description
Use irf-port port-number to create an IRF port and enter IRF port view when the switch operates in standalone mode. If the IRF port is already created, this command enters IRF port view. Use undo irf-port port-number to delete the specified IRF port. By default, no IRF port is created on the switch.
18
Syntax
irf-port port-number undo irf-port port-number
View
System view
Default level
3: Manage level
Parameter
port-number: IRF port number. The value can be either 1 or 2.
Example
# Create IRF port 1 on the switch operating in standalone mode.
<Sysname> system-view [Sysname] irf-port 1 [Sysname-irf-port1]
Description
Use mad bfd enable to enable BFD MAD for detecting multiple IRF fabrics with the same IP address on the network. Use undo mad bfd enable to disable BFD MAD. By default, BFD MAD is disabled.
Syntax
mad bfd enable undo mad bfd enable
View
VLAN interface view
Default level
3: Manage level
19
Parameters
None
Example
# Enable BFD MAD on VLAN-interface 3.
<Sysname> system-view [Sysname] interface vlan-interface 3 [Sysname-Vlan-interface3] mad bfd enable
mad enable
Description
Use mad enable to enable LACP MAD to detect the IRF fabric for multi-active collisions. Use undo mad enable to disable LACP MAD. By default, LACP MAD is disabled. A link disconnection causes an IRF fabric to divide into two or more IRF fabrics that operate with the same global configuration. Because these IRF fabrics look the same to other switches in the network, problems such as route flappings and STP calculation will result. With LACP MAD enabled for an IRF fabric, the member switches exchange their active IDs by sending extended LACPDUs. If the IRF fabric is integral, their active IDs are identical to the masters member ID (the master ID). If the IRF fabric partitions, the active IDs sent by the members differ depending on their respective IRF fabrics.
To ensure the uniqueness of IRF fabrics, once multiple identical active IRF fabrics are detected, the MAD mechanism places all IRF fabrics in recovery state except the one with the lowest master ID (the active ID). For an IRF fabric in recovery state, all its physical ports are shut down except for the IRF ports and those manually configured to not shut down. For more information about how the MAD mechanism works, see IRF Configuration Guide. Because LACP MAD depends on LACP, you must enable LACP on the dynamic aggregate interface. NOTE: This command only takes effect on dynamic aggregate interfaces.
Syntax
mad enable undo mad enable
View
Layer 2 aggregate interface view, Layer 3 aggregate interface view
Default level
3: Manage level
Parameters
None
20
Examples
# Enable LACP MAD on LACP-enabled Layer 2 dynamic aggregate interface 1.
<Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] mad enable
Syntax
mad exclude interface interface-type interface-number undo mad exclude interface interface-type interface-number
View
System view
Default level
3: Manage level
Parameter
interface-type interface-number: Specifies a port by its type and number.
Example
# Configure port GigabitEthernet 2/0/5/1 not to shut down when the IRF fabric transitions to the recovery state.
<Sysname> system-view [Sysname] mad exclude interface gigabitethernet 2/5/0/1
21
mad ip address
Description
Use mad ip address to configure the MAD IP address for the specified member switch. Use undo mad ip address to delete the configured MAD IP address. By default, no MAD IP address is configured for any interface. BFD MAD is implemented with the BFD protocol. In this approach, you must configure a MAD IP address on a BFD-enabled Layer 3 interface for each member of the IRF fabric. This MAD address identifies the member during BFD MAD detection. The MAD IP addresses assigned to the members of an IRF fabric must be from the same network segment. When the IRF fabric operates normally, only the MAD IP address of the master is effective and the BFD session is down. When the IRF fabric partitions, the MAD IP addresses of the masters in different IRF fabrics become effective to activate the BFD sessions to detect for multiple active IRF fabrics.
You can only assign the MAD IP address for an interface used for BFD MAD detection with the mad ip address command, and cannot configure other IP addresses for it (including the common IP address or VRRP virtual IP address configured with the ip address command).
Syntax
mad ip address ip-address { mask | mask-length } member member-id undo mad ip address ip-address { mask | mask-length } member member-id
View
VLAN interface view
Default level
3: Manage level
Parameters
ip-address: Specifies an IP address in dotted decimal notation for the Layer 3 interface. Different from a common IP address, this IP address is bound to the specified member of an IRF fabric for BFD MAD detection and is thus called MAD IP address. mask: Specifies a subnet mask in decimal dotted notation. mask-length: Specifies the subnet mask length, that is, the number of successive 1s in the mask. The value ranges from 0 to 32. member member-id: Specifies the ID of an IRF member switch.
Examples
# Configure the MAD IP address for VLAN-interface 3 on IRF member 1.
<Sysname> system-view [Sysname] interface vlan-interface 3 [Sysname-Vlan-interface3] mad ip address 192.168.0.1 255.255.255.0 member 1
22
mad restore
Description
Use mad restore to recover the member switches of the IRF fabric from recovery state to normal state. An IRF link failure triggers IRF fabric partition and thus causes multi-active collision. In this case, one IRF fabric can keep the active state and other IRF fabrics change into recovery state (in this state, the IRF fabric cannot forward packets). If the IRF fabric in a recovery state fails before the failure is recovered, repair both the failed IRF fabric and the failed IRF link, and then the collided IRF fabrics can merge into one and the failure is recovered. If the IRF fabric in an active state fails before the failure is recovered, enable the IRF fabric in the recovery state at the CLI to make it take over the active IRF fabric and protect the services from being affected.
Syntax
mad restore
View
System view
Default level
3: Manage level
Parameters
None
Example
# Restore IRF fabrics in recovery state to the normal state.
<Sysname> system-view [Sysname] mad restore This command will restore the device from multi-active conflict state. Continue? [Y/N]:Y Restoring from multi-active conflict state, please wait...
23
transmitted between them. For the VPLS networking, the operating mode of the physical IRF ports should be set to enhanced. You cannot set a physical IRF port on an SC card to work in the enhanced mode. In IRF mode, before binding a physical port to an IRF port, first shut down the physical port with the shutdown command, and then execute the port group interface command. Then, bring up the physical port with the undo shutdown command, so the physical port can establish an IRF connection as a physical IRF port. When the switch operates in standalone mode, you can execute the port group interface command directly and do not need to shut down the physical port. In IRF mode, before canceling the binding between a physical port and an IRF port, first shut down the physical port with the shutdown command, and then execute the undo port group interface command. After that, bring up the physical port with the undo shutdown command, so the physical port can forward packets. When the switch operates in standalone mode, you can execute the undo port group interface command directly and do not need to shut down the physical port. After you configure this command, if the physical IRF port which is already bound to the IRF port does not exist because the interface card is plugged out, the binding between the two ports still exists. To cancel the binding between the two ports, use undo port group interface. Related commands: irf-port.
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. No space is allowed between the interface-type and interface-number arguments. mode: Sets the operating mode of the physical IRF port when binding the physical IRF port to an IRF port. enhanced: Sets the physical IRF port to work in the enhanced mode. normal: Sets the physical IRF port to work in the normal mode.
Examples
# Bind physical IRF port Ten-GigabitEthernet 2/0/1 on the switch operating in standalone mode to IRF port 1.
<Sysname> system-view [Sysname] irf-port 1 [Sysname-irf-port 1] port group interface ten-gigabitethernet 2/0/1
# When the switch operates in IRF mode, bind physical IRF port Ten-GigabitEthernet 1/2/0/1 on member 1 to IRF port 1.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/2/0/1
24
[Sysname-Ten-GigabitEthernet1/2/0/1] shutdown [Sysname-Ten-GigabitEthernet1/2/0/1] quit [Sysname] irf-port 1/1 [Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/2/0/1 [Sysname-irf-port1/1] quit [Sysname] interface ten-gigabitethernet 1/2/0/1 [Sysname-Ten-GigabitEthernet1/2/0/1] undo shutdown
Description
Use set irf slot member-id to specify the MPUs member ID in the specified slot of the specified switch.
Syntax
Standalone mode set irf slot slot-number member-id member-id IRF mode: set irf chassis chassis-number slot slot-number member-id member-id
View
System view
Default level
2: System level
Parameters
slot slot-number: Specifies a standby MPU by its slot number. member-id member-id: Specifies the member ID of the target switch. chassis chassis-number slot slot-number: Specifies the member ID of the IRF member switch, and the slotnumber argument represents the number of the slot that holds the standby MPU. You can view the member ID and slot number with the display device command.
Examples
# Set the member ID of the MPU in slot 1 to 1 when the switch operates in standalone mode.
<Sysname> set irf slot 1 member-id 1
# Set the member ID of the MPU in slot 1 of switch 2 to 1 when the switch operates in IRF mode.
<Sysname> set irf chassis 2 slot 1 member-id 1
25
Subscription service
HP recommends that you register your product at the Subscriber's Choice for Business website: http://www.hp.com/go/wwalerts After registering, you will receive email notification of product enhancements, new driver versions, firmware updates, and other product resources.
Related information
Documents
To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. For a complete list of acronyms and their definitions, see HP A-Series Acronyms.
Websites
HP.com http://www.hp.com HP Networking http://www.hp.com/go/networking HP manuals http://www.hp.com/support/manuals HP download drivers and software http://www.hp.com/support/downloads HP software depot http://www.software.hp.com
26
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention
Boldface Italic [] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * &<1-n> #
Description
Bold text represents commands and keywords that you enter literally as shown. 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 you select one. Square brackets enclose a set of optional syntax choices separated by vertical bars, from which you select one or none. Asterisk-marked braces enclose a set of required syntax choices separated by vertical bars, from which you select at least one. Asterisk-marked square brackets enclose optional syntax choices separated by vertical bars, from which you select one choice, multiple choices, or none. The argument or keyword and argument combination before the ampersand (&) sign can be entered 1 to n times. A line that starts with a pound (#) sign is comments.
GUI conventions
Convention
Boldface >
Description
Window names, button names, field names, and menu items are in bold text. For example, the New User window appears; click OK. Multi-level menus are separated by angle brackets. For example, File > Create > Folder.
Symbols
Convention
WARNING CAUTION IMPORTANT NOTE TIP
Description
An alert that calls attention to important information that if not understood or followed can result in personal injury. An alert that calls attention to important information that if not understood or followed can result in data loss, data corruption, or damage to hardware or software. An alert that calls attention to essential information. An alert that contains additional or supplementary information. An alert that provides helpful information.
27
28
Index
CDIMPS
C chassis convert mode irf,1 D display irf,2 display irf configuration,3 display irf topology,5 display mad,6 display switchover state,7 I irf auto-merge enable,9 irf auto-update enable,9 irf domain,10 irf link-delay,11 irf mac-address persistent,12 irf member,13 irf member description,13 irf member priority,14 irf member renumber,15 irf priority,16 irf switch-to,17 irf-port member-id/port-number,18 irf-port port-number,18 M mad bfd enable,19 mad enable,20 mad exclude interface,21 mad ip address,22 mad restore,23 P port group interface,23 S set irf slot member-id,25
29