If a device is enabled to learn multicast MAC addresses, it can generate ARP entries after receiving ARP packets carrying multicast MAC addresses as source MAC addresses. This section describes how to enable a device to learn multicast MAC addresses and generate ARP entries.
Before enabling a device to learn multicast MAC addresses, complete the following tasks:
Connect interfaces and set their physical parameters to ensure that the physical interface status is Up.
Configure link layer protocol parameters for interfaces to ensure that the link layer protocol on the interfaces is Up.
A MAC address corresponding to an IP address may be a multicast MAC address. In this case, a network administrator has to configure a static ARP entry. A device can generate dynamic ARP entries if enabled to learn multicast MAC addresses. This way reduces a network administrator's workload of configuring static ARP entries and reduces network operation and maintenance costs.
Run the display arp all command to check the dynamic ARP entries corresponding to the multicast MAC addresses.
<sysname> display arp all
IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE
VLAN/CEVLAN PVC
------------------------------------------------------------------------------
192.168.1.1 0002-0002-0002 I - Vlanif100
192.168.2.2 0100-5e11-0302 20 D-0 Eth-Trunk2
10/-
192.168.3.3 0100-5e11-0302 20 D-0 Eth-Trunk2
20/-
192.168.4.4 0100-5e11-0302 20 D-0 Eth-Trunk2
30/-
------------------------------------------------------------------------------
Total:4 Dynamic:3 Static:0 Interface:1