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

NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services
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 Dynamic ARP

Configuring Dynamic ARP

Hosts and routers can learn dynamic ARP entries by default. However, you can adjust dynamic ARP aging parameters or optimize the ARP entry update policy.

Usage Scenario

ARP aging parameters include the aging time, number of ARP aging probes, and ARP aging probe interval. Proper setting of these aging parameters can improve network reliability:
  • Aging time: When the aging time of a dynamic ARP entry expires, a device sends an ARP probe packet (ARP Request message) from the outbound interface recorded in the dynamic ARP entry, and starts counting the number of ARP probes.

  • Number of ARP aging probes: Before deleting an aged dynamic ARP entry, a device sends ARP probe packets to the IP address recorded in the ARP entry at specified intervals. If the configured number of ARP aging probes is exceeded but the ARP entry has not been updated, the device will delete the ARP entry.

  • ARP aging probe interval: It is the interval at which probe packets are sent.

    NOTE:
    1. If the aging time of dynamic ARP entries is set too short, for example, 1 minute, the device will be busy updating dynamic ARP entries. This consumes a lot of system resources and affects the processing of other services.

    2. Length of time before the deletion of a dynamic ARP entry = Number of ARP aging probes x Probe interval

      Setting a long probe interval is not recommended, because a long interval will delay the deletion of an aged dynamic ARP entry according to the formula.

After the Layer 2 topology detection function is enabled, the aging time of all ARP entries corresponding to the VLAN to which a Layer 2 interface belongs is set to 0 when the status of the Layer 2 interface changes from Down to Up. Then the device resends ARP detection packets to update all ARP entries.

After the device on a ring network is disabled from responding to TC packets, the device will not age or delete ARP entries after receiving TC packets, reducing resource consumptions caused by frequent ARP entry updates and minimizing adverse impacts on user services.

Pre-configuration Tasks

Before configuring dynamic ARP, complete the following tasks:

  • Configure physical parameters for interfaces to ensure that the physical status of the interfaces is Up.

  • Configure link layer protocol parameters for interfaces to ensure that the link layer protocol status of the interfaces is Up.

Procedure

  • Adjust dynamic ARP aging parameters.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run arp expire-time expire-time

      The aging time is set for dynamic ARP entries.

      NOTE:
      In specific scenarios, after MAC entries are aged, the VLANIF interface fails to obtain the Layer 2 outbound interface and broadcast a unicast packet in the VLAN. To ensure service security, you can run the arp expire-time expire-time vlanif command to set the aging time for dynamic ARP entries on all VLANIF interfaces to a value smaller than the aging time for MAC entries. This prevents unicast packets from being broadcasted due to Layer 2 outbound interface mismatch.

    4. Run arp detect-times detect-times

      The number of ARP aging probes is set.

    5. Run arp detect-interval detect-interval

      The ARP aging probe transmission interval is set.

    6. Run arp detect-mode unicast

      The interface is configured to unicast ARP aging probe packets.

    7. Run commit

      The configuration is committed.

  • Enable Layer 2 topology detection.
    1. Run system-view

      The system view is displayed.

    2. Run l2-topology detect enable

      Layer 2 topology detection is enabled.

  • Disable the device from responding to TC packets.
    1. Run system-view

      The system view is displayed.

    2. Run arp topology-change disable

      The device is disabled from responding to TC packets.

Verifying the Configuration of Dynamic ARP

After configuring dynamic ARP, verify the configuration.

  • Run the display arp all command to check the ARP entries on all boards.

  • Run the display arp interface interface-name command to check the ARP entries on a specified interface.

  • Run the display arp slot slot-id command to check the ARP entries on a board in a specified slot.

  • Run the display arp vpn-instance vpn-instance-name slot slot-id [ dynamic | static ] command to check the ARP entries for a specified VPN instance.

Run the display arp all command. The command output shows the ARP entries on all boards.
<HUAWEI> display arp all
IP ADDRESS      MAC ADDRESS    EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                         VLAN/CEVLAN PVC
------------------------------------------------------------------------------
10.1.1.1        3885-d010-0301           I -         GE0/3/1
10.1.1.2        3885-d010-0303 15        D-3         GE0/3/1
------------------------------------------------------------------------------
Total:2         Dynamic:1       Static:0    Interface:1    Remote:0
Redirect:0

Run the display arp interface command. The command output shows the ARP entries on a specified interface.

<HUAWEI> display arp interface gigabitethernet0/1/0
ARP timeout:1200s
IP ADDRESS      MAC ADDRESS    EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                         VLAN/CEVLAN PVC
------------------------------------------------------------------------------
10.1.1.1        3885-d040-0201           I -         GE0/1/0         
10.1.1.2        3885-d040-0203 20        D-3         GE0/1/0         
------------------------------------------------------------------------------
Total:2         Dynamic:1       Static:0    Interface:1    Remote:0
Redirect:0

Run the display arp slot command. The command output shows the ARP entries on the board in a specified slot.

<HUAWEI> display arp slot 1
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                          VLAN/CEVLAN PVC
------------------------------------------------------------------------------
192.168.1.12    0000-0a41-0202            I -         GE0/1/1       r2
192.168.1.1     0000-0a41-0200  17        D-6         GE0/1/1       r2
192.168.1.11    0000-0a41-0201            I -         GE0/1/0       r1
192.168.1.1     0000-0a41-0200  17        D-6         GE0/1/0       r1
------------------------------------------------------------------------------
Total:4         Dynamic:2       Static:0    Interface:2    Remote:0

Run the display arp vpn-instance command. The command output shows the ARP entries for a specified VPN instance.

<HUAWEI> display arp vpn-instance r1
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE        INTERFACE   VPN-INSTANCE
                                          VLAN/CEVLAN PVC
------------------------------------------------------------------------------
192.168.1.11    0000-0a41-0201            I -         GE0/1/1       r1
192.168.1.1     0000-0a41-0200  12        D-6         GE0/1/2       r1
------------------------------------------------------------------------------
Total:2         Dynamic:1       Static:0    Interface:1    Remote:0
Redirect:0
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055376

Views: 15436

Downloads: 33

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