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, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

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 an Interface Monitoring Group

Example for Configuring an Interface Monitoring Group

Networking Requirements

As shown in Figure 3-3, a security enterprise uses Router1 and Router2 (two ARs) as gateways to connect to the carrier network, and LAN-side Switch1 and Switch2 connect to the two routers. The security enterprise has a large data traffic volume and requires high reliability. WAN-side devices and LAN-side devices are connected in dual-homing mode to implement backup and load balancing.

When the link between Router1 and RouterC becomes faulty, there is only one link from Router1 to RouterA. The user-side switches cannot detect the fault, so they do not switch traffic to Router2. The switches still send packets to RouterA through Router1. In this case, traffic may be lost due to traffic overload on Router1.

You can configure an interface monitoring group on Router1 and Router2. When the network-side link is disconnected, Ethernet2/0/1 on the LAN side goes Down and some traffic is switched to another device.

Figure 3-3  Networking for configuring an interface monitoring group

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure IP addresses and routing protocols for network-side interfaces on Router1 and Router2, and configure equal-cost routes to implement uplink backup and load balancing.
  2. Configure Layer 2 connectivity for user-side interfaces on Router1 and Router2, and configure an Eth-Trunk to implement the active/standby switchover and load balancing.
  3. Configure an interface monitoring group on Router1 and Router2. When the network-side link is disconnected, Ethernet2/0/1 on the LAN side goes Down and some traffic is switched to another device.

