How do I configure a 3G interface on an AR router

Publication Date:  2016-11-24 Views:  223 Downloads:  0
Issue Description
How do I configure a 3G interface on an AR router
Solution
When WCDMA is used, the procedure for configuring a 3G interface is as follows:
[Huawei] apn profile 3gprofile  //Create an APN profile.
[Huawei-apn-profile-3gprofile] apn 3GNET
[Huawei-apn-profile-3gprofile] user name 3guser password cipher Password@123 authentication-mode auto
[Huawei-apn-profile-3gprofile] quit
[Huawei] dialer-rule           //Configure a dialer ACL.
[Huawei-dialer-rule] dialer-rule 1 ip permit  
[Huawei-dialer-rule] quit
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] link-protocol ppp
[Huawei-Cellular0/0/0] ip address ppp-negotiate   //Configure an IP address through PPP negotiation.
[Huawei-Cellular0/0/0] ppp ipcp dns request       //Configure a DNS server address through PPP negotiation.
[Huawei-Cellular0/0/0] dialer enable-circular     //Enable C-DCC.
[Huawei-Cellular0/0/0] dialer-group 1       //Associate Cellular0/0/0 to the dialer access group.
[Huawei-Cellular0/0/0] dialer number *99#    //Configure a dialer number for calling the remote end.
[Huawei-Cellular0/0/0] mode wcdma wcdma-precedence   //Configure a network connection mode.
[Huawei-Cellular0/0/0] apn-profile 3gprofile  //Bind the APN profile to the 3G cellular interface.
[Huawei-Cellular0/0/0] shutdown
[Huawei-Cellular0/0/0] undo shutdown
[Huawei-Cellular0/0/0] quit

When CDMA2000 is used, the procedure for configuring a 3G interface is as follows:
[Huawei] dialer-rule    //Configure a dialer ACL.
[Huawei-dialer-rule] dialer-rule 1 ip permit
[Huawei-dialer-rule] quit
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] link-protocol ppp
[Huawei-Cellular0/0/0] ip address ppp-negotiate  //Configure an IP address through PPP negotiation.
[Huawei-Cellular0/0/0] ppp ipcp dns request   //Configure a DNS server address through PPP negotiation.
[Huawei-Cellular0/0/0] dialer enable-circular //Enable C-DCC.
[Huawei-Cellular0/0/0] dialer-group 1     //Associate Cellular0/0/0 to the dialer access group.
[Huawei-Cellular0/0/0] dialer number #777  //Configure a dialer number for calling the remote end.
[Huawei-Cellular0/0/0] mode cdma hybrid    //Configure a network reconnection mode.
[Huawei-Cellular0/0/0] quit

END