Configuring a multiport ARP entry
About multiport ARP entries
A multiport ARP entry contains an IP address, MAC address, and VLAN ID. The VLAN and output interfaces are specified by a multiport unicast MAC address entry or a multicast MAC address entry.
A multiport ARP entry can overwrite a dynamic, short static or long static ARP entry. Conversely, a short static or long static ARP entry can overwrite a multiport ARP entry.
Restrictions and guidelines
For a multiport ARP entry to be effective for packet forwarding, make sure the following conditions are met:
A multiport unicast MAC address entry or a multicast MAC address entry exists.
The IP address in the multiport ARP entry must reside on the same subnet as the VLAN interface of the specified VLAN.
Procedure
Enter system view.
system-view
Configure a multiport unicast MAC address entry or a multicast MAC address entry.
Configure a multiport unicast MAC address entry.
mac-address multiport mac-address interface interface-list vlan vlan-id
For more information about multiport unicast MAC address entries, see the mac-address command in Layer 2—LAN Switching Command Reference.
Configure a multicast MAC address entry.
mac-address multicast mac-address interface interface-list vlan vlan-id
For more information about multicast MAC address entries, see the mac-address multicast command in IGMP snooping commands in IP Multicast Command Reference.
Configure a multiport ARP entry.
arp multiport ip-address mac-address vlan-id [ vpn-instance vpn-instance-name ]
The specified MAC address and VLAN ID must be the same as those in the multiport unicast MAC address entry or the multicast MAC address entry.