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 Connection (Single-APN Scenario)

Configuring a Dial-up Connection (Single-APN Scenario)

Context

The following dial-up modes are available:
  • Automatic dial-up (permanently online)

    A router immediately attempts to dial the remote end after starting. The dialing process is not triggered by data packets. If a connection cannot be established with the remote end, the router retries at an interval.

    This mode applies to users who are not charged based on the traffic or time, for example, users who have subscribed to yearly-package services.

  • On-demand dial-up (connection setup triggered by traffic)

    The device triggers link establishment only when data needs to be transmitted. When the time during which no traffic is transmitted on a link exceeds the timeout interval, the device disconnects the link to reduce the traffic volume.

    This mode applies 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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Create an APN profile.

    NOTE:

    You are advised to create an APN profile to configure an APN. You are not advised to run the profile create profile-number { dynamic | static apn } command in the 3G cellular interface view to configure an APN by creating a 3G modem parameter 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 the apn apn-name command to configure the APN.

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

      NOTE:
      • APNs are provided by the carrier.
      • 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 network 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.

  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. Enable circular DCC (C-DCC).
    1. Run interface cellular interface-number

      The 3G cellular interface view is displayed.

    2. Run ip address negotiate

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

      NOTE:

      The 3G cellular interface does not support the fixed IP address.

    3. Run dialer enable-circular

      C-DCC is enabled.

      By default, C-DCC is disabled on a 3G cellular 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:

      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 RSSI threshold is configured for 3G link establishment.

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

  5. Run dialer number dial-number [ autodial ]

    A dialer number is configured for the device to reach the remote end.

    • 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 a 3G cellular interface.
    1. Run apn-profile profile-name [ track nqa { admin-name test-name } &<1-2> ]

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

      By default, no APN profile is bound to the 3G cellular interface.

      When track nqa is specified and the 3G cellular interface establishes a dial-up connection, the device will use a Network Quality Analysis (NQA) test instance 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 specifies the number of a 3G cellular interface.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069331

Views: 20854

Downloads: 93

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