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

Configuring a Dial-up Network Connection

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. (Optional) 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 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.

    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. Configure C-DCC.
    1. Run interface cellular interface-number

      The 3G cellular interface view is displayed.

    2. Run dialer enable-circular

      C-DCC is enabled.

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

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

      A dialer access group is configured for the dialer interface.

      By default, no DCC dialer ACL or 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.

    4. (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.

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

      The 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.

  5. 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.

    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. 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 a 3G cellular interface.

    When track nqa is specified and the 3G cellular 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.

  7. Run quit

    Return to the system view.

  8. 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: 22828

Downloads: 127

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