Nessuna risorsa pertinente trovata nella lingua selezionata.

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Reliability

S7700 and S9700 V200R011C10

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 utilizza la traduzione automatica insieme alla revisione umana per tradurre questo documento in diverse lingue, per facilitare la comprensione del contenuto di questo documento. Nota: la traduzione automatica, anche la più avanzata, non può corrispondere alla qualità dei trasduttori professionisti. Huawei non accetta alcuna responsabilità per l'accuratezza della traduzione e raccomanda di fare riferimento al documento inglese (per il quale è stato fornito un collegamento).
Example for Associating Ethernet CFM with an Interface

Example for Associating Ethernet CFM with an Interface

Networking Requirements

As shown in Figure 9-20, a user network is connected to an ISP network through SwitchA and SwitchB. SwitchA functions as the CE, and SwitchB functions as the UPE. The requirements are as follows:

  • The bandwidth for the user network to access the ISP network is 2000 Mbit/s and an inactive link that serves as a backup is provided.

  • When the active link between the user network and the ISP network fails, the LACP module can detect the fault and stop forwarding data on the active link.

Figure 9-20  Association between CFM with an interface

Configuration Roadmap

The configuration roadmap is as follows:

  • Configure a link aggregation group (LAG) in LACP mode with three member interfaces on SwitchA and SwitchB respectively to increase the bandwidth, implement redundancy, and improve reliability.

  • Configure Ethernet CFM on SwitchA and SwitchB, and set the interval for sending and detecting CCMs to 100s in each MA so that the LACP module can detect link faults within 50 ms.

  • Associate Ethernet CFM with member interfaces of the LAGs in LACP mode on SwitchA and SwitchB so that member interfaces can fast detect link faults.

