HP VPN Firewall Appliances Network Management Command Reference

226
# Specify Layer 3 aggregate interface route-aggregation 1 to learn a maximum of 1000 dynamic ARP
entries.
<Sysname> system-view
[Sysname] interface route-aggregation 1
[Sysname-Route-Aggregation1] arp max-learning-num 1000
arp static
Use arp static to configure a static ARP entry.
Use undo arp to remove an ARP entry.
Syntax
arp static ip-address mac-address [ vlan-id interface-type interface-number ] [ vpn-instance
vpn-instance-name ]
undo arp ip-address [ vpn-instance-name ]
Views
System view
Default command level
2: System level
Parameters
ip-address: Specifies the IP address in an ARP entry.
mac-address: Specifies the MAC address in an ARP entry, in the format H-H-H.
vlan-id: Specifies the ID of a VLAN to which a static ARP entry belongs. The value range is 1 to 4094.
interface-type interface-number: Specifies the interface type and interface number.
vpn-instance vpn-instance-name: Specifies the VPN for a static ARP entry. The vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters. Without this option, the static ARP entry belongs
to the public network.
Usage guidelines
A static ARP entry is effective when the device works correctly. However, when the VLAN or VLAN
interface to which an ARP entry corresponds is deleted, the entry, if long, is deleted, and if short and
resolved, becomes unresolved.
The vlan-id argument specifies the VLAN corresponding to an ARP entry and must be the ID of an existing
VLAN. In addition, the Ethernet interface following the argument must belong to that VLAN. The VLAN
interface of the VLAN must have been created.
If both the vlan-id and ip-address arguments are specified, the IP address of the VLAN interface
corresponding to the vlan-id argument must be in the same network segment as the IP address specified
by the ip-address argument.
Examples
# Configure a static ARP entry, with IP address 202.38.10.2, MAC address 00e0-fc01-0000 and
outbound interface GigabitEthernet 0/1 of VLAN 10.
<Sysname> system-view
[Sysname] arp static 202.38.10.2 00e0-fc01-0000 10 gigabitethernet 0/1