1-4Configuring ARPConfiguring a Static ARP EntryA static ARP entry is effective when the device works normally. However, when a VLAN or VLANinterface to which a static ARP entry corresponds is deleted, the entry, if permanent, will be deleted, andif non-permanent and resolved, will become unresolved.Follow these steps to configure a static ARP entry:To do… Use the command… RemarksEnter system view system-view —Configure a permanentstatic ARP entryarp static ip-address mac-addressvlan-id interface-typeinterface-numberRequiredNo permanent static ARP entryis configured by default.Configure anon-permanent static ARPentryarp static ip-address mac-addressRequiredNo non-permanent static ARPentry is configured by default.The vlan-id argument must be the ID of an existing VLAN which corresponds to the ARP entries. Inaddition, the Ethernet interface following the argument must belong to that VLAN. A VLAN interfacemust be created for the VLAN.Configuring the Maximum Number of ARP Entries for an InterfaceFollow these steps to set the maximum number of dynamic ARP entries that an interface can learn:To do… Use the command… RemarksEnter system view system-view —Enter VLAN interface view interface interface-type interface-number —Set the maximum number ofdynamic ARP entries that aninterface can learnarp max-learning-num number Optional2048 by default.Setting the Aging Time for Dynamic ARP EntriesTo keep pace with the network changes, the ARP table is refreshed. Each dynamic ARP entry in theARP table has a limited lifetime rather than is always valid. Dynamic ARP entries that are not refreshedbefore expiring are deleted from the ARP table. The lifetime is called the aging time. The aging time isreset each time the dynamic ARP entry is used within the lifetime. You can adjust the aging time fordynamic ARP entries according to the actual network condition.Follow these steps to set the aging time for dynamic ARP entries: