Configuring ARP MAD

Before you configure ARP MAD, choose an ARP MAD link scheme as described in "ARP MAD."

As a best practice, connect the ARP MAD links after you finish the ARP MAD configuration if you are not using existing data links as ARP MAD links.

Configuring ARP MAD that uses common Ethernet ports

Configure ARP MAD on a VLAN interface if you use common Ethernet ports for ARP MAD.

When you configure ARP MAD that uses common Ethernet ports, 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.

  • 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.

To configure ARP MAD that uses common Ethernet ports:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Assign a domain ID to the IRF fabric.

irf domain domain-id

The default IRF domain ID is 0.

3. Configure the IRF bridge MAC address to change as soon as the address owner leaves.

undo irf mac-address persistent

By default, the IRF bridge MAC address remains unchanged for 6 minutes after the address owner leaves.

4. Create a VLAN dedicated to ARP MAD.

vlan vlan-id

By default, only VLAN 1 exists.

5. Return to system view.

quit

N/A

6. Enter Ethernet interface view.

interface interface-type interface-number

N/A

7. Assign the port to the ARP MAD VLAN.

  • Assign the port to the VLAN as an access port: port access vlan vlan-id

  • Assign the port to the VLAN as a trunk port: port trunk permit vlan vlan-id

  • Assign the port to the VLAN as a hybrid port: port hybrid vlan vlan-id { tagged | untagged }

The link type of ARP MAD ports can be access, trunk, or hybrid.

The default link type of a port is access.

8. Return to system view.

quit

N/A

9. Enter VLAN interface view.

interface vlan-interface vlan-interface-id

N/A

10. Assign the interface an IP address.

ip address ip-address { mask | mask-length }

By default, no IP addresses are assigned to a VLAN interface.

11. Enable ARP MAD.

mad arp enable

By default, ARP MAD is disabled.

Configuring ARP MAD that uses management Ethernet ports

When you configure ARP MAD that uses management Ethernet ports, follow these restrictions and guidelines:

Category

Restrictions and guidelines

Management Ethernet ports for ARP MAD

Connect a management Ethernet port on each member device to the common Ethernet ports on the intermediate device.

ARP MAD VLAN

On the intermediate device, create a VLAN for ARP MAD and assign the ports used for ARP MAD to the VLAN. On the IRF fabric, you do not need to assign the management Ethernet ports to the VLAN.

ARP MAD and feature configuration

  • 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.

To configure ARP MAD that uses management Ethernet ports:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Assign a domain ID to the IRF fabric.

irf domain domain-id

By default, the domain ID of an IRF fabric is 0.

3. Configure the IRF bridge MAC address to change as soon as the address owner leaves.

undo irf mac-address persistent

By default, the IRF bridge MAC address remains unchanged for 6 minutes after the address owner leaves.

4. Enter management Ethernet interface view.

interface M-GigabitEthernet interface-number

Of all management Ethernet ports on an IRF fabric, only the master's management Ethernet port is accessible.

5. Assign an IP address to the management Ethernet ports.

ip address ip-address { mask | mask-length }

By default, no IP addresses are configured.

6. Enable ARP MAD.

mad arp enable

By default, ARP MAD is disabled.