Procedure

  1. Configure IP addresses and routing protocols for network-side interfaces on Router1 and Router2, and configure equal-cost routes to implement uplink backup and load balancing.

    For details, see Huawei AR Series Access Routers Configuration Guide - IP Routing.

  2. Configure Layer 2 connectivity for user-side interfaces on Router1 and Router2, and configure an Eth-Trunk to implement the active/standby switchover and load balancing.

    For details, see Huawei AR Series Access Routers Configuration Guide - LAN.

  3. Configure an interface monitoring group on Router1 and Router2.
    1. Create an interface monitoring group, add GE1/0/0 and GE2/0/0 on Router1 and Router2 to the interface monitoring group, and set the trigger-down-weight to 400.

      # Configure Router1.
      <Huawei> system-view
      [Huawei] sysname Router1
      [Router1] monitor-group group1
      [Router1-monitor-group-group1] monitor enable
      [Router1-monitor-group-group1] binding interface gigabitethernet 1/0/0 down-weight 400
      [Router1-monitor-group-group1] binding interface gigabitethernet 2/0/0 down-weight 400
      [Router1-monitor-group-group1] quit
      # Configure Router2.
      <Huawei> system-view
      [Huawei] sysname Router2
      [Router2] monitor-group group2
      [Router2-monitor-group-group2] monitor enable
      [Router2-monitor-group-group2] binding interface gigabitethernet 1/0/0 down-weight 400
      [Router2-monitor-group-group2] binding interface gigabitethernet 2/0/0 down-weight 400
      [Router2-monitor-group-group2] quit

    2. Configure Etherent2/0/1 to monitor the interface monitoring group and set the trigger-down-weight to 300.

      # Configure Router1.
      [Router1] interface ethernet 2/0/1
      [Router1-Ethernet2/0/1] track monitor-group group1 trigger-down-weight 300
      [Router1-Ethernet2/0/1] quit
      # Configure Router2.
      [Router2] interface ethernet 2/0/1
      [Router2-Ethernet2/0/1] track monitor-group group2 trigger-down-weight 300
      [Router2-Ethernet2/0/1] quit

  4. Verify the configuration.

    # After the preceding configuration is complete, run the display monitor-group [ monitor-group-name ] command on Router1. You can see that the status of Ethernet2/0/1 is NORMAL.

    <Router1> display monitor-group  group1
    monitor-group group1                                                           
        Index            : 1                                                        
        Down weight      : 400                                                      
        Weight sum       : 800                                                      
        Max track weight : 300                                                      
        Trigger-up delay : 0 (s) (default)                                          
        Status           : Active                                                   
    -------------------------------------------------------                         
      monitor-group binding interface number : 2                                    
    -------------------------------------------------------                         
        Interface name  :  GigabitEthernet1/0/0                                     
        Interface index :  16                                                       
        Down-weight     :  400                                                      
        Phystatus       :  UP                                                     
        Bfdstatus       :  -                                                        
        LastPhyuptime   :  -                                                        
        LastPhydowntime :  -                                                        
        LastBFDuptime   :  -                                                        
        LastBFDdowntime :  -                                                        
        ValidFlag       :  valid                                                    
                                                                                    
        Interface name  :  GigabitEthernet2/0/0                                     
        Interface index :  65                                                       
        Down-weight     :  400                                                      
        Phystatus       :  UP                                                       
        Bfdstatus       :  -                                                        
        LastPhyuptime   :  -                                                        
        LastPhydowntime :  -                                                        
        LastBFDuptime   :  -                                                        
        LastBFDdowntime :  -                                                        
        ValidFlag       :  valid                                                    
                                                                                    
    -------------------------------------------------------                         
      monitor-group track interface number : 1                                      
    -------------------------------------------------------                         
        Interface name      :  Ethernet2/0/1                                        
        Interface index     :  63                                                   
        Trigger-down-weight :  300                                                  
        TriggerStatus       :  NORMAL                                         
        LastTriggerUpTime   :  -                                                    
        LastTriggerDownTime :  -                                  
        ValidFlag           :  valid                                                
                                               

    # Shut down GE1/0/0 on Router1 and run the display monitor-group [ monitor-group-name ] command. You can see that the status of Ethernet2/0/1 becomes TRIGGER DOWN.

    [Router1] interface gigabitethernet 1/0/0  
    [Router1-GigabitEthernet1/0/0] shutdown 
    [Router1-GigabitEthernet1/0/0] display monitor-group  group1
      monitor-group group1                                                           
        Index            : 1                                                        
        Down weight      : 400                                                      
        Weight sum       : 800                                                      
        Max track weight : 300                                                      
        Trigger-up delay : 0 (s) (default)                                          
        Status           : Active                                                    
    -------------------------------------------------------                         
      monitor-group binding interface number : 2                                    
    -------------------------------------------------------                         
        Interface name  :  GigabitEthernet1/0/0                                     
        Interface index :  16                                                       
        Down-weight     :  400                                                      
        Phystatus       :  DOWN                                                     
        Bfdstatus       :  -                                                        
        LastPhyuptime   :  -                                                        
        LastPhydowntime :  -                                                        
        LastBFDuptime   :  -                                                        
        LastBFDdowntime :  -                                                        
        ValidFlag       :  valid                                                    
                                                                                    
        Interface name  :  GigabitEthernet2/0/0                                     
        Interface index :  65                                                       
        Down-weight     :  400                                                      
        Phystatus       :  UP                                                       
        Bfdstatus       :  -                                                        
        LastPhyuptime   :  -                                                        
        LastPhydowntime :  -                                                        
        LastBFDuptime   :  -                                                        
        LastBFDdowntime :  -                                                        
        ValidFlag       :  valid                                                    
                                                                                    
    -------------------------------------------------------                         
      monitor-group track interface number : 1                                      
    -------------------------------------------------------                         
        Interface name      :  Ethernet2/0/1                                        
        Interface index     :  63                                                   
        Trigger-down-weight :  300                                                  
        TriggerStatus       :  TRIGGER DOWN                                        
        LastTriggerUpTime   :  -                                                    
        LastTriggerDownTime :  2013-09-16 02:47:36                                  
        ValidFlag           :  valid                                                
                                                                                    

Configuration Files

  • Router1 configuration file

    #
     sysname Router1
    #                                                                               
    monitor-group group1                                                            
     monitor enable                                                                 
     binding interface GigabitEthernet1/0/0 down-weight 400                         
     binding interface GigabitEthernet2/0/0 down-weight 400    
    #
    interface Ethernet2/0/1                                                         
     track monitor-group group1 trigger-down-weight 300                             
    #
    return
  • Router2 configuration file

    #
     sysname Router2
    #                                                                               
    monitor-group group2                                                            
     monitor enable                                                                 
     binding interface GigabitEthernet1/0/0 down-weight 400                         
     binding interface GigabitEthernet2/0/0 down-weight 400    
    #
    interface Ethernet2/0/1                                                         
     track monitor-group group2 trigger-down-weight 300                             
    #
    return
Translation
Download
Updated: 2019-08-12

Document ID: EDOC1100034076

Views: 56516

Downloads: 103

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