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).
Configuring a Dial-up Network Connection (Multi-APN Scenario)

Configuring a Dial-up Network Connection (Multi-APN Scenario)

Context

An access point name (APN) identifies an external packet data network (PDN) network (for example, the Internet or IMS network) that users want to access.

You can create an APN profile to configure an APN. In the multi-APN scenario, you need to create two APN profiles and bind the APN profiles respectively to the two 3G channel interfaces formed on the 3G cellular interface. One APN is used to connect to the Internet for data communication, and the other APN is used to connect to the IMS network for VoIP communication.

Repeat Step 3 to Step 7 so that the two APN profiles are configured to connect to different PDNs respectively.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Enable the multi-APN function.
    1. Run interface cellular interface-number

      The 3G cellular interface view is displayed.

    2. Run multi-apn enable

      The multi-APN function is enabled on the 3G cellular interface.

      By default, the multi-APN function is disabled on a 3G cellular interface.

      NOTE:

      Only the K4305 data card among 3G data cards supports multi-APN.

    3. Run quit

      Return to the system view.

  3. (Optional) Configure a dialer ACL.

    NOTE:

    The following procedure is required in on-demand dial-up mode.

    1. Run dialer-rule

      The dialer rule view is displayed.

    2. Run dialer-rule dialer-rule-number { acl { acl-number | name acl-name } | ip { deny | permit } | ipv6 { deny | permit } }

      A dialer ACL is configured to determine DCC call initiating conditions.

    3. Run quit

      Return to the system view.

  4. Create an APN profile.
    1. Run apn profile profile-name

      An APN profile is created and the APN profile view is displayed.

      By default, no APN profile is created.

    2. Run apn apn-name

      The APN is configured.

      By default, no APN is configured in an APN profile.

      NOTE:
      • APNs are provided by the carrier. The two channel ports are not allowed to configure APN with different sim-id.
      • Generally, China Mobile provides the APN CMNET, China Telecom provides the APN CTNET, and China Unicom provides the APN 3GNET.
      • After an APN is configured, it is permanently recorded in the 3G modem. If the APN changes, reconfigure it.

    3. (Optional) Run user name username password { cipher | simple } password [ authentication-mode { auto | pap | chap } ]

      The user name, password, and authentication mode for accessing an external PDN are configured.

      By default, the user name, password, and authentication mode for accessing an external PDN are not configured.

      Contact the carrier when configuring the user name, password, and authentication mode.

      NOTE:

      To match the PAP or CHAP authentication mode of the carrier network, you are advised to configure the auto mode.

    4. Run quit

      Return to the system view.

  5. Configure circular DCC (C-DCC).
    1. Run interface cellular interface-number

      The 3G channel interface view is displayed.

    2. Run ip address negotiate

      The 3G channel interface is configured to obtain an IP address dynamically.

    3. Run dialer enable-circular

      C-DCC is enabled.

      By default, C-DCC is disabled on an interface.

    4. (Optional) Run dialer-group group-number

      A dialer access group is configured for the dialer interface.

      By default, no dialer access group is configured.

      NOTE:

      The following procedure is required in on-demand dial-up mode.

      Ensure that the value of group-number in the dialer-group command is consistent with the value of dialer-rule-number in the dialer-rule command.

    5. (Optional) Configure the interface to accept the DNS server address specified by the remote end.

      Run the following commands as required.

      • Run ppp ipcp dns request

        The device is configured to request a DNS server address from the remote end.

        By default, the device is disabled from requesting a DNS server address from the remote end.

      • Run ppp ipcp dns admit-any

        The device is configured to accept the DNS server address specified by the remote end.

        By default, the device does not accept the DNS server address specified by the remote end.

    6. (Optional) Run rssi-threshold rssi-threshold

      The received signal strength indicator (RSSI) threshold is set for successfully establishing 3G links.

      By default, a 3G data card does not establish a 3G link based on the RSSI threshold.

    7. Run dialer number dial-number [ autodial ]

      A dialer number is configured.

      • If autodial is specified, automatic dial-up is used. Automatic dial-up is applied to users who are not charged based on the traffic or time, for example, users who have subscribed to yearly-package services.
      • If autodial is not specified, on-demand dial-up is used. On-demand dial-up is applied to users who are charged based on the traffic or time. For example, a traffic-package service allows a user to use a certain volume of traffic within a specified period.

      Obtain a dialer number from a carrier.

      Generally, China Mobile provides the dial string *99***1#, China Telecom provides the dial string #777, and China Unicom provides the dial string *99#.

      NOTE:

      When autodial is specified and C-DCC is enabled on the 3G cellular interface, the device will set the DCC automatic dial-up interval to 10 seconds to prevent long automatic dial-up. If the 3G cellular interface is used for dial-up, run the dialer timer autodial command to set the automatic dial-up interval.

  6. Bind the APN profile to the 3G channel interface.
    1. Run apn-profile profile-name [ track nqa { admin-name test-name } &<1-2> ]

      The APN profile is bound to the 3G channel interface.

      By default, no APN profile is bound to a 3G channel interface.

      When track nqa is specified and the 3G channel interface establishes a dial-up connection, the device will use an NQA test to detect the 3G network. If the detection fails for three consecutive times, the device will disconnect the 3G link. You can run the dialer timer probe-interval command to configure the NQA detection interval.

    2. Run quit

      Return to the system view.

  7. Run ip route-static 0.0.0.0 0 cellular interface-number [ preference preference ]

    A default route is configured.

    interface-number indicates the number of a 3G channel interface.

Follow-up Procedure

Because the two APNs share the uplink bandwidth on the 3G cellular interface, QoS is required to schedule APNs for different services. For example, if one APN is used to transmit voice services and the other APN is used to transmit data services, to ensure the quality of voice services, you need to configure QoS on the 3G cellular interface, so that voice services are preferentially scheduled. For details about QoS configuration, see Huawei AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200&AR3600 Series Enterprise Routers Configuration Guide - QoS Configuration.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069331

Views: 21160

Downloads: 95

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