4Step Command Remarks2. Configure a static ARPentry.• Configure a long static ARP entry:arp static ip-address mac-addressvlan-id interface-type interface-number[ vpn-instance vpn-instance-name ]• Configure a short static ARP entry:arp static ip-address mac-address[ vpn-instance vpn-instance-name ]Use either command.By default, no static ARP entry isconfigured.Setting the maximum number of dynamic ARPentries for a deviceA device can dynamically learn ARP entries. To prevent a device from holding too many ARP entries, youcan set the maximum number of dynamic ARP entries that the device can learn. When the maximumnumber is reached, the device stops learning ARP entries.If you set a value lower than the number of existing dynamic ARP entries, the device does not remove theexisting entries unless they are aged out, and the device stops learning ARP entries until the number ofdynamic ARP entries is below the configured value.To set the maximum number of dynamic ARP entries for a device:Step Command Remarks1. Enter system view. system-view N/A2. Set the maximumnumber of dynamicARP entries for thedevice.arp max-learning-numbernumberIf the value for the number argument is set to0, the device is disabled from learningdynamic ARP entries.Setting the maximum number of dynamic ARPentries for an interfaceAn interface can dynamically learn ARP entries. To prevent an interface from holding too many ARPentries, you can set the maximum number of dynamic ARP entries that the interface can learn. When themaximum number is reached, the interface stops learning ARP entries.The Layer-2 interface can learn an ARP entry only when both its maximum number and the VLANinterface's maximum number are not reached.To set the maximum number of dynamic ARP entries for an interface:Step Command Remarks3. Enter system view. system-view N/A4. Enter interface view. interface interface-typeinterface-number N/A