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

Reminder

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

upgrade

CLI-based Configuration Guide - IP Service

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.

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).
Configuring Static ARP

Configuring Static ARP

Static ARP entries improve communication security.

Context

Static ARP entries are manually configured and maintained. They cannot be aged and overridden by dynamic ARP entries. Therefore, static ARP entries improve communication security. Static ARP entries ensure communication between the local device and a specified device by using a specified MAC address so that attackers cannot modify mappings between IP addresses and MAC addresses in static ARP entries.

NOTE:

Static ARP entries cannot be modified. However, the configuration workload is heavy. Static ARP entries cannot apply to a network where IP addresses of hosts may change or a small-sized network.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run arp static ip-address mac-address [ vpn-instance vpn-instance-name ] or arp static ip-address mac-address vid vlan-id [ cevid ce-vid ] interface interface-type interface-number

    A static ARP entry is configured.

    • For Layer 3 physical interfaces and Layer 3 Eth-Trunk interfaces, run the arp static ip-address mac-address command to configure static ARPentries.
    • For VLANIF interfaces and Dot1q termination sub-interfaces, run the arp static ip-address mac-address vid vlan-id interface interface-type interface-number command to configure static ARP entries.
    • For QinQ termination sub-interfaces, run the arp static ip-address mac-address vid vlan-id cevid ce-vid interface interface-type interface-number command to configure static ARP mapping entries with double tags. vid specified in this command must be the same as pe-vid in the qinq termination pe-vid ce-vid command, and ce-vid must be within the value range of ce-vid in the qinq termination pe-vid ce-vid command.
    • For interfaces bound to a VPN instance:
      • For Layer 3 physical interfaces and Layer 3 Eth-Trunk interfaces, run the arp static ip-address mac-address vpn-instance vpn-instance-name command to configure static ARP entries.
      • For VLANIF interfaces and Dot1q termination sub-interfaces, run the arp static ip-address mac-address vid vlan-id interface interface-type interface-number command to configure static ARP entries.
      • For QinQ termination sub-interfaces, run the arp static ip-address mac-address vid vlan-id cevid ce-vid interface interface-type interface-number command to configure static ARP mapping entries with double tags. vid specified in this command must be the same as pe-vid in the qinq termination pe-vid ce-vid command, and ce-vid must be within the value range of ce-vid in the qinq termination pe-vid ce-vid command.

Checking the Configuration

After configuring the static ARP entries is complete, run the following commands to check the configuration.

  • Run the display arp [ all | brief ] command to check all ARP mapping entries.

  • Run the display arp network net-number net-mask [ dynamic | static ] command to check ARP mapping entries of a specified network segment.

  • Run the display arp static command to check static ARP mapping entries.

  • Run the display arp interface interface-type interface-number [ vid vlan-id [ cevid cevlan-id ] ] command to check ARP mapping entries of a specified interface.

  • Run the display arp vpn-instance vpn-instance-name static command to check static ARP mapping entries of a specified VPN instance.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 88585

Downloads: 57

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next