Procedure

  1. Create Eth-Trunk 1 on SwitchA and configure Eth-Trunk 1 to work in LACP mode. The configuration of SwitchB is similar to the configuration of SwitchA, and is not mentioned here.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchA
    [SwitchA] interface eth-trunk 1
    [SwitchA-Eth-Trunk1] mode lacp
    [SwitchA-Eth-Trunk1] quit

  2. Add member interfaces to Eth-Trunk 1 on SwitchA. The configurations of SwitchB is similar to the configuration of SwitchA, and is not mentioned here.

    [SwitchA] interface gigabitethernet 1/0/1
    [SwitchA-GigabitEthernet1/0/1] eth-trunk 1
    [SwitchA-GigabitEthernet1/0/1] quit
    [SwitchA] interface gigabitethernet 1/0/2
    [SwitchA-GigabitEthernet1/0/2] eth-trunk 1
    [SwitchA-GigabitEthernet1/0/2] quit
    [SwitchA] interface gigabitethernet 1/0/3
    [SwitchA-GigabitEthernet1/0/3] eth-trunk 1
    [SwitchA-GigabitEthernet1/0/3] quit
    

  3. Set the system priority on SwitchA to 100 so that SwitchA becomes the Actor.

    [SwitchA] lacp priority 100

  4. On SwitchA, set the upper threshold for the number of active interfaces to 2.

    [SwitchA] interface eth-trunk 1
    [SwitchA-Eth-Trunk1] max active-linknumber 2
    [SwitchA-Eth-Trunk1] quit

  5. Set the priority of the interface and determine active links on SwitchA.

    [SwitchA] interface gigabitethernet 1/0/1
    [SwitchA-GigabitEthernet1/0/1] lacp priority 100
    [SwitchA-GigabitEthernet1/0/1] quit
    [SwitchA] interface gigabitethernet 1/0/2
    [SwitchA-GigabitEthernet1/0/2] lacp priority 100
    [SwitchA-GigabitEthernet1/0/2] quit
    

  6. Configure Ethernet CFM.

    # Enable Ethernet CFM globally on SwitchA.

    [SwitchA] cfm enable

    # Create MD, MA, MEP and RMEP on SwitchA.

    [SwitchA] cfm md md1
    [SwitchA-md-md1] ma ma1
    [SwitchA-md-md1-ma-ma1] ccm-interval 100
    [SwitchA-md-md1-ma-ma1] mep mep-id 2 interface gigabitethernet 1/0/1 outward
    [SwitchA-md-md1-ma-ma1] remote-mep mep-id 1
    [SwitchA-md-md1-ma-ma1] mep ccm-send enable
    [SwitchA-md-md1-ma-ma1] remote-mep ccm-receive enable
    [SwitchA-md-md1-ma-ma1] quit
    [SwitchA-md-md1] ma ma2
    [SwitchA-md-md1-ma-ma2] ccm-interval 100
    [SwitchA-md-md1-ma-ma2] mep mep-id 4 interface gigabitethernet 1/0/2 outward
    [SwitchA-md-md1-ma-ma2] remote-mep mep-id 3
    [SwitchA-md-md1-ma-ma2] mep ccm-send enable
    [SwitchA-md-md1-ma-ma2] remote-mep ccm-receive enable
    [SwitchA-md-md1-ma-ma2] quit
    [SwitchA-md-md1] ma ma3
    [SwitchA-md-md1-ma-ma3] ccm-interval 100
    [SwitchA-md-md1-ma-ma3] mep mep-id 6 interface gigabitethernet 1/0/3 outward
    [SwitchA-md-md1-ma-ma3] remote-mep mep-id 5
    [SwitchA-md-md1-ma-ma3] mep ccm-send enable
    [SwitchA-md-md1-ma-ma3] remote-mep ccm-receive enable
    [SwitchA-md-md1-ma-ma3] quit
    [SwitchA-md-md1] quit

    # Enable Ethernet CFM globally on SwitchB.

    [SwitchB] cfm enable

    # Create MD, MA, MEP and RMEP on SwitchB.

    [SwitchB] cfm md md1
    [SwitchB-md-md1] ma ma1
    [SwitchB-md-md1-ma-ma1] ccm-interval 100
    [SwitchB-md-md1-ma-ma1] mep mep-id 1 interface gigabitethernet 1/0/1 outward
    [SwitchB-md-md1-ma-ma1] remote-mep mep-id 2
    [SwitchB-md-md1-ma-ma1] mep ccm-send enable
    [SwitchB-md-md1-ma-ma1] remote-mep ccm-receive enable
    [SwitchB-md-md1-ma-ma1] quit
    [SwitchB-md-md1] ma ma2
    [SwitchB-md-md1-ma-ma2] ccm-interval 100
    [SwitchB-md-md1-ma-ma2] mep mep-id 3 interface gigabitethernet 1/0/2 outward
    [SwitchB-md-md1-ma-ma2] remote-mep mep-id 4
    [SwitchB-md-md1-ma-ma2] mep ccm-send enable
    [SwitchB-md-md1-ma-ma2] remote-mep ccm-receive enable
    [SwitchB-md-md1-ma-ma2] quit
    [SwitchB-md-md1] ma ma3
    [SwitchB-md-md1-ma-ma3] ccm-interval 100
    [SwitchB-md-md1-ma-ma3] mep mep-id 5 interface gigabitethernet 1/0/3 outward
    [SwitchB-md-md1-ma-ma3] remote-mep mep-id 6
    [SwitchB-md-md1-ma-ma3] mep ccm-send enable
    [SwitchB-md-md1-ma-ma3] remote-mep ccm-receive enable
    [SwitchB-md-md1-ma-ma3] quit
    [SwitchB-md-md1] quit

    # Verify the configuration.

    Run the display cfm mep and display cfm remote-mep commands on SwitchA or SwitchB. If information about the MEP and RMEP is displayed, the configuration is successful. The displayed information on SwitchB is as follows:

    [SwitchA] display cfm mep md md1
    The total number of MEPs is : 3
    --------------------------------------------------
     MD Name            : md1                                                       
     MD Name Format     : string                                                    
     Level              : 0                                                         
     MA Name            : ma1                                                       
     MEP ID             : 2                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     Interface Name     : GigabitEthernet1/0/1
     CCM Send           : enabled                                                   
     Direction          : outward                                                   
     MAC Address        : 0009-c000-5e09                                            
     MEP Pe-vid         : --                                                        
     MEP Ce-vid         : --                                                        
     MEP Vid            : --                                                        
     Alarm Status       : none                                                       
     Alarm AIS          : enabled                                                   
     Alarm RDI          : enabled
    
     MD Name            : md1                                                       
     MD Name Format     : string                                                    
     Level              : 0                                                         
     MA Name            : ma2                                                       
     MEP ID             : 4                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     Interface Name     : GigabitEthernet1/0/2                                      
     CCM Send           : enabled                                                   
     Direction          : outward                                                   
     MAC Address        : 0009-c000-5e09                                            
     MEP Pe-vid         : --                                                        
     MEP Ce-vid         : --                                                        
     MEP Vid            : --                                                        
     Alarm Status       : none                                                       
     Alarm AIS          : enabled                                                   
     Alarm RDI          : enabled
    
     MD Name            : md1                                                       
     MD Name Format     : string                                                    
     Level              : 0                                                         
     MA Name            : ma3                                                       
     MEP ID             : 6                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     Interface Name     : GigabitEthernet1/0/3                                      
     CCM Send           : enabled                                                   
     Direction          : outward                                                   
     MAC Address        : 0009-c000-5e09                                            
     MEP Pe-vid         : --                                                        
     MEP Ce-vid         : --                                                        
     MEP Vid            : --                                                        
     Alarm Status       : none                                                       
     Alarm AIS          : enabled                                                   
     Alarm RDI          : enabled
    [SwitchB] display cfm remote-mep md md1
    The total number of RMEPs is : 3
    The status of RMEPs : 3 up, 0 down, 0 disable
    --------------------------------------------------
     MD Name            : md1                                                       
     Level              : 0                                                         
     MA Name            : ma1                                                       
     RMEP ID            : 2                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     MAC                : 0009-c000-5e09                                            
     CCM Receive        : enabled                                                   
     Trigger-If-Down    : disabled                                                  
     CFM Status         : up                                                        
     Alarm Status       : none                                                       
     Interface TLV      : -- 
     Connect Status     : up
    
     MD Name            : md1                                                       
     Level              : 0                                                         
     MA Name            : ma2                                                       
     RMEP ID            : 4                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     MAC                : 0009-c000-5e09                                            
     CCM Receive        : enabled                                                   
     Trigger-If-Down    : disabled                                                  
     CFM Status         : up                                                        
     Alarm Status       : none                                                       
     Interface TLV      : -- 
     Connect Status     : up
    
     MD Name            : md1                                                       
     Level              : 0                                                         
     MA Name            : ma3                                                       
     RMEP ID            : 6                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     MAC                : 0009-c000-5e09                                            
     CCM Receive        : enabled                                                   
     Trigger-If-Down    : disabled                                                  
     CFM Status         : up                                                        
     Alarm Status       : none                                                       
     Interface TLV      : -- 
     Connect Status     : up

  7. Associate Ethernet CFM with member interfaces of the LAG in static LACP mode.

    # Associate Ethernet CFM with member interfaces of Eth-Trunk 2 on SwitchA.

    [SwitchA] interface gigabitethernet 1/0/1
    [SwitchA-GigabitEthernet1/0/1] cfm md md1 ma ma1 remote-mep mep-id 1 trigger if-down
    [SwitchA-GigabitEthernet1/0/1] quit
    [SwitchA] interface gigabitethernet 1/0/2
    [SwitchA-GigabitEthernet1/0/2] cfm md md1 ma ma2 remote-mep mep-id 3 trigger if-down
    [SwitchA-GigabitEthernet1/0/2] quit
    [SwitchA] interface gigabitethernet 1/0/3
    [SwitchA-GigabitEthernet1/0/3] cfm md md1 ma ma3 remote-mep mep-id 5 trigger if-down
    [SwitchA-GigabitEthernet1/0/3] quit

    # Associate Ethernet CFM with member interfaces of Eth-Trunk 2 on SwitchB.

    [SwitchB] interface gigabitethernet 1/0/1
    [SwitchB-GigabitEthernet1/0/1] cfm md md1 ma ma1 remote-mep mep-id 2 trigger if-down
    [SwitchB-GigabitEthernet1/0/1] quit
    [SwitchB] interface gigabitethernet 1/0/2
    [SwitchB-GigabitEthernet1/0/2] cfm md md1 ma ma2 remote-mep mep-id 4 trigger if-down
    [SwitchB-GigabitEthernet1/0/2] quit
    [SwitchB] interface gigabitethernet 1/0/3
    [SwitchB-GigabitEthernet1/0/3] cfm md md1 ma ma3 remote-mep mep-id 6 trigger if-down
    [SwitchB-GigabitEthernet1/0/3] quit

    # Verify the configuration.

    Run the display cfm remote-mep command on SwitchA or SwitchB. If the Trigger-If-down field is displayed as enabled, the configuration is successful.

    [SwitchA] display cfm remote-mep md md1
    The total number of RMEPs is : 3
    The status of RMEPs : 3 up, 0 down, 0 disable
    --------------------------------------------------
     MD Name            : md1                                                       
     Level              : 0                                                         
     MA Name            : ma1                                                       
     RMEP ID            : 1                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     MAC                : 0008-c000-5e08                                            
     CCM Receive        : enabled                                                   
     Trigger-If-Down    : enabled                                                  
     CFM Status         : up                                                        
     Alarm Status       : none                                                       
     Interface TLV      : -- 
     Connect Status     : up
    
     MD Name            : md1                                                       
     Level              : 0                                                         
     MA Name            : ma2                                                       
     RMEP ID            : 3                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     MAC                : 0008-c000-5e08                                            
     CCM Receive        : enabled                                                   
     Trigger-If-Down    : enabled                                                  
     CFM Status         : up                                                        
     Alarm Status       : none                                                       
     Interface TLV      : -- 
     Connect Status     : up
    
     MD Name            : md1                                                       
     Level              : 0                                                         
     MA Name            : ma3                                                       
     RMEP ID            : 5                                                         
     VLAN ID            : --                                                        
     VSI Name           : --                                                        
     L2VC ID            : --                                                        
     MAC                : 0008-c000-5e08                                            
     CCM Receive        : enabled                                                   
     Trigger-If-Down    : enabled                                                  
     CFM Status         : up                                                        
     Alarm Status       : none                                                       
     Interface TLV      : -- 
     Connect Status     : up

