F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
230
[Sysname-Vlan-interface40] arp max-learning-num 500
# Specify GigabitEthernet 0/1 to learn a maximum of 1000 dynamic ARP entries.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] arp max-learning-num 1000
# Specify Layer 2 aggregate interface bridge-aggregation 1 to learn a maximum of 1000 dynamic ARP
entries.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] arp max-learning-num 1000
# 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: 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, 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.
Usage guidelines
A static ARP entry is effective when the device works normally. 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.