4
• The IP address of the VLAN interface of the VLAN specified by the vlan-id argument must belong to
the same subnet as the IP address specified by the ip-address argument.
To configure a static ARP entry:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Configure a static ARP
entry.
• Configure a long static ARP entry:
arp static ip-address mac-address
vlan-id interface-type interface-number
[ vpn-instance vpn-instance-name ]
• Configure a short static ARP entry:
arp static ip-address mac-address
[ vpn-instance vpn-instance-name ]
Use either command.
By default, no static ARP entry is
configured.
Configuring a multiport ARP entry
A multiport ARP entry contains an IP address, MAC address, and VLAN ID. To make the multiport ARP
entry effective for packet forwarding, you must configure a multicast or multiport unicast MAC address
entry to specify multiple output interfaces. The MAC address entry must have the same MAC address and
VLAN ID as the multiport ARP entry. In addition, the IP address in the multiport ARP entry must reside on
the same subnet as the VLAN interface of the specified VLAN.
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.
When you configure multiport ARP entries in Release 2406P03 and later versions, you must first create
a service loopback group to support the multiport ARP service. The service loopback group loops packets
whose destination IP addresses match multiport ARP entries back to the forwarding module. Then the
forwarding module looks up the multiport MAC address table for output interfaces. For information about
creating and configuring a service loopback group, see Layer 2—LAN Switching Configuration Guide.
To configure a multiport ARP entry:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Configure a multicast or
multiport unicast MAC
address entry.
• Configure a multiport unicast MAC
address entry:
mac-address multiport mac-address
interface interface-list vlan vlan-id
• Configure a multicast MAC address
entry:
mac-address multicast mac-address
interface interface-list vlan vlan-id
By default, no multicast or
multiport unicast MAC address
entries are configured.
For more information about the
mac-address multiport
command, see Layer 2—LAN
Switching Command Reference.
For more information about the
mac-address multicast command,
see IP Multicast Command
Reference.