- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-IRF (cluster) commands | 173.59 KB |
IRF commands
The following compatibility matrixes show the support of hardware platforms for IRF:
Hardware series |
Model |
Product code |
IRF compatibility |
WX1800H series |
WX1804H |
EWP-WX1804H-PWR-CN |
No |
WX2500H series |
WX2508H-PWR-LTE WX2510H WX2510H-F WX2540H WX2540H-F WX2560H |
EWP-WX2508H-PWR-LTE EWP-WX2510H-PWR EWP-WX2510H-F-PWR EWP-WX2540H EWP-WX2540H-F EWP-WX2560H |
No |
WX3000H series |
WX3010H WX3010H-X WX3010H-L WX3024H WX3024H-L WX3024H-F |
EWP-WX3010H EWP-WX3010H-X-PWR EWP-WX3010H-L-PWR EWP-WX3024H EWP-WX3024H-L-PWR EWP-WX3024H-F |
No |
WX3500H series |
WX3508H WX3510H WX3520H WX3520H-F WX3540H |
EWP-WX3508H EWP-WX3510H EWP-WX3520H EWP-WX3520H-F EWP-WX3540H |
Yes |
WX5500E series |
WX5510E WX5540E |
EWP-WX5510E EWP-WX5540E |
Yes |
WX5500H series |
WX5540H WX5560H WX5580H |
EWP-WX5540H EWP-WX5560H EWP-WX5580H |
Yes |
Access controller modules |
LSUM1WCME0 EWPXM1WCME0 LSQM1WCMX20 LSUM1WCMX20RT LSQM1WCMX40 LSUM1WCMX40RT EWPXM2WCMD0F EWPXM1MAC0F |
LSUM1WCME0 EWPXM1WCME0 LSQM1WCMX20 LSUM1WCMX20RT LSQM1WCMX40 LSUM1WCMX40RT EWPXM2WCMD0F EWPXM1MAC0F |
Yes |
Hardware series |
Model |
Product code |
IRF compatibility |
WX1800H series |
WX1804H WX1810H WX1820H WX1840H |
EWP-WX1804H-PWR EWP-WX1810H-PWR EWP-WX1820H EWP-WX1840H-GL |
No |
WX3800H series |
WX3820H WX3840H |
EWP-WX3820H-GL EWP-WX3840H-GL |
Yes |
WX5800H series |
WX5860H |
EWP-WX5860H-GL |
Yes |
display irf
Use display irf to display IRF information.
Syntax
display irf
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display IRF information.
<Sysname> display irf
Member ID Role Priority CPU MAC Description
1 Loading 1 00e0-fcbe-3102 F1Num001
*+2 Master 1 00e0-fcb1-ade2 F1Num002
--------------------------------------------------------
The asterisk (*) indicates the master.
The plus sign (+) indicates the device through which you are logged in.
The right angle bracket (>) indicates the device's stack capability is disabled.
Bridge MAC of the IRF: 00e0-fc00-1000
Auto upgrade : Disabled
MAC persistence : Disabled
Topo-domain ID : 30
Auto merge : Enabled
Table 1 Command output
Field |
Description |
Member ID |
IRF member ID: · A prefix of asterisk sign (*) indicates the master device. · A prefix of plus sign (+) indicates the device where you are logged in. · A prefix of right angle bracket (>) indicates the device that has been temporarily removed from the IRF fabric by using the undo irf member stack enable command. |
Role |
Role of the member device in the IRF fabric: · Master—Master device. · Standby—Standby device. · Loading—The device is loading software images. |
Priority |
IRF member priority. |
CPU MAC |
MAC address of the CPU in the device. |
Description |
Description you have configured for the member device. · If no description is configured, this field displays a dashed line (---). · If the description exceeds the maximum number of characters that can be displayed, an ellipsis (…) is displayed in place of the exceeding text. To display the complete description, use the display current-configuration command. |
Bridge MAC of the IRF |
Bridge MAC address of the IRF fabric. |
Auto upgrade |
Status of the software auto-update feature: · Enabled. · Disabled. |
MAC persistence |
IRF bridge MAC persistence setting: · 6 min—Bridge MAC address of the IRF fabric remains unchanged for 6 minutes after the address owner leaves. · Always—Bridge MAC address of the IRF fabric does not change after the address owner leaves. · Disabled—Bridge MAC address of the current master replaces the original bridge MAC address as soon as the owner of the original address leaves. |
Topo-domain ID |
Topo-domain ID of the IRF fabric. The topo-domain ID you assign to an IRF fabric must uniquely identify the IRF fabric in a multi-IRF network. |
Auto merge |
Status of the auto-merge feature: · Enabled. · Disabled. |
display irf configuration
Use display irf configuration to display IRF settings for each member device in an IRF fabric.
Syntax
display irf configuration
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display IRF settings on all member devices.
<Sysname> display irf configuration
The New ID, Topo-domain, Stack, and Member interfaces fields display settings for the next startup.
Member ID New ID Topo-domain Stack Member interfaces
1 1 0 Enabled Disabled
Table 2 Command output
Field |
Description |
Member ID |
Current IRF member ID of the device. |
New ID |
IRF member ID assigned to the device. This member ID takes effect at reboot. |
Topo-domain |
IRF topo-domain ID. The topo-domain ID takes effect at reboot. |
Stack |
Whether multimember stacking capability is enabled: · Enabled—The device can form an IRF fabric with other member devices. · Disabled—The device cannot form an IRF fabric with other member devices. The device will be removed from the IRF fabric in a maximum of 5 seconds (see "irf member stack enable"). |
Member interfaces |
Network interfaces bound to the IRF port. This field displays Disabled if no network interfaces have been bound to the IRF port. The channel type of each IRF link is enclosed in brackets. Available channel types include: · ctrl—Control channel. · data—Data channel. · ctrl&data—Hybrid channel. |
display irf forwarding
Use display irf forwarding to display information about the IRF hello packets received on a member device.
Syntax
display irf forwarding [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a member device by its IRF member ID. The member ID is in the range of 0 to 255. If you do not specify a member device, this command displays information about the IRF hello packets received on the master.
Examples
# Display information about the IRF hello packets received on the master.
<Sysname> display irf forwarding
Member ID CPU MAC Hello timeout (sec)
1 00e0-fc0f-8c02 5
2 00e0-fc0f-8c04 5
# Display information about the IRF hello packets received on member device 2.
<Sysname> display irf forwarding slot 2
Member ID CPU MAC Hello timeout (sec)
2 00e0-fc0f-8c04 5
1 00e0-fc0f-8c02 4
Table 3 Command output
Field |
Description |
Member ID |
IRF member ID of the packet sender. |
CPU MAC |
CPU MAC address of the packet sender. |
Hello timeout (sec) |
The remaining amount of time before the hello packet times out, in seconds. If a new hello packet is not received before the existing hello packet expires, the member device determines that the sender has left the IRF fabric. If a new hello packet is received before the existing hello packet expires, the device refreshes the hello timeout time for the sender based on the received packet. |
display irf link
Use display irf link to display IRF link information.
Syntax
display irf link
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display IRF link information.
<Sysname> display irf link
Member ID Member interfaces Status
1 Disabled --
Table 4 Command output
Field |
Description |
Member ID |
IRF member ID. |
Member interfaces |
Network interfaces bound to the IRF port. This field displays Disabled if no network interfaces have been bound to the IRF port. The channel type of each IRF link is enclosed in brackets. Available channel types include: · ctrl—Control channel. · data—Data channel. · ctrl&data—Hybrid channel. |
Status |
Link status of the network interface: · Up—The link is up. · Down—The link is down. · ADM—The interface has been manually shut down by using the shutdown command. · Blocked—The link is blocked. In this state, the device cannot join an IRF fabric. For more information about this state, see "irf member stack enable." This field displays two hyphens (--) if no network interfaces are bound to the IRF port. |
display mad
Use display mad to display MAD status and settings.
Syntax
display mad [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
verbose: Displays detailed MAD information. If you do not specify this keyword, the command only displays whether a MAD mechanism is enabled or disabled.
Examples
# Display brief MAD information.
<Sysname> display mad
MAD ARP disabled.
MAD ND disabled.
MAD LACP enabled.
# Display detailed MAD information.
<Sysname> display mad verbose
Multi-active recovery state: No
Excluded ports(user-configured):
Vlan-interface999
Excluded ports(system-configured):
Ten-GigabitEthernet1/0/9
Ten-GigabitEthernet1/0/10
MAD ARP disabled.
MAD ND disabled.
MAD LACP enabled interface: Bridge-Aggregation 1
MAD status : Normal
Member ID Port MAD status
1 Ten-GigabitEthernet1/0/1 Normal
2 Ten-GigabitEthernet1/0/2 Normal
Table 5 Command output
Field |
Description |
MAD ARP enabled. |
Status of ARP MAD. This field displays MAD ARP disabled if ARP MAD is disabled. |
MAD ND enabled. |
Status of ND MAD. This field displays MAD ND disabled if ND MAD is disabled. |
MAD LACP disabled. |
Status of LACP MAD. This field displays MAD LACP enabled if LACP MAD is enabled. |
Multi-active recovery state |
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. All the other IRF fabrics are set to the Recovery state. In Recovery state, MAD shuts down all network interfaces in the fabric except for the IRF network interfaces and interfaces configured to not shut down. · No—The IRF fabric is not in Recovery state. It is active and can forward traffic. |
Excluded ports(user-configured) |
Interfaces manually configured to not shut down when the IRF fabric transits to the Recovery state. |
Excluded ports(system-configured) |
Interfaces set to not shut down by default when the IRF fabric transits to the Recovery state. These interfaces are not user configurable. |
MAD ARP enabled interface: |
Interfaces on which ARP MAD is enabled. |
MAD ND enabled interface: |
Interfaces on which ND MAD is enabled. |
MAD LACP enabled interface |
Interface on which LACP MAD is enabled. This field is displayed for each interface enabled with LACP MAD. |
MAD status |
LACP MAD operating status: · Normal—LACP MAD is operating correctly. · Faulty—LACP MAD is not operating correctly. Verify the following items: ¡ Verify that the interfaces on LACP MAD links are up. ¡ Verify that the intermediate device supports extended LACPDUs. ¡ Verify that all member devices have member ports used for LACP MAD. |
Member ID Port MAD status |
LACP MAD details: · Member ID—IRF member ID of a device. · Port—Member ports of the aggregate interface used for LACP MAD. · MAD status—LACP MAD operating state on a member port. Options include Normal and Faulty. |
irf auto-merge enable
Use irf auto-merge enable to enable IRF auto-merge.
Use undo irf auto-merge enable to disable IRF auto-merge.
Syntax
irf auto-merge enable
undo irf auto-merge enable
Default
IRF auto-merge is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
IRF fabrics that are merging perform master election. The IRF auto-merge feature enables member devices in the IRF fabric that fails the master election to automatically reboot for completing the IRF merge. If the IRF auto-merge feature is disabled, you must follow the system instructions to manually reboot member devices in the IRF fabric that fails master election.
For a successful merge, make sure IRF auto-merge is enabled on both IRF fabrics that are merging.
IRF auto-merge takes effect on merges caused by the following events:
· The IRF link recovers from a link failure.
· The IRF network interfaces of the member devices are connected through a Layer 2 network after the interfaces are bound to IRF ports.
The feature does not take effect on a merge that occurs in the following conditions:
· You add a network interface to an IRF port.
· The network interface has been connected to the peer member device through a Layer 2 network before you bind it to the IRF port.
Examples
# Enable IRF auto-merge.
<Sysname> system-view
[Sysname] irf auto-merge enable
irf auto-update enable
Use irf auto-update enable to enable software auto-update.
Use undo irf auto-update enable to disable software auto-update.
Syntax
irf auto-update enable
undo irf auto-update enable
Default
Software auto-update is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command automatically propagates the current software images of the master in the IRF fabric to member devices you are adding to the IRF fabric.
To ensure a successful software update, verify that the new device you are adding to the IRF fabric has sufficient storage space for the new software images. If sufficient storage space is not available, the IRF fabric automatically deletes the current software images of the device. If the reclaimed space is still insufficient, the device cannot complete the auto-update. You must reboot the device, and then access the BootWare menu to delete files.
Examples
# Enable software auto-update.
<Sysname> system-view
[Sysname] irf auto-update enable
irf domain
Use irf domain to assign an IRF MAD domain ID to each member device or to an IRF fabric.
Use undo irf domain to restore the default.
Syntax
irf domain domain-id
undo irf domain
Default
The IRF MAD domain ID is 0.
Views
System view
Predefined user roles
network-admin
Parameters
domain-id: Specifies an IRF MAD domain ID. The value range is 0 to 4294967295.
Usage guidelines
An IRF MAD domain ID uniquely identifies an IRF multi-active detection domain. If one IRF fabric uses another IRF fabric as the intermediate device for LACP MAD, ARP MAD, or ND MAD, you must assign the two IRF fabrics different MAD domain IDs for correct split detection. False detection causes IRF split.
An IRF fabric has only one IRF MAD domain ID. You can change the IRF MAD domain ID by using the irf domain, mad enable, mad arp enable, or mad nd enable command. The IRF MAD domain IDs configured by using these commands overwrite each other.
The irf domain command is available only on the default MDC. The mad enable, mad arp enable, and mad nd enable commands are available on all MDCs. If you change the IRF MAD domain ID in one MDC, the IRF MAD domain IDs in all other MDCs change automatically.
Examples
# Set the IRF MAD domain ID to 10.
<Sysname> system-view
[Sysname] irf domain 10
irf mac-address persistent
Use irf mac-address persistent to configure IRF bridge MAC persistence.
Use undo irf mac-address persistent to enable the IRF fabric to change its bridge MAC address as soon as the address owner leaves.
Syntax
irf mac-address persistent { always | timer }
undo irf mac-address persistent
Default
By default, the IRF bridge MAC address remains unchanged for 6 minutes after the address owner leaves.
Views
System view
Predefined user roles
network-admin
Parameters
always: Enables the IRF bridge MAC address to be permanent. The IRF bridge MAC address does not change after the address owner leaves.
timer: Enables the IRF bridge MAC address to remain unchanged for 6 minutes after the address owner leaves. If the owner rejoins the IRF fabric within the time limit, the IRF bridge MAC address does not change. If the owner does not rejoin within the time limit, the IRF fabric uses the bridge MAC address of the current master as the bridge MAC address.
Usage guidelines
If the undo form of this command is used, bridge MAC address of the current master replaces the original IRF bridge MAC as soon as the original address owner leaves.
On a switched LAN, the IRF bridge MAC address must be unique for correct traffic transmission.
When IRF fabrics merge, IRF ignores the IRF bridge MAC address and checks the bridge MAC address of each member device in the IRF fabrics. IRF merge fails if any two member devices have the same bridge MAC address.
If the IRF fabric has multi-member aggregate links, do not use the undo irf mac-address persistent command. Use of this command might result in unnecessary traffic disruption.
If ARP MAD or ND MAD is used with the spanning tree feature, disable IRF bridge MAC persistence by using the undo irf mac-address persistent command.
Examples
# Enable the IRF bridge MAC address to be permanent.
<Sysname> system-view
[Sysname] irf mac-address persistent always
irf member description
Use irf member description to configure a description for an IRF member device.
Use undo irf member description to restore the default.
Syntax
irf member member-id description text
undo irf member member-id description
Default
No description is configured for an IRF member device.
Views
System view
Predefined user roles
network-admin
Parameters
member-id: Specifies a member device by its IRF member ID. The following compatibility matrixes show the value ranges for the IRF member ID:
Hardware series |
Model |
Product code |
Value range |
WX1800H series |
WX1804H |
EWP-WX1804H-PWR-CN |
Not supported |
WX2500H series |
WX2508H-PWR-LTE WX2510H WX2510H-F WX2540H WX2540H-F WX2560H |
EWP-WX2508H-PWR-LTE EWP-WX2510H-PWR EWP-WX2510H-F-PWR EWP-WX2540H EWP-WX2540H-F EWP-WX2560H |
Not supported |
WX3000H series |
WX3010H WX3010H-X WX3010H-L WX3024H WX3024H-L WX3024H-F |
EWP-WX3010H EWP-WX3010H-X-PWR EWP-WX3010H-L-PWR EWP-WX3024H EWP-WX3024H-L-PWR EWP-WX3024H-F |
Not supported |
WX3500H series |
WX3508H WX3510H WX3520H WX3520H-F WX3540H |
EWP-WX3508H EWP-WX3510H EWP-WX3520H EWP-WX3520H-F EWP-WX3540H |
1 or 2 |
WX5500E series |
WX5510E WX5540E |
EWP-WX5510E EWP-WX5540E |
· WX5510E: Not supported · WX5540E: 1 or 2 |
WX5500H series |
WX5540H WX5560H WX5580H |
EWP-WX5540H EWP-WX5560H EWP-WX5580H |
1 or 2 |
Access controller modules |
LSUM1WCME0 EWPXM1WCME0 LSQM1WCMX20 LSUM1WCMX20RT LSQM1WCMX40 LSUM1WCMX40RT EWPXM2WCMD0F EWPXM1MAC0F |
LSUM1WCME0 EWPXM1WCME0 LSQM1WCMX20 LSUM1WCMX20RT LSQM1WCMX40 LSUM1WCMX40RT EWPXM2WCMD0F EWPXM1MAC0F |
1 or 2 |
Hardware series |
Model |
Product code |
Value range |
WX1800H series |
WX1804H WX1810H WX1820H WX1840H |
EWP-WX1804H-PWR EWP-WX1810H-PWR EWP-WX1820H EWP-WX1840H-GL |
Not supported |
WX3800H series |
WX3820H WX3840H |
EWP-WX3820H-GL EWP-WX3840H-GL |
1 or 2 |
WX5800H series |
WX5860H |
EWP-WX5860H-GL |
1 or 2 |
text: Specifies a description, a string of 1 to 127 characters.
Usage guidelines
Configure a description for each IRF member device for the ease of management. As a best practice, configure the physical location of each IRF member device if they are located on different floors or in different buildings or if there are multiple IRF fabrics.
Examples
# Configure the description as F1Num001 for IRF member 1.
<Sysname> system-view
[Sysname] irf member 1 description F1Num001
irf member priority
Use irf member priority to change the priority of an IRF member device.
Use undo irf member priority to restore the default.
Syntax
irf member member-id priority priority
undo irf member member-id priority
Default
The IRF member priority is 1.
Views
System view
Predefined user roles
network-admin
Parameters
member-id: Specifies a member device by its IRF member ID. The value range for this argument varies by device model. For more information, see the member-id argument in "irf member description."
priority: Sets the member 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.
Examples
# Set the priority of IRF member 2 to 32.
<Sysname> system-view
[Sysname] irf member 2 priority 32
irf member renumber
Use irf member renumber to change the IRF member ID of an IRF member device.
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 IRF member ID is 1.
Views
System view
Predefined user roles
network-admin
Parameters
member-id: Specifies a member device by its IRF member ID. The value range for this argument varies by device model. For more information, see the member-id argument in "irf member description."
new-member-id: Assigns a new ID to the IRF member device.
Usage guidelines
CAUTION: In an IRF fabric, an IRF member ID change can invalidate member ID-related settings, including interface and file path settings, and cause data loss. Make sure you fully understand its impact on your live network. |
Make sure each member device in the IRF fabric has a unique member ID.
The new IRF member ID takes effect after you reboot the member device.
Examples
# Change the member ID of an IRF member device from 1 to 2.
<Sysname> system-view
[Sysname] irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y
irf member stack enable
Use irf member stack enable to enable an IRF member device to receive and send IRF control packets.
Use undo irf member stack enable to disable an IRF member device from receiving or sending IRF control packets.
Syntax
irf member member-id stack enable
undo irf member member-id stack enable
Default
An IRF member device receives and sends IRF control packets.
Views
System view
Predefined user roles
network-admin
Parameters
member-id: Specifies a member device by its IRF member ID. The value range for this argument varies by device model. For more information, see the member-id argument in "irf member description."
Usage guidelines
You can use the undo form of this command to remove a member device from an IRF fabric for troubleshooting or maintenance purposes. The removed member device still runs the original IRF settings. However, it does not send or receive IRF control packets.
After you finish the troubleshooting or maintenance tasks, you can execute this command to add the device back to the IRF fabric without having to reconfigure IRF settings. For this command to take effect, you must save the command setting and reboot the device.
Examples
# Remove member device 2 from the IRF fabric.
<Sysname> system-view
[Sysname] undo irf member 2 stack enable
Member 2 will leave from the IRF and cannot form an IRF with any other devices. Continue? [Y/N]: y
Operation succeeded. Please check the configuration on member 2 with the IRF for configuration collisions.
# Add the removed device back to the IRF fabric.
<Sysname> system-view
[Sysname] irf member 2 stack enable
Please save the configuration, and then reboot the device for the configuration to take effect.
irf topo-domain
Use irf topo-domain to assign an IRF topo-domain ID to each member device or to an IRF fabric.
Use undo irf topo-domain to restore the default.
Syntax
irf topo-domain topo-domain-id
undo irf topo-domain
Default
The IRF topo-domain ID is 0.
Views
System view
Predefined user roles
network-admin
Parameters
topo-domain-id: Specifies an IRF topo-domain ID. The value range is 0 to 4294967295.
Usage guidelines
An IRF topo-domain ID uniquely identifies an IRF fabric.
You must assign the same topo-domain ID to devices you are adding to the same IRF fabric.
For the topo-domain ID change to take effect, you must reboot the device.
Examples
# Set the IRF topo-domain ID to 10.
<Sysname> system-view
[Sysname] irf topo-domain 10
The configuration will take effect at the next startup.
irf-optimize wlan reliable-access
Use irf-optimize wlan reliable-access to optimize IRF for reliable WLAN access.
Use undo irf-optimize wlan reliable-access to disable IRF optimization for WLAN access.
Syntax
irf-optimize wlan reliable-access
undo irf-optimize wlan reliable-access
Default
IRF optimization for WLAN access is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Use this command to guarantee reliable AP and client access. This command accelerates IRF master election, new member joining, and IRF member role change to prevent IRF events from causing unstable AP and client access.
Examples
# Enable IRF optimization for reliable WLAN access.
<Sysname> system-view
[Sysname] irf-optimize wlan reliable-access
irf-port
Use irf-port to enter IRF port view.
Syntax
irf-port member-id
Views
System view
Predefined user roles
network-admin
Parameters
member-id: Specifies an IRF member ID. The value range for this argument varies by device model. For more information, see the member-id argument in "irf member renumber."
Usage guidelines
Each member device has only one IRF port. The IRF port ID is the IRF member ID.
You must enter IRF port view to bind links to the IRF port.
Examples
# Enter IRF port view of the IRF port on member device 1.
<Sysname> system-view
[Sysname] irf-port 1
Related commands
port group interface
irf-port-configuration active
Use irf-port-configuration active to activate IRF port settings.
Syntax
irf-port-configuration active
Views
System view
Predefined user roles
network-admin
Usage guidelines
After you bind links to an IRF port, you must execute this command for the bindings to take effect. This command enables two devices to merge into one IRF fabric.
The system activates the IRF port settings automatically in the following situations:
· The configuration file that the device starts with contains IRF port bindings.
· You are binding links to an IRF port after an IRF fabric is formed.
Examples
# Activate the IRF port settings.
<Sysname> system-view
[Sysname] irf-port-configuration active
mad arp enable
Use mad arp enable to enable ARP MAD.
Use undo mad arp enable to disable ARP MAD.
Syntax
mad arp enable
undo mad arp enable
Default
ARP MAD is disabled.
Views
VLAN interface view
Predefined user roles
network-admin
Usage guidelines
Do not configure ARP MAD together with LACP MAD, because they handle collisions differently.
When you configure ARP MAD on a VLAN interface, follow these restrictions and guidelines:
Category |
Restrictions and guidelines |
ARP MAD VLAN |
· Do not enable ARP MAD on VLAN-interface 1. · If you are using an intermediate device, perform the following tasks: ¡ On the IRF fabric and the intermediate device, create a VLAN for ARP MAD. ¡ On the IRF fabric and the intermediate device, assign the ports of ARP MAD links to the ARP MAD VLAN. ¡ On the IRF fabric, create a VLAN interface for the ARP MAD VLAN. · Do not use the ARP MAD VLAN for any other purposes. |
ARP MAD and feature configuration |
If an intermediate device is used, make sure the following requirements are met: · Run the spanning tree feature between the IRF fabric and the intermediate device to ensure that there is only one ARP MAD link in forwarding state. For more information about the spanning tree feature and its configuration, see Network Connectivity Configuration Guide. · Enable the IRF fabric to change its bridge MAC address as soon as the address owner leaves. · If the intermediate device is also an IRF fabric, assign the two IRF fabrics different MAD domain IDs for correct split detection. |
When you configure ARP MAD on a Reth interface, follow these restrictions and guidelines:
Category |
Restrictions and guidelines |
ARP MAD-enabled Reth interface and ARP MAD VLAN |
Perform the following tasks on the IRF fabric and the intermediate device: · On the IRF fabric, create a Reth interface and assign a network interface on each member device to the Reth interface. · On the intermediate device, create a VLAN for ARP MAD and assign ports connected to the Reth interface of the IRF fabric to the VLAN. Do not use the ARP MAD VLAN on the intermediate device for any purposes other than ARP MAD. |
ARP MAD and feature configuration |
· Enable the IRF fabric to change its bridge MAC address as soon as the address owner leaves. · If an intermediate device is also an IRF fabric, assign the two IRF fabrics different MAD domain IDs for correct split detection. |
When you execute the mad arp enable command, the system prompts you to enter a MAD domain ID. If you do not want to change the current MAD domain ID, press enter at the prompt.
An IRF fabric has only one IRF MAD domain ID. You can change the IRF MAD domain ID by using the following commands: irf domain, mad enable, mad arp enable, or mad nd enable. The IRF MAD domain IDs configured by using these commands overwrite each other.
Examples
# Enable ARP MAD on VLAN-interface 3.
<Sysname> system-view
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad arp enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain is: 0]: 1
The assigned domain ID is: 1
Related commands
irf domain
mad enable
Use mad enable to enable LACP MAD.
Use undo mad enable to disable LACP MAD.
Syntax
mad enable
undo mad enable
Default
LACP MAD is disabled.
Views
Aggregate interface view
Predefined user roles
network-admin
Usage guidelines
LACP MAD handles collisions differently than ARP MAD and ND MAD. To avoid conflicts, do not enable LACP MAD together with ARP MAD and ND MAD on an IRF fabric.
LACP MAD requires a device that supports extended LACPDUs to act as the intermediate device. 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 one IRF fabric uses another IRF fabric as the intermediate device for LACP MAD, you must assign the two IRF fabrics different MAD domain IDs for correct split detection. False detection causes IRF split.
When you execute the mad enable command, the system prompts you to enter a MAD domain ID. If you do not want to change the current MAD domain ID, press enter at the prompt.
An IRF fabric has only one IRF MAD domain ID. You can change the IRF MAD domain ID by using the following commands: irf domain, mad enable, mad arp enable, or mad nd enable. The IRF MAD domain IDs configured by using these commands overwrite each other.
Examples
# Enable LACP MAD on Bridge-Aggregation 1, a Layer 2 dynamic aggregate 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.
Related commands
irf domain
mad exclude interface
Use mad exclude interface to exclude a network interface from being shut down when the IRF fabric transits to the Recovery state upon detection of a multi-active collision.
Use undo mad exclude interface to configure the IRF fabric to shut down a network interface when it transits to the Recovery state upon detection of a multi-active collision.
Syntax
mad exclude interface interface-type interface-number
undo mad exclude interface interface-type interface-number
Default
When an IRF fabric transits to the Recovery state, the system automatically shuts down all network interfaces except for the IRF network interfaces.
Views
System view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies a network interface by its type and number.
Usage guidelines
If an interface must be kept in up state for special purposes such as Telnet connection, exclude the interface from the shutdown action. As a best practice to avoid incorrect traffic forwarding, do not exclude any interfaces except for the interfaces used for Telnet.
Do not exclude the following interfaces from the shutdown action:
· Aggregate interfaces used for MAD and their member interfaces.
· VLAN interfaces used for MAD and its Ethernet ports.
· Reth interfaces used for MAD and their member interfaces.
The interfaces 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 interfaces.
Examples
# Exclude GigabitEthernet 1/0/1 from being shut down when the MAD status transits to Recovery.
<Sysname> system-view
[Sysname] mad exclude interface gigabitethernet 1/0/1
Related commands
mad restore
mad nd enable
Use mad nd enable to enable ND MAD.
Use undo mad nd enable to disable ND MAD.
Syntax
mad nd enable
undo mad nd enable
Default
ND MAD is disabled.
Views
VLAN interface view
Predefined user roles
network-admin
Usage guidelines
Do not configure ND MAD together with LACP MAD, because they handle collisions differently.
When you configure ND MAD on a VLAN interface, follow these restrictions and guidelines:
Category |
Restrictions and guidelines |
ND MAD VLAN |
· Do not enable ND MAD on VLAN-interface 1. · If you are using an intermediate device, perform the following tasks: ¡ On the IRF fabric and the intermediate device, create a VLAN for ND MAD. ¡ On the IRF fabric and the intermediate device, assign the ports of ND MAD links to the ND MAD VLAN. ¡ On the IRF fabric, create a VLAN interface for the ND MAD VLAN. · Do not use the ND MAD VLAN for any other purposes. |
ND MAD and feature configuration |
If an intermediate device is used, make sure the following requirements are met: · Run the spanning tree feature between the IRF fabric and the intermediate device to ensure that there is only one ND MAD link in forwarding state. For more information about the spanning tree feature and its configuration, see Network Connectivity Configuration Guide. · Enable the IRF fabric to change its bridge MAC address as soon as the address owner leaves. · If the intermediate device is also an IRF fabric, assign the two IRF fabrics different MAD domain IDs for correct split detection. |
When you execute the mad nd enable command, the system prompts you to enter a MAD domain ID. If you do not want to change the current MAD domain ID, press enter at the prompt.
An IRF fabric has only one IRF MAD domain ID. You can change the IRF MAD domain ID by using the following commands: irf domain, mad enable, mad arp enable, or mad nd enable. The IRF MAD domain IDs configured by using these commands overwrite each other.
Examples
# Enable ND MAD on VLAN-interface 3.
<Sysname> system-view
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad nd enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain is: 0]: 1
The assigned domain ID is: 1
Related commands
irf domain
mad restore
Use mad restore to restore the normal MAD state of the IRF fabric in Recovery state.
Syntax
mad restore
Views
System view
Predefined user roles
network-admin
Usage guidelines
For split IRF fabrics, if the active IRF fabric fails to work before the IRF split problem is fixed, use this command to restore an IRF fabric in Recovery state. The recovered IRF fabric will take over the active IRF fabric role.
Examples
# Restore the normal MAD state of the IRF fabric in Recovery 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...
port group interface
Use port group interface to bind a network interface to an IRF port.
Use undo port group interface to remove the binding of a network interface and an IRF port.
Syntax
port group interface interface-type interface-number [ type { control | data } ]
undo port group interface interface-name
Default
No network interfaces are bound to an IRF port.
Views
IRF port view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies a network interface by its type and number.
interface-name: Specifies a network interface in the interface-typeinterface-number format. No space is allowed between the interface-type and interface-number arguments.
type { control | data }: Specifies a channel type for the IRF link. The hybrid channel type applies if you do not specify a channel type. The link can forward both data and control packets.
· control: Sets the link type to control. The link can forward only control packets, such as IRF protocol packets.
· data: Sets the link type to data. The link can forward only data packets.
Usage guidelines
An IRF port must have a minimum of one hybrid channel, or a minimum of one data channel and one control channel. As a best practice, use separate physical links as data and control channels to prevent control traffic from being delayed when a large amount of data traffic is present. An IRF port can have a maximum of four IRF network interfaces.
To change the channel type of an IRF link, you must first remove the binding, and then rebind the link.
Use the shutdown command to shut down a network interface before you bind it to or remove it from an IRF port. To bring up the network interface after a binding or binding removal operation, use the undo shutdown command.
Examples
# Bind GigabitEthernet 2/0/1 as a hybrid channel to the IRF port on IRF member 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] shutdown
[Sysname-GigabitEthernet2/0/1] quit
[Sysname] irf-port 2
[Sysname-irf-port2] port group interface gigabitethernet 2/0/1
[Sysname-irf-port2] quit
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] undo shutdown
Related commands
irf-port