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 Backup Between 3G Interfaces

Example for Configuring Backup Between 3G Interfaces

Networking Requirements

As shown in Figure 2-16, RouterA is an egress gateway of an enterprise. Normally, RouterA connects to the Internet through 3G network 1.

The enterprise leases a link connected to the Internet through 3G network 2 as the backup link. The backup link can transmit services when Cellular0/0/0 or 3G network 1 is faulty.

NOTE:

This example assumes that 3G network 1 works in WCDMA mode and uses the access point name (APN) of 3GNET, and 3G network 2 works in CDMA2000 mode. In WCDMA mode, the dialer number is *99#. In CDMA2000 mode, the dialer number is #777. Users can configure these parameters according to the site requirements.

Figure 2-16  Networking diagram of 3G interface backup

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure the 3G interface Cellular0/0/0 on RouterA so that RouterA connects to the Internet through 3G network 1.
  2. Configure the 3G interface Cellular0/0/1 on RouterA so that RouterA connects to the Internet through 3G network 2.
  3. Configure Cellular0/0/1 as the backup interface of Cellular0/0/0 so that traffic can be switched to Cellular0/0/1 when the primary interface is faulty.
  4. Configure circular DCC so that enterprise users can connect to the Internet through dialup.
  5. Configure a static route to implement connectivity at the network layer.

Procedure

  1. Configure Cellular0/0/0.

    # Configure an IP address for Cellular0/0/0.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface cellular 0/0/0
    [RouterA-Cellular0/0/0] link-protocol ppp
    [RouterA-Cellular0/0/0] ip address ppp-negotiate
    

    # Configure an APN.

    [RouterA-Cellular0/0/0] profile create 1 static 3GNET
    

    # Configure the network connection mode WCDMA.

    [RouterA-Cellular0/0/0] mode wcdma wcdma-precedence
    [RouterA-Cellular0/0/0] quit

  2. Configure Cellular0/0/1.

    # Configure an IP address for Cellular0/0/1.

    [RouterA] interface cellular 0/0/1
    [RouterA-Cellular0/0/1] link-protocol ppp
    [RouterA-Cellular0/0/1] ip address ppp-negotiate
    

    # Configure the network connection mode CDMA.

    [RouterA-Cellular0/0/1] mode cdma hybrid
    [RouterA-Cellular0/0/1] quit

  3. Configure a backup interface for Cellular0/0/0.

    [RouterA] interface cellular 0/0/0
    [RouterA-Cellular0/0/0] standby interface cellular 0/0/1
    [RouterA-Cellular0/0/0] quit

  4. Configure circular DCC.

    # Create dialer group 1 and configure a dialer rule in the group.

    [RouterA] dialer-rule
    [RouterA-dialer-rule] dialer-rule 1 ip permit
    [RouterA-dialer-rule] quit
    

    # Enable circular DCC on Cellular0/0/0.

    [RouterA] interface cellular 0/0/0
    [RouterA-Cellular0/0/0] dialer enable-circular
    [RouterA-Cellular0/0/0] dialer-group 1
    [RouterA-Cellular0/0/0] dialer timer autodial 60
    [RouterA-Cellular0/0/0] dialer number *99# autodial
    [RouterA-Cellular0/0/0] quit

    # Enable circular DCC on Cellular0/0/1.

    [RouterA] interface cellular 0/0/1
    [RouterA-Cellular0/0/1] dialer enable-circular
    [RouterA-Cellular0/0/1] dialer-group 1
    [RouterA-Cellular0/0/1] dialer timer autodial 60
    [RouterA-Cellular0/0/1] dialer number #777 autodial
    [RouterA-Cellular0/0/1] quit
    

  5. Configure a static route.

    [RouterA] ip route-static 0.0.0.0 0.0.0.0 cellular 0/0/0 preference 40
    [RouterA] ip route-static 0.0.0.0 0.0.0.0 cellular 0/0/1 preference 80
    

  6. Verify the configuration.

    After the configuration is complete, run the display standby state command on RouterA to check the status of the primary and backup interfaces. The result shows that Cellular0/0/0 is in Up state, and Cellular0/0/1 is in STANDBY state.

    [RouterA] display standby state
    Interface                  Interfacestate Backupstate Backupflag Pri   Loadstate
    Cellular0/0/0                          UP         MUP       MU            
    Cellular0/0/1                     STANDBY     STANDBY       BU     0   
                                                                                    
     Backup-flag meaning:                                                           
     M---MAIN  B---BACKUP     V---MOVED    U---USED                                 
     D---LOAD  P---PULLED                           
                                                                                    
                                                                                    
    ----------------------------------------------------------------------------    
    Below is track BFD information:                                                 
    Bfd-Name              Bfd-State  BackupInterface            State               
                                                                                    
    ----------------------------------------------------------------------------    
    Below is track IP route information:                                            
    Destination/Mask          Route-State  BackupInterface            State         
                                                                                    
    ----------------------------------------------------------------------------    
    Below is track NQA Information:                                                 
    Instance Name                    BackupInterface              State             
                                                                                    

    Run the shutdown command on Cellular0/0/0 to simulate a link fault. Run the display standby state command on RouterA to check the status of the primary and backup interfaces. The result shows that Celllular0/0/0 is in DOWN state, and Celllular0/0/1 is in Up state. The backup interface is used.

    [RouterA-Cellular0/0/0] shutdown
    [RouterA-Cellular0/0/0] quit    
    [RouterA] display standby state
    Interface                  Interfacestate Backupstate Backupflag Pri   Loadstate
    Cellular0/0/0                        DOWN      MDOWN          MU        
    Cellular0/0/1                          UP         UP          BU  0     
                                                                                    
     Backup-flag meaning:                                                           
     M---MAIN  B---BACKUP     V---MOVED    U---USED                                 
     D---LOAD  P---PULLED                           
                                                                                    
                                                                                    
    ----------------------------------------------------------------------------    
    Below is track BFD information:                                                 
    Bfd-Name              Bfd-State  BackupInterface            State               
                                                                                    
    ----------------------------------------------------------------------------    
    Below is track IP route information:                                            
    Destination/Mask          Route-State  BackupInterface            State         
                                                                                    
    ----------------------------------------------------------------------------    
    Below is track NQA Information:                                                 
    Instance Name                    BackupInterface              State             
                                                                                    

Configuration File

  • RouterA configuration file

    #
     sysname RouterA
    #
    interface Cellular0/0/0
     link-protocol ppp
     ip address ppp-negotiate
     dialer enable-circular
     dialer-group 1
     dialer timer autodial 60
     dialer number *99# autodial
     stanby interface Cellular0/0/1
    #
    interface Cellular0/0/1
     link-protocol ppp
     ip address ppp-negotiate
     dialer enable-circular
     dialer-group 1
     dialer timer autodial 60
     dialer number #777 autodial
    #
    dialer-rule
     dialer-rule 1 ip permit  
    #
     ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0 preference 40
     ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/1 preference 80
    #
    return
Translation
Download
Updated: 2019-08-12

Document ID: EDOC1100034076

Views: 59464

Downloads: 107

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