R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101
63
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.
When the number argument is set to 0, the interface is disabled from learning dynamic ARP entries.
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 Ten-GigabitEthernet 0/0.1 to learn up to 1000 dynamic ARP entries.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 0/0.1
[Sysname-Ten-GigabitEthernet0/0.1] arp max-learning-num 1000
arp static
Syntax
arp static ip-address mac-address [ vlan-id interface-type interface-number ]
undo arp ip-address
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.
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.
A static ARP entry is effective when the LB module 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.
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 belong to the same network segment as the IP address
specified by the ip-address argument.