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

mdc-admin

Usage guidelines

Do not configure ARP MAD together with LACP MAD, because they handle collisions differently.

Do not configure ARP MAD together with BFD MAD. ARP MAD requires the spanning tree feature, but BFD MAD is mutually exclusive with the spanning tree feature. At the same time, ARP MAD handles collisions differently than BFD MAD.

When you configure ARP MAD, 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 both the IRF fabric and the intermediate device:

    • Create a VLAN and VLAN interface for ARP MAD.

    • Assign the ports of ARP MAD links to the ARP MAD VLAN.

  • As a best practice, 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 Layer 2—LAN Switching 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 domain IDs for correct split detection.

When you use the mad arp enable command, the system prompts you to enter a domain ID. If you do not want to change the current domain ID, press enter at the prompt.

An IRF fabric has only one IRF domain ID. You can change the IRF domain ID by using the following commands: irf domain, mad enable, mad arp enable, or mad nd enable. The IRF domain IDs configured by using these commands overwrite each other.

You can execute the mad arp enable command on any MDCs. If you change the IRF domain ID in one MDC, the new IRF domain ID takes effect immediately on all MDCs.

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