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

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009 CLI-based Configuration Guide - Ethernet Switching

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).
Using Ping to Monitor the Reachability of Layer 3 Eth-Trunk Member Interfaces

Using Ping to Monitor the Reachability of Layer 3 Eth-Trunk Member Interfaces

Context

Multiple physical interfaces can be bundled into an Eth-Trunk, and these physical interfaces are Eth-Trunk member interfaces. Each member interface uses a specified transmission path. The path-specific service parameters, such as delay, jitter, and packet loss ratio, are also different. Therefore, you cannot determine which member interface is faulty when the quality of services on an Eth-Trunk deteriorates. To resolve this problem, perform a ping test to detect each physical link to help locate the faulty link.

NOTE:

The ping test applies to scenarios where two devices are directly connected through an Eth-Trunk.

Pre-configuration Tasks

Before using ping to monitor the reachability of Layer 3 Eth-Trunk member interfaces, complete the following task:

  • Running the undo portswitch command to configure the Eth-Trunk to work in Layer 3 mode and configuring an IP address for the Layer 3 Eth-Trunk

Procedure

  1. Enable the receive end to monitor Layer 3 Eth-Trunk member interfaces.
    1. Run system-view

      The system view is displayed.

    2. Run trunk member-port-inspect

      The receive end is enabled to monitor Layer 3 Eth-Trunk member interfaces.

      By default, the receive end is disabled from monitoring Layer 3 Eth-Trunk member interfaces.

      NOTE:

      The trunk member-port-inspect command takes effect for all Layer 3 Eth-Trunks on a device. To test the connectivity of Eth-Trunks, disable this function after detection of Eth-Trunk member interfaces is completed. If this function is not disabled, the device keeps monitoring Eth-Trunk member interfaces, which consumes a lot of system resources.

  2. Enable the transmit end to monitor Layer 3 Eth-Trunk member interfaces.
    1. Run ping [ ip ] [ -a source-ip-address | -c count | -d | -h ttl-value | -i interface-type interface-number | -m time | -p pattern | -q | -r | -s packetsize | -system-time | -t timeout | -v | -vpn-instance vpn-instance-name ] * host [ ip-forwarding ]<Huawei> ping -a 192.168.1.1 -i gigabitethernet 1/0/1 10.1.1.2 PING 10.1.1.2: 56 data bytes, press CTRL_C to break Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=254 time=2 ms Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=254 time=1 ms Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=254 time=2 ms Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=254 time=1 ms Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=254 time=2 ms --- 10.1.1.2 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 1/1/2 ms

      The transmit end is enabled to monitor the reachability of Layer 3 Eth-Trunk member interfaces.

      NOTE:

      When testing the reachability of Layer 3 Eth-Trunk member interfaces, you must specify the -a and -i parameters in the ping command. -a and -i indicate the source IP address and source interface of ICMP Echo Request packets respectively.

      The ping command output contains the following information:

      • Response to each ping message: If an echo response message is not received by the transmit end after the corresponding timer expires, a message reading "Request time out" is displayed, indicating that an Eth-Trunk member interface fails. If an echo response message is received, the data bytes, message sequence number, and response time are displayed, indicating that no Eth-Trunk member interface fails.

      • Final statistics: The statistics include the number of sent and received packets, percentage of failure response packets, and minimum, maximum, and average response times.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174108

Views: 56278

Downloads: 42

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