arp multiport

Use arp multiport to configure a multiport ARP entry.

Use undo arp to remove an ARP entry.

Syntax

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

undo arp ip-address [ vpn-instance-name ]

Default

No multiport ARP entries are configured.

Views

System view

Predefined user roles

network-admin

Parameters

ip-address: Specifies an IP address for the multiport ARP entry.

mac-address: Specifies a MAC address for the multiport ARP entry, in the format of H-H-H.

vlan-id: Specifies a VLAN for the multiport ARP entry, in the range of 1 to 4094.

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance for the multiport ARP entry. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. The specified VPN instance must already exist. Without this option, the multiport ARP entry belongs to the public network.

Usage guidelines

The specified VLAN must already exist. If the VLAN or the corresponding VLAN interface is removed, the multiport ARP entry is also removed.

The specified IP address must reside on the same subnet as the VLAN interface of the specified VLAN. Otherwise, the multiport ARP entry does not take effect.

To use the multiport ARP entry, 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.

Examples

# Configure a multiport ARP entry that comprises IP address 202.38.10.2 and MAC address 00e0-fc01-0000 in VLAN 10.

<Sysname> system-view
[Sysname] arp multiport 202.38.10.2 00e0-fc01-0000 10

Related commands