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 ARP-Ping

Configuring ARP-Ping

ARP-Ping includes ARP-Ping IP and ARP-Ping MAC. ARP-Ping sends ARP Request packets or ICMP Echo Request packets to check whether a specified IP address or MAC address is used.

Pre-configuration Tasks

Before configuring ARP-Ping, complete the following task:

  • Configuring link layer protocol parameters and IP addresses for interfaces to ensure that the link layer protocol status of the interfaces is Up.

Configuring ARP-Ping IP

Context

Before configuring an IP address for a device on a LAN, run the arp-ping ip command to check whether the IP address is used by other network devices.

The ping command can also check whether an IP address is in use. If the destination host or the industrial switch router configured with the firewall function are configured not to reply to ping packets, there is no response to the ping packet. Consequently, the IP address is considered unused. ARP is a Layer 2 protocol. In most cases, ARP packets can pass through the firewall that is disabled from replying to the Ping packets to prevent the preceding situation.

Procedure

  • Run arp-ping ip ip-address [ timeout timeout-value ] [ interface interface-type interface-number [ vlan-id vlan-id ] ]<Huawei> arp-ping ip 10.1.1.2 ARP-Pinging 10.1.1.2: Request timed out Request timed out Request timed out The IP address is not used by anyone!<Huawei> arp-ping ip 10.1.1.1 ARP-Pinging 10.1.1.1: 10.1.1.1 is used by 00e0-517d-f202

    Check whether the IP address is used.

    • If the following information is displayed, the IP address is not used.

    • If the following information is displayed, the IP address is used.

Configuring ARP-Ping MAC

Context

When you know a specific MAC address but not the corresponding IP address on a network segment, you can obtain the corresponding IP address using the arp-ping mac command to send ICMP packets. In this way, you can obtain the IP address mapping the MAC address.

Procedure

  • Run arp-ping mac mac-address { ip-address [ vpn-instance vpn-instance-name ] | interface interface-type interface-number }<Huawei> arp-ping mac 00e0-517d-f201 interface gigabitethernet 1/0/0 OutInterface: GigabitEthernet1/0/0 MAC[00-E0-51-7D-F2-01], press CTRL_C to break Request timed out Request timed out Request timed out ----- ARP-Ping MAC statistics ----- 3 packet(s) transmitted 0 packet(s) received MAC[00-E0-51-7D-F2-01] not be used<Huawei> arp-ping mac 00e0-517d-f202 interface gigabitethernet 1/0/0 OutInterface: GigabitEthernet1/0/0 MAC[00-E0-51-7D-F2-02], press CTRL_C to break ----- ARP-Ping MAC statistics ----- 1 packet(s) transmitted 1 packet(s) received IP ADDRESS MAC ADDRESS 10.1.1.1 00-E0-51-7D-F2-02

    Check whether the MAC address is used. If the MAC address is in use, query the IP address mapping the MAC address.

    • If the following information is displayed, the MAC address is not used.

    • If the following information is displayed, it means that the MAC address is used.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 78646

Downloads: 51

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