R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
160
Description
Use the arp max-learning-num command to configure the maximum number of dynamic ARP entries that
an interface can learn.
Use the undo arp max-learning-num command to restore the default.
Examples
# Specify VLAN-interface 40 to learn up to 500 dynamic ARP entries.
<Sysname> system-view
[Sysname] interface vlan-interface 40
[Sysname-Vlan-interface40] arp max-learning-num 500
# Specify GigabitEthernet 0/0 to learn up to 1000 dynamic ARP entries.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] arp max-learning-num 1000
arp static
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 ]
View
System view
Default level
2: System level
Parameters
ip-address: IP address in an ARP entry.
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 1 to 4094.
interface-type interface-number: Interface type and interface number.
vpn-instance vpn-instance-name: Name of a VPN instance, a case-sensitive string of 1 to 31 characters.
Description
Use the arp static command to configure a static ARP entry in the ARP mapping table.
Use the undo arp command to remove an ARP entry.
Note the following:
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 is used to specify the corresponding VLAN of 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.