Default command level
2: System level
Parameters
all: Deletes all short messages.
sms-id id: Specifies a short message by its ID, in the range of 0 to 255.
Usage guidelines
This command is not supported on SIC-4G-LTE modem embedded routers.
Examples
# Deletes all SMS on interface Cellular 0/0
<Sysname> system-view
[Sysname] interface cellular 0/0
[Sysname-Cellular0/0] sms delete all
sms forward
Use sms forward to configure a short message forwarding rule.
Use undo sms forward to delete the short message forwarding rule.
Syntax
sms forward source-number source-number destination-number destination-number
undo sms forward [ source-number source-number [ destination-number destination-number ] ]
Default
No short message forwarding rule is configured.
Views
Cellular interface view, cellular Ethernet interface view
Default command level
2: System level
Parameters
source-number source-number: Forwards short messages sent from the specified number. The
source-number argument is a character string, which can contain plus sign (+), asterisk (*), pound sign
(#), digits (0 to 9), dot (.), and letter t. The plus sign (+) can appear only at the start of the number and
can appear only once. A number can have up to 21 characters if it starts with a plus sign (+), and can
have up to 20 characters if it starts with another character.
The source number supports fuzzy match. The match rule is as follows:
•
Dot (.) represents a valid number.
Enter a letter t to omit the following characters, which represents all numbers starting with the
•
characters before t. Letter t must have at least one character before it and allows no character after
it. For example, 138t means all numbers starting with 138.
Character combination .t matches any number.
•
Character combination +t is an illegal character string.
•
If the source number contains a country code (for example, +86), you must enter +86 for the
•
source-number argument in the short message forwarding rule. Otherwise, a match failure occurs.
115