Configuring a multiport arp entry – H3C Technologies H3C S5560 Series Switches User Manual
Page 19

4
•
The VLAN interface must be created. Its IP address and the specified IP address must be on the same
subnet.
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 ]
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 and the IP
address of the VLAN interface must reside on the same subnet.
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, 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.