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 - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and 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).
(Optional) Configuring Static ARP Entries

(Optional) Configuring Static ARP Entries

Context

Static ARP entries are manually configured and maintained. They cannot be aged and overridden by dynamic ARP entries. You can configure static ARP entries on a Layer 3 VXLAN gateway to 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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run arp static ip-address mac-address vni vni-id source-ip source-ip-address peer-ip peer-ip-address

    A static ARP entry of a VXLAN tunnel is configured.

    By default, a static MAC address entry of a VXLAN tunnel is not configured.

    NOTE:

    The value of ip-address must be in the same network segment as that of the Layer 3 gateway.

  3. On a VXLAN network, mapping between IP addresses and MAC addresses can be configured on the user access side. When you configure static ARP entries by VLAN, the interface interface-type interface-number parameter must be a Layer 2 Ethernet interface. When you configure static ARP entries by traffic encapsulation type, the interface interface-type interface-number parameter must be a Layer 2 sub-interface.

    • By VLAN:

      Run the arp static ip-address mac-address vni vni-id vid vlan-id interface interface-type interface-number command to configure static ARP entries.

    • By traffic encapsulation type:

      • If the traffic encapsulation type is dot1q, run the arp static ip-address mac-address vni vni-id vid vlan-id interface interface-type interface-number command to configure static ARP entries. The value of vid vlan-id in this command must be the same as that in the encapsulation dot1q vid pe-vid command.

      • If the traffic encapsulation type is qinq, run the arp static ip-address mac-address vni vni-id vid vlan-id cevid ce-vid interface interface-type interface-number command to configure static ARP entries. The values of vid vlan-id and cevid ce-vid in this command must be the same as the values in the encapsulation qinq vid vlan-vid ce-vid ce-vid command.

      • If the traffic encapsulation type is untag, run the arp static ip-address mac-address vni vni-id interface interface-type interface-number command to configure static ARP entries.

Checking the Configuration

Run the display arp [ all | brief ] command to view all ARP entries.

Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 152373

Downloads: 369

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