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).
Example for Configuring Basic EFM Functions

Example for Configuring Basic EFM Functions

Networking Requirements

As networks develop quickly, more and more IP networks are used to carry multiple services such as voice and video services. These services pose high requirements on network reliability and rapid fault detection.

As shown in Figure 6-9, the network between SwitchA and Router is newly deployed. The requirements on the network are as follows:
  • Link connectivity and quality on the network are tested before the network is started.

  • Link quality is dynamically monitored after links are properly started.

Figure 6-9 Networking diagram for configuring basic EFM functions

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure basic EFM functions on SwitchA and SwitchB to monitor link connectivity.

  2. Configure remote loopback on SwitchA to test the connectivity and performance of the link between SwitchA and SwitchB before the link is used to transmit services.

  3. Configure link monitoring on SwitchA to monitor the performance and quality of the link between SwitchA and SwitchB.

  4. Configure association between EFM and interfaces on SwitchB. When the link between SwitchA and SwitchB becomes faulty, traffic sent from SwitchB will not be sent along the link.

Procedure

  1. Configure basic EFM functions.

    # Enable EFM on SwitchA globally.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] efm enable
    [*SwitchA] commit

    # Enable EFM on 10GE1/0/1 of SwitchA.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] efm enable
    [*SwitchA-10GE1/0/1] commit
    [~SwitchA-10GE1/0/1] quit

    # Enable EFM on SwitchB globally.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchB
    [*HUAWEI] commit
    [~SwitchB] efm enable
    [*SwitchB] commit

    # Configure the EFM mode to passive on 10GE1/0/1 of SwitchB.

    [~SwitchB] interface 10ge 1/0/1
    [~SwitchB-10GE1/0/1] efm mode passive

    # Enable EFM on 10GE1/0/1 of SwitchB.

    [*SwitchB-10GE1/0/1] efm enable
    [*SwitchB-10GE1/0/1] commit
    [~SwitchB-10GE1/0/1] quit

    # Verify the configuration.

    If EFM is correctly configured on SwitchA and SwitchB, 10GE1/0/1 will enter the handshake phase. Run the display efm session { all | interface interface-type interface-number } command on SwitchA or SwitchB. The command output shows that the EFM status is detect on 10GE1/0/1.

    [~SwitchA] display efm session all
      Interface                 EFM State                   Loopback Timeout        
      ----------------------------------------------------------------------        
      10GE1/0/1                 detect                      --               

  2. Configure remote loopback.

    # Configure remote loopback on SwitchA.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] efm loopback start
    [~SwitchA-10GE1/0/1] quit

    Verify the configuration.

    After configuring remote loopback, run the display efm session { all | interface interface-type interface-number } command on SwitchA. The command output shows that the EFM status is loopback (control) on 10GE1/0/1.

    [~SwitchA] display efm session interface 10ge 1/0/1
      Interface                 EFM State                   Loopback Timeout        
      ----------------------------------------------------------------------        
      10GE1/0/1                 loopback (control)          20               

    After configuring remote loopback, run the display efm session { all | interface interface-type interface-number } command on SwitchB. The command output shows that the EFM status is loopback (be controlled) on 10GE1/0/1.

    [~SwitchB] display efm session interface 10ge 1/0/1
      Interface                 EFM State                   Loopback Timeout        
      ----------------------------------------------------------------------        
      10GE1/0/1                 loopback (be controlled)    --              

  3. Configure SwitchA to send test packets to SwitchB.

    [~SwitchA] efm test-packet start interface 10ge 1/0/1
    Please wait...done.
    Info: The test is completed.

  4. Check returned test packets on SwitchA.

    [~SwitchA] display efm test-packet result
      TestResult         Value
    --------------------------------------------------------
      PacketsSend    :   5
      PacketsReceive :   5
      PacketsLost    :   0
      BytesSend      :   320
      BytesReceive   :   320
      BytesLost      :   0
      StartTime      :   Oct 10 2013 13:44:47
      EndTime        :   Oct 10 2013 13:44:48
      State          :   Finished

    Link quality can be evaluated based on data in the preceding command output.

  5. Disable remote loopback.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] efm loopback stop
    [~SwitchA-10GE1/0/1] quit
    NOTE:

    Disable remote loopback before the link is used; otherwise, traffic cannot be forwarded.

    By default, the timeout interval for remote loopback is 20 minutes. The remote loopback test stops after 20 minutes. To disable remote loopback, perform the preceding procedures.

  6. Verify the configuration.

    After disabling remote loopback, run the display efm session { all | interface interface-type interface-number } command on SwitchA or SwitchB. The command output shows that the EFM status is detect on the interfaces at both ends of the link. For example:

    [~SwitchA] display efm session all
      Interface                 EFM State                   Loopback Timeout        
      ----------------------------------------------------------------------        
      10GE1/0/1                 detect                      --               

    If the link is working properly, perform the following operations to monitor the link in real time.

  7. Configure errored code detection, errored frame detection, and errored frame second detection on 10GE1/0/1 of SwitchA.

    # Configure errored frame detection on 10GE1/0/1 of SwitchA.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] efm error-frame period 5
    [*SwitchA-10GE1/0/1] efm error-frame threshold 5
    [*SwitchA-10GE1/0/1] efm error-frame notification enable

    # Configure errored code detection on 10GE1/0/1 of SwitchA.

    [*SwitchA-10GE1/0/1] efm error-code period 5
    [*SwitchA-10GE1/0/1] efm error-code threshold 5
    [*SwitchA-10GE1/0/1] efm error-code notification enable

    # Configure errored frame second detection on 10GE1/0/1 of SwitchA.

    [*SwitchA-10GE1/0/1] efm error-frame-second period 120
    [*SwitchA-10GE1/0/1] efm error-frame-second threshold 5
    [*SwitchA-10GE1/0/1] efm error-frame-second notification enable
    [*SwitchA-10GE1/0/1] commit
    [~SwitchA-10GE1/0/1] quit

  8. Verify the configuration.

    After the preceding configurations are complete, 10GE1/0/1 on SwitchA and 10GE1/0/1 on SwitchB will enter the handshake phase. Run the display efm session { all | interface interface-type interface-number } command on SwitchA or SwitchB. The command output shows that the EFM status is detect on 10GE1/0/1.

    [~SwitchA] display efm session interface 10ge 1/0/1
      Interface                 EFM State                   Loopback Timeout        
      ----------------------------------------------------------------------        
      10GE1/0/1                 detect                      --               

    After the preceding configurations are complete, run the display efm { all | interface interface-type interface-number } command to check EFM configurations.

    [~SwitchA] display efm interface 10ge 1/0/1
        Item                           Value
        ----------------------------------------------------
        Interface:                     10GE1/0/1
        EFM Enable Flag:               enable
        Mode:                          active
        Loopback IgnoreRequest:        no
        OAMPDU MaxSize:                128
        OAMPDU Timeout:                5000  
        OAMPDU Interval:               1000
        Parser:                        forward
        Multiplexer:                   forward
        ErrCodeNotification:           enable
        ErrCodePeriod:                 5
        ErrCodeThreshold:              5
        ErrFrameNotification:          enable
        ErrFramePeriod:                5
        ErrFrameThreshold:             5
        ErrFrameSecondNotification:    enable
        ErrFrameSecondPeriod:          120
        ErrFrameSecondThreshold:       5
        Hold Up Time:                  0
        TriggerIfDown:                 disable
        TriggerMacRenew:               disable
        Remote MAC:                    0010-0010-0010
        Remote EFM Enable Flag:        enable
        Remote Mode:                   passive
        Remote MaxSize:                128
        Remote Loopback IgnoreRequest: no  
        Remote State:                  --
        Remote Parser:                 forward                                        
        Remote Multiplexer:            forward

  9. Configure association between EFM and 10GE1/0/1 on SwitchA.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] efm trigger if-down
    [*SwitchA-10GE1/0/1] commit
    [~SwitchA-10GE1/0/1] quit

  10. Verify the configuration.

    After the preceding configurations are complete, run the undo efm enable command on 10GE1/0/1 of SwitchB.

    [~SwitchB] interface 10ge 1/0/1
    [~SwitchB-10GE1/0/1] undo efm enable
    [*SwitchB-10GE1/0/1] commit
    [~SwitchB-10GE1/0/1] quit

    The command output shows that the Line protocol current state field value is DOWN (EFM down) on 10GE1/0/1 of SwitchA.

    [~SwitchA] display interface 10ge 1/0/1
    10GE1/0/1 current state : UP (ifindex: 13)                                      
    Line protocol current state : DOWN (EFM down)                                   
    ...
    NOTE:

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

    Run the efm enable command on 10GE1/0/1 of SwitchB.

    [~SwitchB] interface 10ge 1/0/1
    [~SwitchB-10GE1/0/1] efm enable
    [*SwitchB-10GE1/0/1] commit
    [~SwitchB-10GE1/0/1] quit

    The command output shows that the Line protocol current state field value is UP on 10GE1/0/1 of SwitchA.

    [~SwitchA] display interface 10ge 1/0/1
    10GE1/0/1 current state : UP (ifindex: 13)                                      
    Line protocol current state : UP                                   
    ...
    NOTE:

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

Configuration Files

  • SwitchA configuration file

    #
    sysname SwitchA
    #
    efm enable
    #
    interface 10GE1/0/1
     efm enable                                                                     
     efm error-frame period 5                                                       
     efm error-frame threshold 5                                                    
     efm error-frame notification enable                                            
     efm error-frame-second period 120                                              
     efm error-frame-second threshold 5                                             
     efm error-frame-second notification enable                                     
     efm error-code period 5                                                        
     efm error-code threshold 5                                                     
     efm error-code notification enable                  
     efm trigger if-down
    #                                                 
    return
  • SwitchB configuration file

    #
    sysname SwitchB
    #
    efm enable
    #
    interface 10GE1/0/1
     efm mode passive
     efm enable
    #
    return
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166606

Views: 121007

Downloads: 90

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