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

Configuration Guide - Ethernet Switching

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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 bundle 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, facilitating faulty link locating.

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:

  • Run the undo portswitch command to configure the Eth-Trunk to work in Layer 3 mode and configure an IP address for the Layer 3 Eth-Trunk.
NOTE:

An Eth-Trunk works in Layer 2 mode by default.

Procedure

  1. Enable the receive end to monitor Layer 3 Eth-Trunk member interfaces.
    1. Run the system-view command to enter the system view.
    2. Run the trunk member-port-inspect command to enable the receive end 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 the ping [ ip ] [ -8021p 8021p-value | -a source-ip-address | -c count | -d | { -f | ignore-mtu } | -h ttl-value | -i interface-type interface-number | -m time | -p pattern | -q | -r | -ri | -s packetsize | -system-time | -t timeout | { -tos tos-value | -dscp dscp-value } | -v | -vpn-instance vpn-instance-name ] * host [ ip-forwarding ] command to enable the transmit end 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 packet is not received by the transmit end after the timer expires, the "Request time out" message is displayed, indicating that an Eth-Trunk member interface fails. If an Echo Response packet 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 time.

      <HUAWEI> ping -a 192.168.1.1 -i 10ge 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

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 125566

Downloads: 295

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