Configuring a multiport arp entry – H3C Technologies H3C S12500 Series Switches User Manual

Page 17

Advertising
background image

4

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.

25B

Configuring a multiport ARP entry

A multiport ARP entry comprises an IP address, MAC address, and VLAN ID. To use the multiport ARP

entry, you must also configure a multicast or multiport unicast MAC address entry that has the same MAC

address and VLAN ID as the multiport ARP entry to specify multiple output interfaces. In addition, the IP

address in the multiport ARP entry must reside on the same subnet as the virtual interface of the specified
VLAN (VLAN interface). Otherwise, the multiport ARP entry does not take effect. For more information

about multiport unicast MAC addresses, see the mac-address multiport command in Layer 2—LAN

Switching Command Reference. For more information about multicast MAC addresses, see the

mac-address multicast command in IP Multicast Command Reference.
A multiport ARP entry can overwrite a dynamic, short static or long static ARP entry. A short static or long

static ARP entry can also overwrite a multiport ARP entry.
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

Use either command.
By default, no multicast or
multiport unicast MAC address

entries are configured.

3.

Configure a multiport ARP
entry.

arp multiport ip-address mac-address
vlan-id [ vpn-instance

vpn-instance-name ]

By default, no multiport ARP
entries are configured.

Advertising