R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

213
mac-address: MAC address in an ARP entry, in the format H-H-H.
vlan-id: ID of a VLAN to which a static ARP entry belongs to, in the range of 1 to 4094.
interface-type interface-number: 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.
Description
Use arp static to configure a static ARP entry in the ARP mapping table.
Use the undo arp command to remove an ARP entry.
Note that:
A static ARP entry is effective when the firewall works normally. However, when the VLAN or VLAN
interface to which an ARP entry corresponds is deleted, the entry, if long, will be deleted, and if
short and resolved, will become 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.
Related commands: reset arp and display arp.
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
arp timer aging
Syntax
arp timer aging aging-time
undo arp timer aging
View
System view
Default level
2: System level
Parameters
aging-time: Aging time for dynamic ARP entries in minutes, ranging from 1 to 1,440.
Description
Use arp timer aging to set aging time for dynamic ARP entries.
Use undo arp timer aging to restore the default.
By default, the aging time for dynamic ARP entries is 20 minutes.