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

S1720, S2700, S5700, and S6720 V200R010C00

This document describes the configuration of BFD, DLDP, VRRP, SmartLink, CFM, EFM, Y.1731 and MAC swap loopback to ensure reliability on the device.
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. In Figure 8-12, remote loopback is configured on the interface connecting the CE 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 8-12  Remote loopback
NOTE:
  • Remote loopback can only be initiated by an interface in active EFM mode.

  • 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 will cause test packets to be forwarded. As a result, network bandwidth is occupied.
  • The S6720EI and S6720S-EI can only initiate EFM OAM remote loopback requests.

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. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      NOTE:

      Only the S5720HI, S5720EI, S6720EI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

    4. 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 remains 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. You can run the display efm { all | interface interface-type interface-number } command 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:

      test-packet start interface interface-type interface-number [ -c count | -s size ] *

      The device is configured to send test packets.

      By default, the size of a test packet is 64 bytes 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. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      NOTE:

      Only the S5720HI, S5720EI, S6720EI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

    4. Run:

      efm loopback stop

      Remote loopback is disabled on the interface.

      By default, the timeout interval for remote loopback is 20 minutes.

      If remote loopback is left enabled, the remote device continues to loop back service data, causing service interruption. To prevent this problem, you can configure a capability to automatically disable remote loopback after a specified timeout interval. After the timeout interval expires, the local device automatically sends a message to instruct the remote device to disable remote loopback. To manually disable remote loopback, you can perform the preceding procedures.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141941

Views: 90375

Downloads: 512

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