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

CLI-based Configuration Guide - Reliability

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides guidance for configuring reliability services, including interface backup, BFD, VRRP, and EFM.
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 CFM and EFM

Example for Configuring Association Between CFM and EFM

Networking Requirements

In Figure 9-11, to implement end-to-end link fault detection, you need to enable EFM OAM between RouterA and RouterB and between RouterC and RouterD, and enable Ethernet CFM between RouterB and RouterC. When a fault occurs on the link between RouterA and RouterB, Ethernet CFM is triggered to send trap messages to RouterD. When a fault occurs on the link between RouterC and RouterD, Ethernet CFM is triggered to send trap messages to RouterA.

Figure 9-11  Association between EFM and CFM

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create VLANs and add interfaces to the VLANs.

  2. Configure EFM between RouterA and RouterB.

  3. Configure CFM between RouterB and RouterC.

  4. Configure EFM between RouterC and RouterD.

  5. Configure association between EFM and CFM on RouterB and RouterC.

Procedure

  1. Create VLAN 10 and add interfaces to the VLAN.
  2. # Enable EFM on RouterA and RouterB.

    # Configure RouterA.

    [RouterA] efm enable
    [RouterA] interface GigabitEthernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] efm mode passive
    [RouterA-GigabitEthernet1/0/0] efm enable
    [RouterA-GigabitEthernet1/0/0] quit

    # Configure RouterB.

    [RouterB] efm enable
    [RouterB] interface GigabitEthernet 1/0/0
    [RouterB-GigabitEthernet1/0/0] efm enable
    [RouterB-GigabitEthernet1/0/0] quit

  3. Configure CFM between RouterB and RouterC.

    # Configure RouterB.

    [RouterB] cfm enable
    [RouterB] cfm md md1
    [RouterB-md-md1] ma ma1
    [RouterB-md-md1-ma-ma1] map vlan 10
    [RouterB-md-md1-ma-ma1] mep mep-id 1 interface GigabitEthernet 2/0/0 outward
    [RouterB-md-md1-ma-ma1] remote-mep mep-id 2
    [RouterB-md-md1-ma-ma1] mep ccm-send enable
    [RouterB-md-md1-ma-ma1] remote-mep ccm-receive enable
    [RouterB-md-md1-ma-ma1] return

    # Configure RouterC.

    [RouterC] cfm enable
    [RouterC] cfm md md1
    [RouterC-md-md1] ma ma1
    [RouterC-md-md1-ma-ma1] map vlan 10
    [RouterC-md-md1-ma-ma1] mep mep-id 2 interface GigabitEthernet 2/0/0 outward
    [RouterC-md-md1-ma-ma1] remote-mep mep-id 1
    [RouterC-md-md1-ma-ma1] mep ccm-send enable
    [RouterC-md-md1-ma-ma1] remote-mep ccm-receive enable
    [RouterC-md-md1-ma-ma1] return

  4. Configure EFM between RouterC and RouterD.

    # Configure RouterC.

    [RouterC] efm enable
    [RouterC] interface GigabitEthernet 1/0/0
    [RouterC-GigabitEthernet1/0/0] efm enable
    [RouterC-GigabitEthernet1/0/0] quit

    # Configure RouterD.

    [RouterD] efm enable
    [RouterD] interface GigabitEthernet 1/0/0
    [RouterD-GigabitEthernet1/0/0] efm mode passive
    [RouterD-GigabitEthernet1/0/0] efm enable
    [RouterD-GigabitEthernet1/0/0] quit

  5. Configure association between EFM and CFM.

    # Associate EFM between RouterA and RouterB with CFM between RouterB and RouterC in both directions.

    [RouterB] oam-mgr
    [RouterB-oam-mgr] oam-bind cfm md md1 ma ma1 efm interface GigabitEthernet 1/0/0 

    # Associate CFM between RouterB and RouterC with EFM between RouterC and RouterD in both directions.

    [RouterC] oam-mgr
    [RouterC-oam-mgr] oam-bind cfm md md1 ma ma1 efm interface GigabitEthernet 1/0/0 

  6. Verify the configuration.

    After the preceding configuration is complete, when EFM between RouterA and RouterB detects a fault, CFM notifies EFM between RouterC and RouterD of the fault.

Configuration Files

  • RouterA configuration file

    #
     sysname RouterA
    #
     vlan batch 10
    #
     efm enable
    #
     interface GigabitEthernet1/0/0
     port link-type trunk
     port trunk allow-pass vlan 10
     efm mode passive
     efm enable
    #
     interface GigabitEthernet2/0/0
     portswitch
     port trunk allow-pass vlan 10
    #
     return
  • RouterB configuration file

    #
     sysname RouterB
    #
     vlan batch 10
    #
     efm enable
    #
     cfm enable
    #
     interface GigabitEthernet1/0/0
     portswitch
     port trunk allow-pass vlan 10
     efm enable
    #
     interface GigabitEthernet2/0/0
     portswitch
     port trunk allow-pass vlan 10
    #
     cfm md md1
      ma ma1
       map vlan 10
       mep mep-id 1 interface GigabitEthernet2/0/0 outward
       mep ccm-send mep-id 1 enable
       remote-mep mep-id 2
       remote-mep ccm-receive mep-id 2 enable
    #
     oam-mgr
     oam-bind cfm md md1 ma ma1 efm interface GigabitEthernet1/0/0
    #
     return
  • RouterC configuration file

    #
     sysname RouterC
    #
     vlan batch 10
    #
     efm enable
    #
     cfm enable
    #
     interface GigabitEthernet2/0/0
     portswitch
     port trunk allow-pass vlan 10
     efm enable
    #
     interface GigabitEthernet1/0/0
     portswitch
     port trunk allow-pass vlan 10
    #
     cfm md md1
      ma ma1
       map vlan 10
       mep mep-id 2 interface GigabitEthernet1/0/0 outward
       mep ccm-send mep-id 2 enable
       remote-mep mep-id 1
       remote-mep ccm-receive mep-id 1 enable
    #
     oam-mgr
     oam-bind cfm md md1 ma ma1 efm interface GigabitEthernet1/0/0
    #
     return
  • RouterD configuration file

    #
     sysname RouterD
    #
     vlan batch 10
    #
     efm enable
    #
     interface GigabitEthernet1/0/0
     portswitch
     port trunk allow-pass vlan 10
     efm mode passive
     efm enable
    #
     interface GigabitEthernet2/0/0
     portswitch
     port trunk allow-pass vlan 10
    #
     return
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069338

Views: 13998

Downloads: 40

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