HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

5
Usage guidelines
A static ARP entry is manually configured and maintained. It does not age out and cannot be overwritten
by any dynamic ARP entry.
Static ARP entries can be classified into long and short static ARP entries. A short static ARP entry
contains an IP-to-MAC mapping. A long static ARP entry contains an IP-to-MAC mapping, a VLAN, and
an output interface.
A static ARP entry is effective when the device works correctly. However, if the VLAN or VLAN interface
to which an ARP entry corresponds is deleted, the entry is deleted if it is long. If it is short and resolved,
the entry becomes unresolved.
A resolved short static ARP entry might become unresolved upon certain events. For example, it is
unresolved if the output interface is down.
A long static ARP entry is ineffective when the corresponding VLAN interface or output interface is down.
An ineffective long static ARP entry cannot be used to forward packets.
The Ethernet interface following the vlan-id argument must belong to the VLAN. You must first create the
VLAN interface of the VLAN.
If you specify both the vlan-id and ip-address arguments, the IP address of the specified VLAN interface
must be in the same network as the specified IP address.
If you do not specify any VPN, the undo arp command only removes ARP entries for the public network.
Examples
# Configure a static ARP entry that comprises IP address 202.38.10.2, MAC address 00e0-fc01-0000,
and output interface Ethernet 1/1 in VLAN 10.
<Sysname> system-view
[Sysname] arp static 202.38.10.2 00e0-fc01-0000 10 ethernet 1/1
Related commands
display arp
reset arp
arp timer aging
Use arp timer aging to set the aging timer for dynamic ARP entries.
Use undo arp timer aging to restore the default.
Syntax
arp timer aging aging-time
undo arp timer aging
Default
The aging timer for dynamic ARP entries is 20 minutes.
Views
System view
Predefined user roles
network-admin