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).
(Optional) Configuring the SMS Alarm Function

(Optional) Configuring the SMS Alarm Function

Context

The device can send short messages to users' mobile phones through SMS.

In the scenario of active/standby interface backup, when the active and standby links are switched, the active/standby interface status changes. If users want to sense the interface status change anytime and anywhere, configure the SMS alarm function on the service interface.

For example, a user connects to the Internet through an ADSL interface (active link) and a cellular interface (standby link). When the active link is faulty and services are switched to the standby link after the SMS alarm function is configured, a short message can be immediately sent to specific users. When the standby link is working properly and services are not switched back to the active link within the specified time, a short message can be sent to specific users again. If services are switched back to the active link within the specified time, no short message needs to be sent again.

Procedure

  1. Configure an SMS service pool.

    An SMS service pool contains the preset SMS services, user phone numbers specified to receive short messages, and short message content.

    1. Run system-view

      The system view is displayed.

    2. Run sms-pool

      The SMS service pool view is displayed.

    3. Run sms item item-id telephone-number tel-number &<1-3> content

      The phone numbers specified to receive short messages, and short message content are configured in the SMS service pool.

      By default, no SMS service is configured in the SMS service pool.

      A maximum of 20 SMS services can be configured in an SMS service pool. Each SMS service can be preset with 3 phone numbers. Each short message can contain at most 160 characters. The short message content is configured to end with %.

    4. Run quit

      Return to the system view.

  2. Configure the SMS alarm function.

    Configure the SMS alarm function, specify the triggering condition for sending short message, and invoke the preset SMS service in the SMS service pool to send specified short messages to specific users.

    1. Run system-view

      The system view is displayed.

    2. Run interface cellular interface-number

      The 3G cellular interface view is displayed.

    3. Run sms send-item item-id track-interface { up | down } [ after time ]

      The preset short message is sent to specific users when the 3G cellular interface status changes.

      By default, the SMS alarm function is not configured on an interface.

      If after time is not configured, a short message is sent immediately when the interface status changes. If after time is configured, a short message is sent only when the interface status changes and remains unchanged within the value of time. This configuration prevents the device from frequently sending short messages when frequent Up/Down status changes occur on an interface.

      NOTE:

      Before running this command, ensure that the SMS service with a specified ID is configured using the sms item command.

      Currently, the SMS alarm function can be configured on interfaces only when cellular, ATM, and serial interfaces are used as the active and standby interfaces.

      This command can be run on each interface at most four times, and the latest configuration does not override the previous ones.

    4. Run sms service-center-address service-center-number

      The SMS center number is configured on the 3G cellular interface.

      By default, no SMS center number is configured on a cellular interface.

Verifying the Configuration

  • Run the display sms send-history command to view records of sent short messages saved in the memory.
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069331

Views: 21380

Downloads: 97

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