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 - Interface Management

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

This document provides the basic concepts, configuration procedures, and configuration examples of the interfaces supported by the device.
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 LTE Cellular Interfaces as the Primary/Backup Interfaces to Connect to the Internet (Using Two 1LTE-L Interfaces Cards)

Example for Configuring LTE Cellular Interfaces as the Primary/Backup Interfaces to Connect to the Internet (Using Two 1LTE-L Interfaces Cards)

Networking Requirements

A remote branch of the enterprise needs to exchange large volumes of service traffic with external networks, but it cannot obtain the wired WAN access service. As shown in Figure 12-13, the branch uses the RouterA as the egress gateway and uses an LTE cellular interface Cellular1/0/0 to connect to the Internet through LTE network 1, meeting service transmission requirements.

The enterprise leases a link connected to the Internet through LTE network 2 as the backup link, so the backup link can transmit services when Cellular1/0/0 or LTE network 1 is faulty.

NOTE:

This example applies to the scenario where two 1LTE-L interface cards are used or one 1LTE-L interface card and one E392 data card are used to connect to the Internet through dual uplinks. In this scenario, two LTE links both use the WWAN dial-up mode.

In this example:
  • For LTE network 1, the connection mode is LTE, the APN is ltenet1, and the dialer number is *99#.
  • For LTE network 2, the connection mode is AUTO, the APN is ltenet2, and the dialer number is *98#.
Set the connection parameters based on the site requirements.
Figure 12-13  Networking diagram of configuring LTE cellular interfaces as the primary/backup interfaces to connect to the Internet

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure Cellular1/0/0 on RouterA to connect RouterA to the Internet through LTE network 1.
  2. Configure Cellular2/0/0 on RouterA to connect RouterA to the Internet through LTE network 2.
  3. Configure Cellular2/0/0 as the backup interface of Cellular1/0/0 so that traffic can be switched to Cellular2/0/0 when Cellular1/0/0 is faulty.
  4. Configure C-DCC to dial up to the Internet through the primary or backup link.
  5. Configure a static route for communication at the network layer.

Procedure

  1. Configure Cellular1/0/0.

    # Create an APN profile.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] apn profile ltenet1
    [RouterA-apn-profile-ltenet1] quit

    # Obtain IP addresses dynamically.

    [RouterA] interface cellular 1/0/0
    [RouterA-Cellular1/0/0] ip address negotiate
    

    # Configure a network connection mode.

    [RouterA-Cellular1/0/0] mode lte lte-only
    

    # Bind the APN profile to Cellular1/0/0.

    [RouterA-Cellular1/0/0] dialer enable-circular
    [RouterA-Cellular1/0/0] apn-profile ltenet1
    [RouterA-Cellular1/0/0] shutdown
    [RouterA-Cellular1/0/0] undo shutdown
    [RouterA-Cellular1/0/0] quit

  2. Configure Cellular2/0/0.

    # Create an APN profile.

    [RouterA] apn profile ltenet2
    [RouterA-apn-profile-ltenet2] quit

    # Obtain IP addresses dynamically.

    [RouterA] interface cellular 2/0/0
    [RouterA-Cellular2/0/0] ip address negotiate
    

    # Configure a network connection mode.

    [RouterA-Cellular2/0/0] mode lte auto
    

    # Bind the APN profile to Cellular2/0/0.

    [RouterA-Cellular2/0/0] dialer enable-circular
    [RouterA-Cellular2/0/0] apn-profile ltenet2
    [RouterA-Cellular2/0/0] shutdown
    [RouterA-Cellular2/0/0] undo shutdown
    [RouterA-Cellular2/0/0] quit

  3. Configure Cellular2/0/0 as the backup interface of Cellular1/0/0.

    [RouterA] interface cellular 1/0/0
    [RouterA-Cellular1/0/0] standby interface cellular 2/0/0
    [RouterA-Cellular1/0/0] quit

  4. Configure C-DCC.

    # Create dialer access 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 C-DCC on Cellular1/0/0.

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

    # Enable C-DCC on Cellular2/0/0.

    [RouterA] interface cellular 2/0/0
    [RouterA-Cellular2/0/0] dialer-group 1
    [RouterA-Cellular2/0/0] dialer timer autodial 60
    [RouterA-Cellular2/0/0] dialer number *98# autodial
    [RouterA-Cellular2/0/0] quit
    

  5. Configure a static route.

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

  6. Verify the configuration.

    # After the configuration is complete, run the display standby state command on the RouterA to check the status of the primary and backup interfaces. The command output shows that Cellular1/0/0 is in Up state and Cellular2/0/0 is in Standby state.

    [RouterA] display standby state
    Interface                  Interfacestate Backupstate Backupflag Pri   Loadstate
    Cellular1/0/0                          UP         MUP       MU            
    Cellular2/0/0                     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 Cellular1/0/0 to simulate a link fault. Run the display standby state command on the RouterA to check the status of the primary and backup interfaces. The command output shows that Cellular1/0/0 is in Down state and Cellular2/0/0 is in Up state, indicating that the backup interface has started.

    [RouterA-Cellular1/0/0] shutdown
    [RouterA-Cellular1/0/0] quit    
    [RouterA] display standby state
    Interface                  Interfacestate Backupstate Backupflag Pri   Loadstate
    Cellular1/0/0                        DOWN      MDOWN          MU        
    Cellular2/0/0                          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 Files

  • Configuration file of RouterA

    #                                                                               
    sysname RouterA    
    #
    apn profile ltenet1
    apn profile ltenet2
    #
    interface Cellular1/0/0          
     dialer enable-circular          
     dialer-group 1                  
     apn-profile ltenet1
     dialer timer autodial 60        
     dialer number *99# autodial     
     stanby interface Cellular2/0/0  
     ip address negotiate        
    #
    interface Cellular2/0/0         
     dialer enable-circular         
     dialer-group 1                 
     apn-profile ltenet2
     dialer timer autodial 60            
     dialer number *98# autodial         
     ip address negotiate       
    #                                                                               
    dialer-rule                                                                     
     dialer-rule 1 ip permit  
    #                                                                               
     ip route-static 0.0.0.0 0.0.0.0 Cellular1/0/0 preference 40                                 
     ip route-static 0.0.0.0 0.0.0.0 Cellular2/0/0 preference 80                       
    #
    return
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069331

Views: 22648

Downloads: 127

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