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

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Reliability, including BFD Configuration, VRRP Configuration, DLDP Configuration, Smart Link and Monitor Link Configuration, MAC Swap Loopback Configuration, EFM Configuration, CFM Configuration, Y.1731 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).
Example for Configuring Association Between an EFM Module and an Interface

Example for Configuring Association Between an EFM Module and an Interface

Networking Requirements

As shown in Figure 7-16, EFM is configured between SwitchB and SwitchC. When GigabitEthernet0/0/2 on SwitchB becomes Down, EFM reports the fault to GigabitEthernet0/0/1 on SwitchB through association. Then GigabitEthernet0/0/1 becomes Down.

Figure 7-16  Association between EFM and an interface

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure EFM between SwitchB and SwitchC.

  2. Configure association between EFM and GigabitEthernet0/0/1 on SwitchB.

Procedure

  1. Configure EFM between SwitchB and SwitchC.

    # Configure SwitchB.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchB
    [SwitchB] efm enable
    [SwitchB] interface gigabitethernet 0/0/2
    [SwitchB-GigabitEthernet0/0/2] efm mode passive
    [SwitchB-GigabitEthernet0/0/2] efm enable
    [SwitchB-GigabitEthernet0/0/2] quit
    

    # Configure SwitchC.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchC
    [SwitchC] efm enable
    [SwitchC] interface gigabitethernet 0/0/2
    [SwitchC-GigabitEthernet0/0/2] efm enable
    

    Run the display efm session interface command on SwitchB to check the EFM OAM status. You can see that EFM OAM is in detect state.

    [SwitchB] display efm session interface gigabitethernet 0/0/2
      Interface                 EFM State                   Loopback Timeout
      ----------------------------------------------------------------------
      GigabitEthernet0/0/2     detect                        --

  2. Configure association between EFM and an interface.

    # Configure GigabitEthernet0/0/1 on SwitchB and EFM between SwitchB and SwitchC to report faults to each other.

    [SwitchB] oam-mgr
    [SwitchB-oam-mgr] oam-bind efm interface gigabitethernet 0/0/2 trigger if-down interface gigabitethernet 0/0/1
    [SwitchB-oam-mgr] quit

  3. Verify the configuration.

    Run the shutdown command on GE0/0/2 of SwitchB. EFM OAM reports the fault to GigabitEthernet0/0/1. Then GigabitEthernet0/0/1 enters the TRIGGER DOWN (3AH) state.

    [SwitchB] interface gigabitethernet 0/0/2
    [SwitchB-GigabitEthernet0/0/2] shutdown
    [SwitchB-GigabitEthernet0/0/2] quit
    [SwitchB] display interface gigabitethernet 0/0/1
    GigabitEthernet0/0/1 current state : TRIGGER DOWN (3AH)                                       
    Line protocol current state : DOWN                                              
    ...
    
    NOTE:

    The output of the display interface gigabitethernet 0/0/1 command displays information that you need to concern and "..." indicates that information is omitted.

Configuration Files

  • SwitchB configuration file

    #
    sysname SwitchB
    #
    efm enable
    #
    interface GigabitEthernet0/0/2
     efm mode passive
     efm enable
    # 
    oam-mgr
     oam-bind ingress efm interface GigabitEthernet0/0/2 trigger if-down egress interface GigabitEthernet0/0/1 
     oam-bind ingress interface GigabitEthernet0/0/1 egress efm interface GigabitEthernet0/0/2 trigger if-down   
    #
    return
  • SwitchC configuration file

    #
    sysname SwitchC
    #
    efm enable
    #
    interface GigabitEthernet0/0/2
     efm enable
    #
    return
Translation
Download
Updated: 2019-04-04

Document ID: EDOC1100065682

Views: 30964

Downloads: 253

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