Configuration Files

  • SwitchA configuration file

    #
    sysname SwitchA
    #
    lacp priority 100
    #
    cfm enable
    #
    interface Eth-Trunk1
     mode lacp
     max active-linknumber 2
    #
    interface GigabitEthernet1/0/1
     eth-trunk 1
     lacp priority 100
     cfm md md1 ma ma1 remote-mep mep-id 1 trigger if-down
    #
    interface GigabitEthernet1/0/2
     eth-trunk 1
     lacp priority 100
     cfm md md1 ma ma2 remote-mep mep-id 3 trigger if-down
    #
    interface GigabitEthernet1/0/3
     eth-trunk 1
     cfm md md1 ma ma3 remote-mep mep-id 5 trigger if-down
    #
    cfm md md1
     ma ma1
      ccm-interval 100
      mep mep-id 2 interface GigabitEthernet1/0/1 outward
      mep ccm-send mep-id 2 enable
      remote-mep mep-id 1
      remote-mep ccm-receive mep-id 1 enable
     ma ma2
      ccm-interval 100
      mep mep-id 4 interface GigabitEthernet1/0/2 outward
      mep ccm-send mep-id 4 enable
      remote-mep mep-id 3
      remote-mep ccm-receive mep-id 3 enable
     ma ma3
      ccm-interval 100
      mep mep-id 6 interface GigabitEthernet1/0/3 outward
      mep ccm-send mep-id 6 enable
      remote-mep mep-id 5
      remote-mep ccm-receive mep-id 5 enable
    #
    return
  • SwitchB configuration file

    #
    sysname SwitchB
    #
    cfm enable
    #
    interface Eth-Trunk1
     mode lacp
    #
    interface GigabitEthernet1/0/1
     eth-trunk 1
     cfm md md1 ma ma1 remote-mep mep-id 2 trigger if-down
    #
    interface GigabitEthernet1/0/2
     eth-trunk 1
     cfm md md1 ma ma2 remote-mep mep-id 4 trigger if-down
    #
    interface GigabitEthernet1/0/3
     eth-trunk 1
     cfm md md1 ma ma3 remote-mep mep-id 6 trigger if-down
    #
    cfm md md1
     ma ma1
      ccm-interval 100
      mep mep-id 1 interface GigabitEthernet1/0/1 outward
      mep ccm-send mep-id 1 enable
      remote-mep mep-id 2
      remote-mep ccm-receive mep-id 2 enable
     ma ma2
      ccm-interval 100
      mep mep-id 3 interface GigabitEthernet1/0/2 outward
      mep ccm-send mep-id 3 enable
      remote-mep mep-id 4
      remote-mep ccm-receive mep-id 4 enable
     ma ma3
      ccm-interval 100
      mep mep-id 5 interface GigabitEthernet1/0/3 outward
      mep ccm-send mep-id 5 enable
      remote-mep mep-id 6
      remote-mep ccm-receive mep-id 6 enable
    #
    return
Traduzione
Download
Updated: 2019-10-18

N. documento: EDOC1000178318

Visualizzazioni:125526

Download: 83

Average rating:
This Document Applies to these Products
Documenti correlati
Related Version
Share
Precedente Avanti