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

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of Reliability, including BFD Configuration, VRRP Configuration, DLDP Configuration, Smart Link and Monitor Link Configuration, EFM Configuration, and CFM Configuration.
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 Remote Loopback On the Device in Active Mode

Configuring Remote Loopback On the Device in Active Mode

Context

Remote loopback mainly tests connectivity and quality of a single link. On the network shown in Figure 6-8, remote loopback is configured on the interface connecting the SwitchA to the PE. The interface sends test packets to its remote interface. The packet loss ratio and delay can be calculated based on returned test packets to evaluate link connectivity and performance.

Figure 6-8 Remote loopback
NOTE:
  • Remote loopback can only be initiated by an interface in active EFM mode.

  • The device supports a maximum of 5 enabled devices in passive mode.

  • Only one interface on one device can send EFM packets at one time. In a multi-VS scenario, the system displays a message indicating that another interface is sending EFM packets.

  • Remote loopback affects data service forwarding. Therefore, it is recommended that you enable remote loopback to check link connectivity and quality before a new network is used or a link fault is rectified.

  • After the undo efm enable command is executed in the system view to disable EFM, all the EFM configuration is deleted. If remote loopback is performed on the device and many test packets are sent, running the undo efm enable command may cause test packets to be forwarded. As a result, network bandwidth is occupied.

EFM can be configured on Layer 2 and Layer 3 Ethernet interfaces. By default, an Ethernet interface works in Layer 2 mode. Before configuring EFM on a Layer 3 Ethernet interface, switch the Ethernet interface to Layer 3 mode.

Pre-configuration Tasks

Before configuring remote loopback, complete the following tasks:

Procedure

  1. Enabling remote loopback on the device that initiates a request

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The view of an interface in active EFM mode is displayed.

    3. Run efm loopback start [ timeout timeout ]

      The interface is configured to initiate remote loopback.

      By default, the timeout interval for remote loopback is 20 minutes. After 20 minutes, remote loopback is disabled automatically. You are advised not to set the timeout interval to 0. If the timeout interval is set to 0, the link retains in remote loopback state.

      Remote loopback is implemented successfully only when EFM protocols at the local end and the peer are in handshake state and EFM at the local end works in active mode. You can run the display efm session { all | interface interface-type interface-number } command to check whether the EFM status on both devices is detect. The display efm { all | interface interface-type interface-number } command can be used to check the EFM modes of the interfaces at both ends of a link.

  2. Configuring the interface in active EFM mode to send test packets

    NOTE:

    Only one interface can send EFM test packets at one time.

    1. Run system-view

      The system view is displayed.

    2. Run efm test-packet start interface interface-type interface-number [ -c count | -p speed | -s size ] *

      The device is configured to send test packets.

      By default, the size of a test packet is 64 bytes, the rate at which test packets are sent is 1 Mbit/s, and the number of sent packets is 5. During test packet transmission, parameters of sent test packets cannot be changed.

      The outbound interface of test packets should be the interface connected to the link to be tested.

      Press Ctrl+C to stop sending test packets.

  3. Disabling remote loopback

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run efm loopback stop

      Remote loopback is disabled on the interface.

      If remote loopback is left enabled, the remote device keeps looping back service data, causing a service interruption. To prevent this problem, a capability can be configured to disable remote loopback automatically after a specified timeout interval. By default, the timeout interval for remote loopback is 20 minutes. After the timeout interval expires, the local device automatically sends a message to instruct the remote device to disable remote loopback. To disable remote loopback manually, perform the preceding procedures.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166606

Views: 91815

Downloads: 84

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