No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
arp static

arp static


The arp static command configures static ARP entries.

The undo arp static command deletes static ARP entries.

By default, the ARP mapping table is empty and address mappings are obtained using dynamic ARP.


arp static ip-address mac-address [ vid vlan-id [ interface interface-type interface-number ] ]

undo arp static ip-address [ mac-address ] [ vid vlan-id interface interface-type interface-number ]


Parameter Description Value
ip-address Specifies the IP address in a static ARP entry. The value is in dotted decimal notation.
mac-address Specifies the MAC address of a static ARP entry. The value is in H-H-H format. An H contains four hexadecimal numbers.
interface interface-type interface-number Specifies the outbound interface of a static ARP packet.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
vid vlan-id Specifies the ID of the VLAN to which a static ARP entry belongs. The value is an integer ranging from 1 to 4094.


System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To ensure security and facilitate management, you may need to configure mappings between IP addresses and MAC addresses. In this case, run the arp static command to configure a fixed ARP mapping entry that maps an IP address to a MAC address.

A static ARP entry cannot be dynamically modified.

A static ARP entry is used in the following situations:
  • Direct the packets whose destination IP addresses are not on the local network segment to a gateway on the local network segment so that the packets can be forwarded by the gateway.

  • Bind the destination IP addresses of invalid packets to a nonexistent MAC address so that the invalid packets are filtered out.


If a static ARP entry to be created exists, the system updates the entry.

After a static ARP entry is configured, it cannot be dynamically updated.

The IP address specified by ip-address and the IP address of the outbound interface specified by interface must be on the same network segment.


# Configure a static ARP entry that maps the IP address to the MAC address aaaa-fccc-1212.

<Huawei> system-view
[Huawei] arp static aaaa-fccc-1212
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207270

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next