NetEngine AR600, AR6100, AR6200, and AR6300 V300R021 Command Reference

Cellular Interface Configuration Commands

Cellular Interface Configuration Commands

Cellular interfaces are classified into 3G cellular interface, LTE cellular interface, and 5G cellular interface.

Cellular channel interfaces are classified into 3G channel interface, LTE channel interface, and 5G channel interface.

Support for Cellular Interfaces

Hardware Requirements

This section is applicable to all models. For details about differences for specific models, see the description in the corresponding section.

apn

Function

The apn command configures an APN in an APN profile.

The undo apn command deletes an APN from an APN profile.

By default, no APN is configured in an APN profile, and an APN profile name is used as an APN during dial-up.

Format

apn apn-name

undo apn

Parameters

Parameter

Description

Value

apn-name

Specifies an APN name.

To obtain an APN, contact the local carrier.

The value is a string of characters that can contain only digits, uppercase letters, lowercase letters, periods (.), and hyphens (-). The length range is as follows:
  • EC25 and RG500Q modems: 1–39
  • EC200T, RG801, and EP06 modems: 1–62
  • Other modems: 1–99

To obtain the modem type, run the display cellular command and check the Model field.

Views

APN profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An APN identifies an external public data network (PDN) that users want to access, for example, the Internet or and International Mobile Subscriber (IMS) network.

You can run the apn command to configure an APN in an APN profile.

Precautions

  • To obtain an APN, contact the local carrier.
  • After an APN is configured, it is recorded in the modem and always exists. If the APN changes, reconfigure it.
  • If you run the apn command multiple times in the same APN profile view, only the latest configuration takes effect.

Example

# Configure the APN 3gnet in an APN profile.

<Huawei> system-view
[Huawei] apn profile 3gprofile
[Huawei-apn-profile-3gprofile] apn 3gnet

apn profile

Function

The apn profile command creates an APN profile and displays the APN profile view.

The undo apn profile command deletes the created APN profile.

By default, no APN profile is created.

Format

apn profile profile-name

undo apn profile profile-name

Parameters

Parameter

Description

Value

profile-name

Specifies the name of the APN profile.

The value is a string of 1 to 64 with numbers, uppercase and lowercase characters and "." and "-".

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can create an APN profile and configure an APN in the profile so that you can access external PDN networks using the configured APN.

If no APN profile is created, the device dynamically configures an APN.

Example

# Configure the APN profile named 3gprofile and enter the APN profile view.

<Huawei> system-view
[Huawei] apn profile 3gprofile
[Huawei-apn-profile-3gprofile] 

apn-profile

Function

The apn-profile command binds an APN profile to a cellular interface or cellular channel interface.

The undo apn-profile command deletes the APN profile bound to a cellular interface or cellular channel interface.

By default, no APN profile is bound to a cellular interface or cellular channel interface.

Format

apn-profile profile-name [ priority priority ] [ track nqa { admin-name test-name } &<1-2> ]

undo apn-profile profile-name

Parameters

Parameter

Description

Value

profile-name

Specifies the name of the APN profile.

The value is a string of 1 to 64 with case-sensitive characters without spaces.

priority priority

Specifies the priority of the APN profile.

The value is an integer that ranges from 1 to 255. The default value is 100.

A larger value indicates a higher priority.

When dual SIM cards are available, two APN profiles can be bound to a cellular interface or LTE/5G channel interface. The APN profile with a higher priority can access the LTE/5G network first. You are advised to set the priority of the APN profile bound to the master SIM card to higher than that of the APN profile bound to the backup SIM card.

track nqa admin-name test-name

Specifies the administrator and name of an NQA test instance.

If this parameter is specified, the device performs an NQA probe on the 3G, LTE or 5G network when the dial-up initiated through a cellular interface or cellular channel interface succeeds. The device terminates the 3G, LTE or 5G link after three consecutive NQA probe failures. Additionally, you can run the dialer timer probe-interval command to set the NQA probe interval.

NOTE:

The NQA test instance type must be ICMP test. To specify this parameter, configure an NQA test instance and ensure that the route from the NQA test instance to the destination is reachable.

The value is a string of 1 to 32 case-sensitive characters without spaces.

Views

Cellular interface view, Cellular channel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After configuring an APN profile, you must bind the APN profile to a cellular interface or cellular channel interface so that the APN profile configuration takes effect on the cellular interface or cellular channel interface.

Prerequisites

Run the dialer enable-circular command to enable the circular DCC (C-DCC) function.

Precautions

After an APN profile is bound to a cellular interface or cellular channel interface, run the shutdown and undo shutdown commands or the restart command to restart the interface so that the configurations can take effect.

Example

# Bind the APN profile 3Gnet to the cellular interface.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] dialer enable-circular
[Huawei-Cellular0/0/0] apn-profile 3Gnet
[Huawei-Cellular0/0/0] shutdown
[Huawei-Cellular0/0/0] undo shutdown

band auto

Function

The band auto command deletes the configured frequency band of the network and then cellular interfaces can automatically select a frequency band to connect to the network.

Format

band auto

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The networks of network carriers can provide multiple frequency bands for user access. To delete the configured frequency band of the network so that cellular interfaces can automatically select a frequency band, run the band auto command.

Precautions

This command is valid only when the modem is installed.

When the network signal is weak, a modem is automatically migrated to another network for normal operation.

Example

# Delete the configured frequency band of the network.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] band auto

band gsm

Function

The band gsm command sets the frequency band of the GSM network that cellular interfaces are connected to.

By default, cellular interfaces automatically select a frequency band to connect to the GSM network.

Format

band gsm { gsm1800 | gsm1900 | gsm850 | gsm900 }*

Parameters

Parameter

Description

Value

gsm1800

Indicates that the GSM network that cellular interfaces are connected to works at the 1800 MHz frequency.

-

gsm1900

Indicates that the GSM network that cellular interfaces are connected to works at the 1900 MHz frequency.

-

gsm850

Indicates that the GSM network that cellular interfaces are connected to works at the 850 MHz frequency.

-

gsm900

Indicates that the GSM network that cellular interfaces are connected to works at the 900 MHz frequency.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

GSM networks of network carriers can provide multiple frequency bands for user access. When the frequency band of a GSM network changes after cellular interfaces are connected to the GSM network, the modem automatically adjusts the frequency band accordingly, which affects stability of links.

When the frequency band of a GSM network that you access is fixed, you can run the band gsm command to set the frequency band of the GSM network that cellular interfaces are connected to. This prevents frequency band changes caused by frequency interference and ensures link stability.

Precautions

This command is valid only when the modem is installed.

5G cellular interfaces do not support this command.

Run the display cellular interface-number network command to view the Current Network Connection field and check whether cellular interfaces are connected to the GSM network.

Confirm the frequency band of the GSM network in your location with the GSM network carrier to set the optimal frequency band.

Example

# Configure the GSM network to which cellular interfaces are connected to work at the 1800 MHz frequency and 900 MHz frequency.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] band gsm gsm1800 gsm900

band wcdma

Function

The band wcdma command sets the frequency band of the WCDMA network that cellular interfaces are connected to.

By default, cellular interfaces automatically select a frequency band to connect to the WCDMA network.

Format

band wcdma { wcdma1900 | wcdma2100 | wcdma850 | wcdma900 | aws | wcdma1700 | wcdma1800 }*

Parameters

Parameter

Description

Value

wcdma1900

Indicates that the WCDMA network that cellular interfaces are connected to works at the 1900 MHz frequency.

-

wcdma2100

Indicates that the WCDMA network that cellular interfaces are connected to works at the 2100 MHz frequency.

-

wcdma850

Indicates that the WCDMA network that cellular interfaces are connected to works at the 850 MHz frequency.

-

wcdma900

Indicates that the WCDMA network that cellular interfaces are connected to works at the 900 MHz frequency.

-

aws

Indicates that the WCDMA network that cellular interfaces are connected to works at the 1700/2100(US) MHz frequency.

-

wcdma1700

Indicates that the WCDMA network that cellular interfaces are connected to works at the 1700 MHz frequency.

-

wcdma1800

Indicates that the WCDMA network that cellular interfaces are connected to works at the 1800 MHz frequency.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

WCDMA networks of network carriers can provide multiple frequency bands for user access. When the frequency band of a WCDMA network changes after cellular interfaces are connected to the WCDMA network, the modem automatically adjusts the frequency band accordingly, which affects stability of links.

When the frequency band of a WCDMA network that you access is fixed, you can run the band wcdma command to set the frequency band of the WCDMA network that cellular interfaces are connected to. This prevents frequency band changes caused by frequency interference and ensures link stability.

Precautions

This command is valid only when the modem is installed.

Run the display cellular interface-number network command to view the Current Network Connection field and check whether cellular interfaces are connected to the WCDMA network.

Confirm the frequency band of the WCDMA network in your location with the WCDMA network carrier to set the optimal frequency band.

Example

# Configure the WCDMA network to which cellular interfaces are connected to work at the 1900 MHz frequency and 900 MHz frequency.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] band wcdma wcdma1900 wcdma900

band lte

Function

The band lte command manually sets the frequency band of the LTE network that cellular interfaces are connected to.

By default, an LTE cellular interface automatically selects the frequency band of the LTE network that is connected to.

Format

band lte { band1 | band2 | band3 | band4 | band5 | band7 | band8 | band12 | band13 | band17 | band18 | band19 | band20 | band26 | band28 | band32 | band34 | band38 | band39 | band40 | band41 }*

Parameters

Parameter

Description

Value

band1

Indicates that the frequency band of the LTE network is Band 1 (transmit: 1920 MHz to 1980 MHz; receive: 2110 MHz to 2170 MHz).

-

band2

Indicates that the frequency band of the LTE network is Band 2 (transmit: 1850 MHz to 1910 MHz; receive: 1930 MHz to 1990 MHz).

-

band3

Indicates that the frequency band of the LTE network is Band 3 (transmit: 1710 MHz to 1785 MHz; receive: 1805 MHz to 1880 MHz).

-

band4

Indicates that the frequency band of the LTE network is Band 4 (transmit: 1710 MHz to 1755 MHz; receive: 2110 MHz to 2155 MHz).

-

band5

Indicates that the frequency band of the LTE network is Band 5 (transmit: 824 MHz to 849 MHz; receive: 869 MHz to 894 MHz).

-

band7

Indicates that the frequency band of the LTE network is Band 7 (transmit: 2500 MHz to 2570 MHz; receive: 2620 MHz to 2690 MHz).

-

band8

Indicates that the frequency band of the LTE network is Band 8 (transmit: 880 MHz to 915 MHz; receive: 925 MHz to 960 MHz).

-

band13

Indicates that the frequency band of the LTE network is Band 13 (transmit: 777 MHz to 787 MHz; receive: 746 MHz to 756 MHz).

-

band17

Indicates that the frequency band of the LTE network is Band 17 (transmit: 704 MHz to 716 MHz; receive: 734 MHz to 746 MHz).

-

band18

Indicates that the frequency band of the LTE network is Band 18 (transmit: 815 MHz to 830 MHz; receive: 860 MHz to 875 MHz).

-

band19

Indicates that the frequency band of the LTE network is Band 19 (transmit: 830 MHz to 845 MHz; receive: 875 MHz to 890 MHz).

-

band20

Indicates that the frequency band of the LTE network is Band 20 (transmit: 832 MHz to 862 MHz; receive: 791 MHz to 821 MHz).

-

band26

Indicates that the frequency band of the LTE network is Band 26 (transmit: 814 MHz to 849 MHz; receive: 859 MHz to 894 MHz).

-

band28

Indicates that the frequency band of the LTE network is Band 28 (transmit: 703 MHz to 748 MHz; receive: 758 MHz to 803 MHz).

-

band34

Indicates that the frequency band of the LTE network ranges from 2010MHz to 2025MHz.

-

band38

Indicates that the frequency band of the LTE network ranges from 2570 MHz to 2620 MHz.

-

band39

Indicates that the frequency band of the LTE network ranges from 1880 MHz to 1920 MHz.

-

band40

Indicates that the frequency band of the LTE network ranges from 2300 MHz to 2400 MHz.

-

band41

Indicates that the frequency band of the LTE network ranges from 2496 MHz to 2690 MHz.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

LTE networks of network carriers can provide multiple frequency bands for user access. When the frequency band of an LTE network changes after cellular interfaces are connected to the LTE network, the LTE modem automatically adjusts the frequency band accordingly, which affects stability of links.

When the frequency band of an LTE network that you access is fixed, you can manually run the band lte command to set the frequency band of the LTE network that cellular interfaces are connected to. This prevents frequency band changes caused by frequency interference and ensures link stability.

Precautions

This command is valid only when the modem is installed.

Run the display cellular interface-number network command to view the Current Network Connection field and check the network of cellular interfaces are connected.

Confirm the frequency band of the LTE network in your location with the LTE network carrier to set the optimal frequency band.

When the modem selects a 2G/3G network, the band lte command configuration fails to be delivered if the command is run on the 1ELTE6-EA and 1ELTE-L-S interface cards.

Example

# Configure the LTE network to which cellular interfaces are connected to work at the Band 1 frequency.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] band lte band1

band nr

Function

The band nr command sets the frequency band in which a cellular interface connected to the NR network operates.

By default, LTE cellular interfaces automatically select a frequency band to connect to the NR network.

Format

band nr { n1 | n3 | n28 | n41 | n77 | n78 | n79 } *

Parameters

Parameter

Description

Value

n1

Sets the frequency band in which a cellular interface connected to the NR network operates to n1 (the transmit band is 1920 MHz to 1980 MHz and the receive band is 2110 MHz to 2170 MHz).

-

n3

Sets the frequency band in which a cellular interface connected to the NR network operates to n3 (the transmit band is 1710 MHz to 1785 MHz and the receive band is 1805 MHz to 1880 MHz).

-

n28

Sets the frequency band in which a cellular interface connected to the NR network operates to n28 (the transmit band is 703 MHz to 748 MHz and the receive band is 758 MHz to 803 MHz).

-

n41

Sets the frequency band in which a cellular interface connected to the NR network operates to 2496 MHz to 2690 MHz.

-

n77

Sets the frequency band in which a cellular interface connected to the NR network operates to 3300 MHz to 4200 MHz.

-

n78

Sets the frequency band in which a cellular interface connected to the NR network operates to 3300 MHz to 3800 MHz.

-

n79

Sets the frequency band in which a cellular interface connected to the NR network operates to 4400 MHz to 5000 MHz.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The 5G networks of carriers can provide multiple types of frequency bands for user access. When cellular interfaces connect to an NR network and the frequency band of the NR network changes, the modem automatically adjusts its operating frequency band to adapt to the changing network environment, which affects link stability.

Precautions

This command is valid only when a modem is installed.

Run the display cellular interface-number network command to check whether the cellular interface is connected to a 5G network according to the Current Network Connection field.

Example

# Set the frequency band in which a cellular interface connected to the NR network operates to n78.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] band nr n78

cellular log enable

Function

The cellular log enable command enables the WWAN log function.

The undo cellular log enable command disables the WWAN log function.

By default, the WWAN log function is enabled.

Format

cellular log enable

undo cellular log enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To view changes of the signal strength, cell ID, or network type in WWAN logs, you can run the cellular log enable command to enable the WWAN log function.

Example

# Disable the WWAN log function.
<Huawei> system-view
[Huawei] undo cellular log enable

cellular log rssi-threshold

Function

The cellular log rssi-threshold command configures the received signal strength indicator (RSSI) threshold used for determining the 3G or LTE signal strength.

The undo cellular log rssi-threshold command restores the RSSI threshold used for determining the 3G or LTE signal strength to the default value.

By default, the RSSI threshold used for determining the 3G or LTE signal strength is -89 dBm.

Format

cellular log rssi-threshold rssi-threshold

undo cellular log rssi-threshold

Parameters

Parameter

Description

Value

rssi-threshold

Specifies the RSSI threshold used for determining the 3G or LTE signal strength.

  • If the strength of received 3G or LTE signals is greater than the RSSI threshold 10 consecutive times, and the signal strength becomes normal, the device records the WWAN/5/WWAN_RSSI_NORMAL log.

  • If the strength of received 3G or LTE signals is not greater than the RSSI threshold 10 consecutive times, and the signal strength becomes weak, the device records the WWAN/5/WWAN_RSSI_WEAK log.

The value is a negative integer that ranges from -110 to -60, in dBm.

Views

System View

Default Level

2: Configuration Level

Usage Guidelines

Usage Scenario

You can run the cellular log enable command to enable the WWAN log function and view the 3G or LTE signal strength change in WWAN logs. You can run the cellular log rssi-threshold command to configure the RSSI threshold used for determining the 3G or LTE signal strength. The device records the signal strength change in logs based on the RSSI threshold.

Precautions

After enabling the WWAN log function using the cellular log enable command, run the cellular log rssi-threshold command to configure the device to record logs based on the configured RSSI threshold.

Example

# Set the RSSI threshold of the 3G or LTE signal strength to -80 dBm.

<Huawei> system-view
[Huawei] cellular log enable
[Huawei] cellular log rssi-threshold 80

cellular log sinr-threshold

Function

The cellular log sinr-threshold command sets the signal to interference plus noise ratio (SINR) threshold used to determine the LTE signal strength.

The undo cellular log sinr-threshold command restores the default SINR threshold used to determine the LTE signal strength.

By default, the SINR threshold used to determine the LTE signal strength is 10 dB.

Format

cellular log sinr-threshold sinr-threshold

undo cellular log sinr-threshold

Parameters

Parameter

Description

Value

sinr-threshold

Sets the SINR threshold used to determine the LTE signal strength.

  • If the strength of received LTE signals is greater than the SINR threshold 10 consecutive times, and the signal strength becomes normal, the device records the WWAN/5/WWAN_SINR_NORMAL log.

  • If the strength of received LTE signals is not greater than the SINR threshold 10 consecutive times, and the signal strength becomes weak, the device records the WWAN/5/WWAN_SINR_WEAK log.

The value is an integer that ranges from 0 to 30, in dB.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To check the LTE signal strength change in logs, run the cellular log enable command to enable the WWAN log function first. You can then run the cellular log sinr-threshold command to set the SINR threshold used to determine the LTE signal strength. The device then records signal strength change logs based on the configured threshold.

Precautions

After the WWAN log function is enabled using the cellular log enable command, the device records logs based on the SINR threshold configured using the cellular log sinr-threshold command.

Example

# Set the SINR threshold used to determine the LTE signal strength to 15 dB.

<Huawei> system-view
[Huawei] cellular log enable
[Huawei] cellular log sinr-threshold 15

cellular log rsrp-threshold

Function

The cellular log rsrp-threshold command configures the reference signal received power (RSRP) threshold for determining the LTE signal strength.

The undo cellular log rsrp-threshold command restores the default RSRP threshold for determining the LTE signal strength.

The default RSRP threshold for determining the LTE signal strength is –125 dBm.

Format

cellular log rsrp-threshold rsrp-threshold

undo cellular log rsrp-threshold

Parameters

Parameter

Description

Value

rsrp-threshold

Specifies the RSRP threshold for determining the LTE signal strength.

  • If the received signal strength is greater than the RSRP threshold for 10 consecutive times and the signal strength becomes normal, the WWAN/5/WWAN_RSRP_NORMAL log is generated.

  • If the received signal strength is not greater than the RSRP threshold for 10 consecutive times and the signal strength becomes weak, the WWAN/5/WWAN_RSRP_WEAK log is generated.

The value is an integer that ranges from –136 to –80, in dBm.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To view the LTE signal strength change through logs, run the cellular log enable command to enable the WWAN log function. You can run the cellular log rsrp-threshold command to configure the RSRP threshold for determining the LTE signal strength. Logs about signal strength changes are then generated based on the threshold.

Precautions

After the WWAN log function is enabled using the cellular log enable command, logs are generated based on the configured threshold only after the cellular log rsrp-threshold command is run.

Example

# Set the RSRP threshold for determining the LTE signal strength to –80 dBm.

<Huawei> system-view
[Huawei] cellular log enable
[Huawei] cellular log rsrp-threshold 80

cellular log nr-sinr-threshold

Function

The cellular log nr-sinr-threshold command sets the signal to interference plus noise ratio (SINR) threshold used to determine the NR signal strength.

The undo cellular log nr-sinr-threshold command restores the default SINR threshold used to determine the NR signal strength.

By default, the SINR threshold used to determine the NR signal strength is 10 dB.

Format

cellular log nr-sinr-threshold sinr-threshold

undo cellular log nr-sinr-threshold

Parameters

Parameter

Description

Value

sinr-threshold

Sets the SINR threshold used to determine the NR signal strength.

  • If the strength of received NR signals is greater than the SINR threshold 10 consecutive times, and the signal strength becomes normal, the device records the WWAN/5/WWAN_NR_SINR_NORMAL log.

  • If the strength of received NR signals is not greater than the SINR threshold 10 consecutive times, and the signal strength becomes weak, the device records the WWAN/5/WWAN_NR_SINR_WEAK log.

The value is an integer that ranges from 0 to 30, in dB.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To check the NR signal strength change in logs, run the cellular log enable command to enable the WWAN log function first. You can then run the cellular log nr-sinr-threshold command to set the SINR threshold used to determine the NR signal strength. The device then records signal strength change logs based on the configured threshold.

Precautions

After the WWAN log function is enabled using the cellular log enable command, the device records logs based on the SINR threshold configured using the cellular log nr-sinr-threshold command.

Example

# Set the SINR threshold used to determine the NR signal strength to 15 dB.

<Huawei> system-view
[Huawei] cellular log enable
[Huawei] cellular log nr-sinr-threshold 15

cellular log nr-rsrp-threshold

Function

The cellular log nr-rsrp-threshold command configures the reference signal received power (RSRP) threshold for determining the NR signal strength.

The undo cellular log nr-rsrp-threshold command restores the default RSRP threshold for determining the NR signal strength.

The default RSRP threshold for determining the NR signal strength is –125 dBm.

Format

cellular log nr-rsrp-threshold rsrp-threshold

undo cellular log nr-rsrp-threshold

Parameters

Parameter

Description

Value

rsrp-threshold

Specifies the RSRP threshold for determining the NR signal strength.

  • If the received signal strength is greater than the RSRP threshold for 10 consecutive times and the signal strength becomes normal, the WWAN/5/WWAN_NR_RSRP_NORMAL log is generated.

  • If the received signal strength is not greater than the RSRP threshold for 10 consecutive times and the signal strength becomes weak, the WWAN/5/WWAN_NR_RSRP_WEAK log is generated.

The value is an integer that ranges from –136 to –80, in dBm.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To view the NR signal strength change through logs, run the cellular log enable command to enable the WWAN log function. You can run the cellular log nr-rsrp-threshold command to configure the RSRP threshold for determining the NR signal strength. Logs about signal strength changes are then generated based on the threshold.

Precautions

After the WWAN log function is enabled using the cellular log enable command, logs are generated based on the configured threshold only after the cellular log nr-rsrp-threshold command is run.

Example

# Set the RSRP threshold for determining the NR signal strength to –80 dBm.

<Huawei> system-view
[Huawei] cellular log enable
[Huawei] cellular log nr-rsrp-threshold 80

dialer mode ppp

Function

The dialer mode ppp command configures the PPP dial-up mode for the LTE modem to connect to a 3G or an LTE network.

The undo dialer mode command restores the default dial-up mode for the LTE modem to connect to a 3G or an LTE network.

By default, the LTE modem uses the standard interface defined in the network diver interface specification to connect to a 3G or an LTE network.

Only AR617VW-LTE4EA, AR617VW-LTE4, support this function.

Format

dialer mode ppp

undo dialer mode

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the LTE modem uses the standard interface defined in the network diver interface specification to connect to a 3G or an LTE network. If the carrier's device only supports the PPP dial-up mode for 3G/LTE network access, you must run the dialer mode ppp command to set the dial-up mode to PPP.

Example

# Configure the PPP dial-up mode for the LTE modem to connect to a 3G or an LTE network.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] dialer mode ppp
Warning: The module will reboot. Continue? [Y/N]:y
Modem reboot for changing modem dialer mode
May 20 2020 17:41:04+00:00 Huawei %%01IFPDT/4/MODEM_REBOOT(1)[23]:The user choose YES when there is a selection about whether to reboot modem.

dialer-number (APN view)

Function

The dialer-number command configures a dial number for calling the remote end for an APN.

The undo dialer-number command deletes a dial number configured for calling the remote end.

By default, no dial number for calling the remote end is configured.

Format

dialer-number dial-number

undo dialer-number dial-number

Parameters

Parameter

Description

Value

dial-number

Specifies a dial number.

The value is a string of 1 to 32 case-insensitive characters.

Views

APN profile view

Default Level

2: Configuration level

Usage Guidelines

When the device performs dial-up and an APN needs to call a destination address, run this command to configure a dial number.

Example

# Create a dial number for an APN.

<Huawei> system-view
[Huawei] apn profile me906
[Huawei-apn profile me906] dialer-number *99#

dialer timer probe-interval

Function

The dialer timer probe-interval command sets the NQA probe interval for a cellular interface or cellular channel interface.

The undo dialer timer probe-interval command restores the default NQA probe interval.

By default, the NQA probe interval of a cellular interface or cellular channel interface is 60 seconds.

Format

dialer timer probe-interval interval

undo dialer timer probe-interval

Parameters

Parameter

Description

Value

interval

Specifies the NQA probe interval for a cellular interface or cellular channel interface.

The value is an integer that ranges from 1 to 60, in seconds.

Views

Cellular interface view, Cellular channel interface view

Default Level

2: Configuration level

Usage Guidelines

You are advised to set the NQA probe interval to be the same as the interval for automatically performing an NQA test instance. The later interval is set using the frequency command.

Example

# Set the NQA probe interval of a cellular interface to 50 seconds.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] dialer enable-circular
[Huawei-Cellular0/0/0] dialer timer probe-interval 50

display apn-profile configuration

Function

The display apn-profile configuration command displays the APN profile configuration.

Format

display apn-profile configuration [ apn-profile-number ]

Parameters

Parameter

Description

Value

apn-profile-number

Specifies the number of APN profiles.

  • If this parameter is specified, the APN profile configuration is displayed according to the sequence in which the APN profiles are configured.

  • If this parameter is not specified, the configurations of all APN profiles are displayed.

The value is an integer that ranges from 1 to 128.

Views

All views

Default Level

2: Configuration level

Usage Guidelines

To check the configurations of existing APN profiles on the device, run this command.

Example

# Display the configurations of all APN profiles on the device.

<Huawei> display apn-profile configuration
--------------------------------------------------------------------------------
profile-name       :unicom                                                          
apn                :ltenet1                                                         
user-name          :user1                                                         
authentication-mode:chap                                                        
sim-id             :1  
--------------------------------------------------------------------------------
profile-name       :telcom                                                        
apn                :ltenet2                                
user-name          :user2                                                         
authentication-mode:auto  
sim-id             :2  
Table 6-34 Description of the display apn-profile configuration command output

Item

Description

profile-name

Name of an APN profile.

To create an APN profile and enter the APN profile view, run the apn profile command.

apn

Name of an APN.

To configure an APN in an APN profile, run the apn command.

user-name

User name for accessing an external PDN.

To configure the user name for accessing an external PDN, run the user command.

authentication-mode

Authentication mode for accessing an external PDN.

  • auto: PAP or CHAP authentication
  • pap: PAP authentication
  • chap: CHAP authentication
  • null: none authentication

To configure the authentication mode for accessing an external PDN, run the user command and specify the authentication-mode parameter.

When authentication-mode is not specified:

null is selected by default.

auto is selected by default.

sim-id

SIM card ID.

To configure a SIM card ID in an APN profile, run the sim-id command.

NOTE:

The dual-SIM function can be configured on the AR611W-LTE4CN, AR617VW-LTE4, AR617VW-LTE4EA, LTE interface card (except 1LTE-Lo and 1LTE6-EA), SIC-5G-100, and LTE cellular interface (Cellular 0/0/0).

diagnostics-monitor-port on

Function

The diagnostics-monitor-port on command enables the MiniUSB interface on the 3G/LTE card.

The undo diagnostics-monitor-port on command disables the MiniUSB interface on the 3G/LTE card.

By default, the MiniUSB interface on the 3G/LTE card is disabled.

Format

diagnostics-monitor-port on

undo diagnostics-monitor-port on

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the diagnostics-monitor-port on command enables the MiniUSB interface on the 3G/LTE card, you can use the PC to implement Internet access through dialup or upgrade the module. The PC can connect to the MiniUSB interface on the 3G/LTE card through the USB line.

Precautions

  • The original 3G/LTE service is interrupted after the diagnostics-monitor-port on command is run.

  • The firmware version of the modem cannot be upgraded after the diagnostics-monitor-port on command is run.

  • If the device or 3G/LTE card is reset, the diagnostics-monitor-port on command cannot take effect. You must reconfigure the command.
  • The diagnostics-monitor-port on command takes effect only when there is a MiniUSB interface on the 3G/LTE card.

Example

# Enable the MiniUSB interface on the 3G/LTE card.

<Huawei> system-view
[Huawei] interface cellular 1/0/0
[Huawei-Cellular1/0/0] diagnostics-monitor-port on

display cellular

Function

The display cellular command displays information about call sessions on a modem.

Format

display cellular interface-number { all | hardware | security | network | profile | radio }

Parameters

Parameter

Description

Value

interface-number

Specifies the number of a cellular interface or cellular channel interface.

-

all

Displays all information about call sessions on a modem. The information involves hardware, parameter description profile, network, radio, and security information.

-

hardware

Displays hardware information about the modem.

-

security

Displays security information about the modem.

-

network

Displays network information about the modem.

-

profile

Displays parameter profile information about the modem.

-

radio

Displays radio information about the modem.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display cellular command displays information about call sessions on a modem, including the modem's hardware information, parameter profile information, network information, radio information, security information or all the preceding information.

Example

# Display all information about call sessions (connected to the LTE network) on an LTE modem.
<Huawei> display cellular 0/0/0 all
Modem State:                                                                    
Hardware Information.                                                           
=====================                                                           
Model = ME906E                                                                    
Modem Type = LTE module
Modem Firmware Version =  11.833.15.00.000                                      
Hardware Version = CD2E392UM                                                  
Integrate circuit card identity (ICCID) = 98681011274300909893                
International Mobile Subscriber Identity (IMSI) = 460016002731442               
Mobile Station International ISDN Number (MSISDN) = 86013987654321  
International Mobile Equipment Identity (IMEI) = 861230010006485                
Factory Serial Number (FSN) = T2Y01A9211900298                                  
Modem Status = Online                                                           
Profile Information.                                                            
====================                                                            
Profile 1                                                              
--------                                                                        
PDP Type = IPv4, Header Compression = OFF                                       
Data Compression = OFF                                                          
Access Point Name (APN) = LTENET                                                
Packet Session Status = Active                                                
* - Default profile                                                             
Network Information.                                                            
====================                                                            
Current Service Status = Service available                                      
Service Domain = Combined
Current Service = Combined                                                      
Packet Service = Attached                                                       
Packet Session Status = Active                                                
Current Roaming Status = Home                                                   
Network Selection Mode = Automatic                                              
Network Connection Mode =  LTE only                                              
Current Network Connection = LTE(LTE)                                       
Mobile Country Code (MCC) = 460                                                 
Mobile Network Code (MNC) = 07                                                  
Mobile Operator Information = CHINA  MOBILE                                       
Cell ID = 55924                                                                 
Upstream Bandwidth = 50mbps                                                    
Downstream Bandwidth = 100mbps                                                  
Radio Information.                                                              
==================                                                              
Current Bands :
  GSM: GSM1800                      
  WCDMA: AUTO                       
  LTE: AUTO   
Current RSSI = -55 dBm                                                          
Current RSRP = -86 dBm                                                          
Current RSRQ = -6 dB                                                            
Current SINR = 29 dB (good)   
Bands supported :                                
  GSM: GSM850 GSM900 GSM1800 GSM1900             
  WCDMA: WCDMA850 WCDMA900 WCDMA2100 WCDMA1900   
  LTE: LTE900 LTE2100       
Modem Security Information.                                                     
===========================                                                     
SIM ID=1
PIN Verification = Disabled                                                     
PIN Status = Ready                                                              
Number of Retries remaining = 3                                                 
SIM Status = OK             
# Display all information about call sessions (connected to the WCDMA network) on an LTE modem.
<Huawei> display cellular 0/0/0 all
Modem State:                                                                    
Hardware Information.                                                           
=====================                                                           
Model = ME906E                                                                    
Modem Type = LTE module
Modem Firmware Version =  11.833.15.00.000                                      
Hardware Version = CD2E392UM                                                  
Integrate circuit card identity (ICCID) = 98681011274300909893                
International Mobile Subscriber Identity (IMSI) = 460016002731442               
Mobile Station International ISDN Number (MSISDN) = 86013987654321  
International Mobile Equipment Identity (IMEI) = 861230010006485                
Factory Serial Number (FSN) = T2Y01A9211900298                                  
Modem Status = Online                                                           
Profile Information.                                                            
====================                                                            
Profile 1                                                              
--------                                                                        
PDP Type = IPv4, Header Compression = OFF                                       
Data Compression = OFF                                                          
Access Point Name (APN) = LTENET                                                
Packet Session Status = Active                                                
* - Default profile                                                             
Network Information.                                                            
====================                                                            
Current Service Status = Service available                                      
Service Domain = PS-only
Current Service =  PS                                                        
Packet Service = Attached                                                       
Packet Session Status = Active                                                
Current Roaming Status = Home                                                   
Network Selection Mode = Automatic                                              
Network Connection Mode = WCDMA only                                              
Current Network Connection = WCDMA(WCDMA)                                        
Mobile Country Code (MCC) = 460                                                 
Mobile Network Code (MNC) = 07                                                  
Mobile Operator Information = CHINA  MOBILE                                        
Location Area Code (LAC) = 53515                                                
Cell ID = 55924                                                                 
Upstream Bandwidth = 384kbps                                                      
Downstream Bandwidth = 384kbps                                                   
Radio Information.                                                              
==================                                                              
Current Bands :
  GSM: GSM1800                      
  WCDMA: AUTO                       
  LTE: AUTO   
Current RSSI = -55 dBm (good)                                                          
Current RSCP = -47 dBm                                                          
Current ECIO = 0 dB 
Bands supported :                                
  GSM: GSM850 GSM900 GSM1800 GSM1900             
  WCDMA: WCDMA850 WCDMA900 WCDMA2100 WCDMA1900   
  LTE: LTE900 LTE2100       
Modem Security Information.                                                     
===========================                                                     
SIM ID=1
PIN Verification = Disabled                                                     
PIN Status = Ready                                                              
Number of Retries remaining = 3                                                 
SIM Status = OK             

# Display all information about call sessions on a 5G modem.

<Huawei> display cellular 2/0/0 all
Modem State:                                                                                                                        
Hardware Information.                                                                                                               
=====================                                                                                                               
Model = RG801                                                                                                                       
Modem Type = 5G module                                                                                                              
Modem Firmware Version = RG801HEAAAR01A06M8G                                                                                        
Hardware Version = HiB5000_MODEM Ver.A                                                                                              
Integrate circuit card identity (ICCID) = 98681020100202000079                                                                      
International Mobile Subscriber Identity (IMSI) = 460070075591997                                                                   
Mobile Station International ISDN Number (MSISDN) = None                                                                            
International Mobile Equipment Identity (IMEI) = 867147050004622                                                                    
Factory Serial Number (FSN) = 0123456789ABCDEF                                                                                      
Modem Status = Online                                                                                                               
Profile Information.                                                                                                                
====================                                                                                                                
Profile 1                                                                                                                           
--------                                                                                                                            
PDP Type = IPv4, Header Compression = OFF                                                                                           
Data Compression = OFF                                                                                                              
Packet Session Status = Active                                                                                                      
* - Default profile                                                                                                                 
Network Information.                                                                                                                
====================                                                                                                                
Current Service Status = Service available                                                                                          
Service Domain = Combined                                                                                                           
Current Service = PS                                                                                                                
Packet Service = Attached                                                                                                           
Packet Session Status = Active                                                                                                      
Current Roaming Status = Roaming                                                                                                    
Network Selection                                                                                                                   
--IPOP Time:2020/9/25_0:48:36--                                                                                                     
 Mode = Automatic                                                                                                                   
Network Connection Mode = Automatic                                                                                                 
Current Network Connection = 5G(NSA)                                                                                                
Mobile Country Code (MCC) = 369                                                                                                     
Mobile Network Code (MNC) = 77                                                                                                      
Mobile Operator Information = Unknown                                                                                               
Tracking Area Code (TAC) = 1002                                                                                                     
Cell ID = 9881858                                                                                                                   
Radio Information.                                                                                                                  
==================                                                                                                                  
Current Bands :                                                                                                                     
  WCDMA: AUTO                                                                                                                       
  LTE: B3                                                                                                                           
  NR: AUTO                                                                                                                          
LTE:                                                                                                                                
Current Band = B3                                                                                                                   
Current RSSI = -54 dBm                                                                                                              
Current RSRP = -84 dBm (strong)                                                                                                     
Current RSRQ = -10 dB                                                                                                               
Current SINR = 20 dB                                                                                                                
NR:                                                                                                                                 
Current Band = N77                                                                                                                  
Current RSRP = -72 dBm (strong)                                                                                                     
Current RSRQ = -10 dB                                                                                                               
Current SINR = 35 dB                                                                                                                
Bands supported :                                                                                                                   
  WCDMA: WCDMA850 WCDMA900 WCDMA2100                                                                                                
  FDD LTE: B1 B3 B5 B7 B8 B20 B28                                                                                                   
  TDD LTE: B34 B38 B39 B40 B41                                                                                                      
  FDD NR: N1 N3 N28                                                                                                                 
  TDD NR: N41 N77 N78 N79   
Modem Security Information.                                                                                                         
===========================                                                                                                         
SIM ID = 1                                                                                                                          
PIN Verification = Disabled                                                                                                         
PIN Status = Ready                                                                                                                  
Number of Retries remaining = 3                                                                                                     
# Display network information about a modem.
<Huawei> display cellular 0/0/0 network
Modem State:                                                                    
Network Information.                                                            
====================                                                            
Current Service Status = Service available                                      
Service Domain = Combined
Current Service = Combined                                                      
Packet Service = Attached                                                       
Packet Session Status = Inactive                                                
Current Roaming Status = Home                                                   
Network Selection Mode = Automatic                                              
Network Connection Mode = WCDMA precedence                                      
Current Network Connection = WCDMA(WCDMA)                                       
Last Network Connection Capabicity = WCDMA
Mobile Country Code (MCC) = 460                                                 
Mobile Network Code (MNC) = 01                                                  
Mobile Operator Information = CHN-UNICOM                                        
Location Area Code (LAC) = 53515                                                
Cell ID = 55924                                                                 
Upstream Bandwidth = 384kbps                                                    
Downstream Bandwidth = 384kbps   
Table 6-35 Description of the display cellular command output

Item

Description

Modem State

Status of the modem.

Hardware Information

Information about the modem hardware.

Model

Model of the modem.

Modem Type

Modular type of the modem.

The displayed modular type consists of the modular standard type and modular physical type. The modular standard types are as follows:
  • WCDMA: indicates the WCDMA standard.
  • LTE: indicates the LTE standard.
  • 5G: indicates the 5G modem.

Modem Firmware Version

Firmware version of the modem.

Hardware Version

Hardware version of the modem.

Integrate circuit card identity (ICCID)

Integrate circuit card identity of the modem.

International Mobile Subscriber Identity (IMSI)

International Mobile Subscriber Identity (IMSI) allocated to the user.

Mobile Station International ISDN Number (MSISDN)

Mobile Station International ISDN Number (MSISDN).

International Mobile Equipment Identity (IMEI)

International Mobile Equipment Identity (IMEI) of the modem.

Factory Serial Number (FSN)

Factory serial number (FSN) of the modem.

Modem Status

Whether the modem is online:

  • Online: indicates that the modem is online.
  • Offline: indicates that the modem is offline.

Profile Information

Information about the parameter profile configured for the modem.

Profile 1/Profile 2

Status of profile 1 or profile 2.

PDP Type

Packet data protocol (PDP) type:

  • IPv4: indicates IPv4 packets.
  • PPP: indicates PPP packets.

Header Compression

Whether IP header compression is enabled:

  • On: IP header compression is enabled.
  • OFF: IP header compression is disabled.

Data Compression

Whether IP packet data compression is enabled:

  • On: IP packet data compression is enabled.
  • OFF: IP packet data compression is disabled.

Access Point Name (APN)

APN that the carrier allocated to the modem.

To set an APN, run the apn command in the APN profile view.

Packet Session Status

Session status:

  • Active: indicates that data is transmitted properly.
  • Inactive: indicates that data transmission is interrupted.

Default profile

Default parameter profile, profile 1.

Network Information

Information about the network connected to the modem.

Current Service Status

Service status of the modem:

  • Service available: The modem is providing services.
  • No service: No service is available on the modem.
  • Emergency: The modem provides services only for emergency use.
  • Region emergency: The modem provides services only for emergency use in a region.
  • Saving status: The modem is working in power-saving mode.

Service Domain

Configured PS or CS domain:
  • PS-only: The modem works only in the PS domain.
  • Combined: The modem works in both the CS domain and PS domain.

This parameter can be configured using the service domain command.

Current Service

Service type:

  • CS: Only the circuit switching (CS) service is available.
  • PS: Only the packet switching (PS) service is available.
  • Combined: Both the PS and CS services are available.
  • Invalid: Neither the CS service nor the PS service has been registered.
NOTE:

The 1ELTE6-EA and 1ELTE-L-S interface cards do not support the query of this parameter.

Packet Service

Relationship between the modem and the PS domain:

  • Attached: The modem is attached to the PS domain.
  • Detached: The modem is detached from the PS domain.

Current Roaming Status

Roaming status of the user:

  • Home: The user is in the home location.
  • Roaming: The user is roaming.

Network Selection Mode

Method used to select a public land mobile network (PLMN):

  • Automatic: indicates automatic network selection.
  • Manual: indicates manual network selection.

This parameter can be configured using the plmn select command.

Network Connection Mode

A 3G modem selects the WCDMA network connection mode, an LTE modem selects the LTE network connection mode, or a 5G modem selects the 5G network connection mode.

The following connection modes are available for a WCDMA network:

  • GSM only: Only the GSM mode can be used.
  • GSM precedence: The GSM mode is used preferentially.
  • WCDMA only: Only the WCDMA mode can be used.
  • WCDMA precedence: The WCDMA mode is used preferentially.

This parameter can be configured using the mode wcdma command.

The following connection modes are available for an LTE network:
  • Automatic: indicates that the LTE modem automatically selects a network.
  • GSM only: indicates that the LTE modem can only select the GSM network.
  • WCDMA only: indicates that the LTE modem can only select the WCDMA network.
  • LTE only: indicates that the LTE modem can only select the LTE network.
  • UMTS only: indicates that the LTE modem selects the WCDMA or TD-SCDMA network.
  • WCDMA-GSM: indicates that the LTE modem selects the WCDMA or GSM network. The WCDMA mode is used preferentially.
  • UMTS-GSM: indicates that the LTE modem selects the UMTS or GSM network. The UMTS mode is used preferentially.

This parameter can be configured using the mode lte command.

The following connection modes are available for a 5G network:
  • Automatic: indicates that a modem automatically selects a network.
  • WCDMA only: indicates that a modem can only select the WCDMA network.
  • LTE only: indicates that a modem can only select the LTE network.
  • NR only: indicates that a modem can only select the NR network.
  • LTE-WCDMA: indicates that a modem connects to an LTE and WCDMA combined network. A modem first connects to an LTE network.
  • LTE-NR: indicates that a modem can only connect to an LTE and NR network.

    A modem first connects to an LTE network. Then the 5G module determines whether there is an NR on the LTE network. If so, the modem connects to the NR, forming a 5G NSA network. If not, the modem still connects to the LTE network.

  • NR-LTE: indicates that a modem can only connect to an NR and LTE network.

    A modem first connects to an NR. If an SA network is available, the modem is connected to the 5G SA network. Otherwise, the modem connects to an LTE network to form a 5G NSA network after the 5G module finds that there is an NR on the LTE network. If there is no NR on the LTE network, the modem still connects to the LTE network.

This parameter can be configured using the mode 5g command.

Current Network Connection

Type of the network connected to the modem.

Last Network Connection Capabicity

Last optimal network connection status.

Mobile Country Code (MCC)

Mobile country code of the network.

This parameter can be configured using the plmn select command.

Mobile Network Code (MNC)

Mobile network code of the network.

This parameter can be configured using the plmn select command.

Mobile Operator Information

Carrier information.

Location Area Code (LAC)

Location area code of the network.

Cell ID

Cell ID of the network.

Upstream Bandwidth

Upstream bandwidth of the modem.

Downstream Bandwidth

Downstream bandwidth of the modem.

Radio Information

Information about the radio used by the modem.

Current Bands

Frequency band used by the modem.

The option AUTO indicates that the modem automatically selects the frequency band of the carrier network to be connected to.

To set the frequency band, run the band gsm, band wcdma, band lte, or band nr command.

Current RSSI

Received signal strength indicator.

On a WCDMA network, the relationship between the signal strength and RSSI is as follows:
  • good: The RSSI is higher than or equal to -70 dBm.
  • normal: The RSSI is higher than -85 dBm and lower than -70 dBm.
  • weak: The RSSI is higher than -113 dBm and lower than or equal to -85 dBm.
  • no service: The RSSI is lower than or equal to -113 dBm.
On a CDMA2000 network, the relationship between the signal strength and RSSI is as follows:
  • good: The RSSI is higher than or equal to -80 dBm.
  • normal: The RSSI is higher than -90 dBm and lower than -80 dBm.
  • weak: The RSSI is higher than -125 dBm and lower than or equal to -90 dBm.
  • no service: The RSSI is lower than or equal to -125 dBm.

Current RSRP

Reference signal received power.

The relationship between the signal strength and RSRP is as follows:

  • strong: The RSRP is higher than or equal to -97 dBm.
  • good: The RSRP is higher than -105 dBm and lower than or equal to -97 dBm.
  • normal: The RSRP is higher than -110 dBm and lower than or equal to -105 dBm.
  • slow: The RSRP is higher than -115 dBm and lower than or equal to -110 dBm.
  • weak: The RSRP is higher than -120 dBm and lower than or equal to -115 dBm.
  • no service: The RSRP is lower than or equal to -120 dBm.

Current RSRQ

Reference signal received quality.

Current SINR

Signal to interference plus noise ratio.

By default, the SINR threshold is used for the LTE signal strength. The relationship between the signal strength and SINR is as follows:
  • good: The SINR is higher than or equal to 15 dB.
  • normal: The SINR is higher than 10 dB and lower than 15 dB.
  • weak: The SINR is lower than or equal to 10 dB and is higher than or equal to -20 dB.
  • no service: The SINR is lower than -20 dB.

Current RSCP

Received signal code power.

The relationship between the signal strength and RSCP is as follows:

  • strong: The RSRP is higher than or equal to -87 dBm.
  • good: The RSRP is higher than -93 dBm and lower than or equal to -87 dBm.
  • normal: The RSRP is higher than -99 dBm and lower than or equal to -93 dBm.
  • slow: The RSRP is higher than -105 dBm and lower than or equal to -99 dBm.
  • weak: The RSRP is higher than -112 dBm and lower than or equal to -105 dBm.
  • no service: The RSRP is lower than or equal to -112 dBm.

Current ECIO

Energy per chip to interference of other cell ratio.

Bands supported

Frequency band supported by the modem.

Modem Security Information

Modem's security information.

SIM ID

ID of SIM card.

PIN Verification

Whether PIN authentication is enabled:

  • Enabled: PIN authentication is enabled.
  • Disabled: PIN authentication is disabled.

This parameter can be configured using the pin verification command.

PIN Status

Status of the PIN:

  • Unknown: indicates that the status of PIN authentication is unknown.
  • Ready: indicates that the PIN is unlocked successfully.
  • PIN Requirement: indicates that users need to enter the PIN for authentication.
  • PUK Requirement: indicates that users need to enter the PUK to unlock the PIN.

Number of Retries remaining

Number of PIN authentication attempts allowed. By default, the PIN is locked after the user enters incorrect PINs consecutively 3 times.

SIM Status

Status of the SIM card:

  • Invalid: indicates that the SIM card is not functioning properly for some reason. For example, the PIN is not unlocked.
  • Not insert: indicates that the SIM card is not installed.
  • OK: indicates that the SIM card works normally.

display interface cellular

Function

The display interface cellular command displays the status of and traffic statistics on a cellular interface or cellular channel interface.

Format

display interface cellular [ interface-number ]

Parameters

Parameter

Description

Value

interface-number

Specifies the number of a cellular interface or cellular channel interface.

If this parameter is not specified, the status of and traffic statistics on all cellular interfaces or cellular channel interfaces are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display interface cellular command displays the status of and traffic statistics on a cellular interface or cellular channel interface. You can collect traffic statistics and locate faults on the serial interface according to the command output.

Example

# Display the status of and traffic statistics on cellular interface 0/0/0.

<Huawei> display interface cellular 0/0/0
Cellular0/0/0 current state : UP
Line protocol current state : UP
Description:HUAWEI, AR Series, Cellular0/0/0 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is negotiated, 10.1.1.2/24
Link layer protocol is PPP   
LCP opened, IPCP opened
Current system time: 2011-06-08 11:35:23
Modem State: Present
Model = ME906E
Current Network Connection = LTE(LTE)
Current RSSI = -91 dBm
Current SINR = 6 dB (weak)
Antenna = outer 
Last 300 seconds input rate 555 bytes/sec 4440 bits/sec 12 packets/sec 
Last 300 seconds output rate 11230 bytes/sec 89840 bits/sec 311 packets/sec 
    Input: 210 packets, 87205 bytes
      Unicast:                  200,       Ununicast:                  10
    Output:225340 packets, 6760917 bytes
      Unicast:                  225300,    Ununicast:                  40
    Input bandwidth utilization  : 0.01%
    Output bandwidth utilization : 0.01%
Table 6-36 Description of the display interface cellular command output

Item

Description

Cellular0/0/0 current state

Status of the cellular interface:
  • UP: The interface is physically Up.

  • DOWN: The interface is physically Down.

  • Administratively down: The administrator has run the shutdown command on the interface.

Line protocol current state

Link layer protocol status of the cellular interface:
  • UP: The link layer protocol of the interface is Up.

  • DOWN: The link layer protocol status of the interface is Down or no IP address is assigned to the interface.

Description

Interface description.

The Maximum Transmit Unit is

Maximum Transmission Unit (MTU) of the interface.

Run the mtu command to set the maximum transmission unit (MTU) of an interface.

Hold timer is 10(sec)

Lifecycle of a packet. If a packet is not sent out before the hold timer times out, the packet is discarded.

Internet Address

IP address of the cellular interface. If no IP address is assigned to the interface, the system displays "Internet protocol processing : disabled".

Link layer protocol

Link layer protocol used by the cellular interface.

LCP opened

Status of the Link Control Protocol (LCP).

IPCP opened

Internet Protocol Control Protocol (IPCP) status of the MP link.

Current system time

Current system time.

If the time zone is configured and the daylight saving time is used, the time is in YYYY-MM-DD HH:MM:SS UTC±HH:MM DST format.

Modem State

Whether a modem has been connected to the cellular interface.

Model

Model of the modem.

Current Network Connection

Type of the network connected to the modem.

Current RSSI/RSRP

Received signal strength indicator or reference signal receiving power.

On a WCDMA network, the relationship between the signal strength and RSSI is as follows:
  • good: The RSSI is higher than or equal to -70 dBm.
  • normal: The RSSI is higher than -85 dBm and lower than -70 dBm.
  • weak: The RSSI is higher than -113 dBm and lower than or equal to -85 dBm.
  • no service: The RSSI is lower than or equal to -113 dBm.
On a CDMA2000 network, the relationship between the signal strength and RSSI is as follows:
  • good: The RSSI is higher than or equal to -80 dBm.
  • normal: The RSSI is higher than -90 dBm and lower than -80 dBm.
  • weak: The RSSI is higher than -125 dBm and lower than or equal to -90 dBm.
  • no service: The RSSI is lower than or equal to -125 dBm.

On a LTE network, the relationship between the signal strength and RSRP is as follows:

  • strong: The RSRP is higher than or equal to -97 dBm.
  • good: The RSRP is higher than -105 dBm and lower than or equal to -97 dBm.
  • normal: The RSRP is higher than -110 dBm and lower than or equal to -105 dBm.
  • slow: The RSRP is higher than -115 dBm and lower than or equal to -110 dBm.
  • weak: The RSRP is higher than -120 dBm and lower than or equal to -115 dBm.
  • no service: The RSRP is lower than or equal to -120 dBm.

Current SINR

Signal to interference plus noise ratio.

By default, the SINR threshold is used for the LTE signal strength The relationship between the signal strength and SINR is as follows:
  • good: The SINR is higher than or equal to 15 dB.
  • normal: The SINR is higher than 10 dB and lower than 15 dB.
  • weak: The SINR is lower than or equal to 10 dB and is higher than or equal to -20 dB.
  • no service: The SINR is lower than -20 dB.

Last 300 seconds input rate

Incoming packet rate (bits per second and packets per second) within the last 300 seconds.

Last 300 seconds output rate

Outgoing packet rate (bits per second and packets per second) within the last 300 seconds.

Input

Number of packets received by the cellular interface.

Output

Number of packets sent by the cellular interface.

Unicast

Number of unicast packets received or sent by the cellular interface.

Ununicast

Number of non-unicast packets received or sent by the cellular interface.

Input bandwidth utilization

Inbound bandwidth usage.

Output bandwidth utilization

Outbound bandwidth usage.

display cellular encryption-algorithm

Function

The display cellular encryption-algorithm command displays the GPRS configuration status on an interface.

This command is supported in V300R021C10 and later versions.

The device embedded with the ME909s-821 or EC200T-CN modem supports this command.

Format

display cellular interface-number encryption-algorithm

Parameters

Parameter Description Value

interface-number

Displays the GPRS configuration status on a specified interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display cellular interface-number encryption-algorithm command to check the GPRS configuration status on a specified interface.

Example

# Display the GPRS configuration status on Cellular0/0/0.

<Huawei> display cellular 0/0/0 encryption-algorithm 
------------------------------       
Model name  :    EC200T-EU                                  
------------------------------           
GEA1 status :    enabled          
GEA2 status :    disabled      
GEA3 status :    disabled    
GEA4 status :    enabled      
------------------------------   
Table 6-37 Description of the display cellular encryption-algorithm command output

Item

Description

Model name

Modem name.

GEA1 status

Status of the GPRS encryption algorithm GEA1.0.

  • enabled
  • disabled

GEA2 status

Status of the GPRS encryption algorithm GEA2.0.

  • enabled
  • disabled

GEA3 status

Status of the GPRS encryption algorithm GEA3.0.

  • enabled
  • disabled

GEA4 status

Status of the GPRS encryption algorithm GEA4.0.

  • enabled
  • disabled

display cellular feature

Function

The display cellular feature command displays the status of the source address verification, LTE QoS flow control, and DHCP transparent transmission functions of the modem.

Only routers with built-in ME909s-120 modules support this command.

Format

display cellular interface-number feature

Parameters

Parameter Description Value

interface-number

Displays the status of the source address verification, LTE QoS flow control, and DHCP transparent transmission functions of the modem on a specified interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display cellular feature command to check the status of the source address verification, LTE QoS flow control, and DHCP transparent transmission functions of the modem. If the modem's firmware version is correct, the status of source address verification function is disabled, and the status of the LTE QoS flow control and DHCP transparent transmission functions is enabled according to customization. If the modem feature status does not meet the customized status, run the module-upgrade command in the diagnostic view to upgrade the modem version.

Example

# Display the status of the source address verification, LTE QoS flow control, and DHCP transparent transmission functions of the modem on Cellular0/0/0.

<Huawei> display cellular 0/0/0 feature
Modem feature status: 
  Source address check: disabled
  LTE QoS control: enabled 
  DHCP transfer packet: enabled  
  Audio optimize: enabled
  DrxClose: enabled
  Sms resend: enabled  
  Modem log status: locked
  Encryption algorithm: gea1 gea2  
Table 6-38 Description of the display cellular feature command output

Item

Description

Modem feature status

Status of the source address verification, LTE QoS flow control, and DHCP transparent transmission functions of the modem.

Source address check

Status of source MAC address verification.

LTE QoS control

Status of the LTE QoS flow control feature.

DHCP transfer packet

Status of the DHCP transparent transmission function.

Audio optimize

Status of the audio optimization function.

DrxClose

Status of the Discontinuous Reception (DRX) function.

Sms resend

Status of the SM resending function.

Modem log status

Log status of the current modem:
  • locked: The modem is locked.

  • unlocked: The modem is unlocked.

Encryption algorithm

GPRS encryption algorithm supported by the modem.

You can run the modem encryption-algorithm command to change the GPRS encryption algorithm.

display sms interface cellular

Function

The display sms interface cellular command displays information about received SMS messages.

Format

display sms interface cellular interface-number { brief | id sms-id | verbose }

Parameters

Parameter

Description

Value

interface-number

Specifies the number of a cellular interface or cellular channel interface.

-

brief

Displays brief information about all SMS messages.

-

id sms-id

Displays information about the SMS message with a specified ID. sms-id specifies the SMS message ID.

The value is an integer that ranges from 0 to 255.

verbose

Displays detailed information about all SMS messages.

-

Views

All views

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command to view information about SMS messages received by the device, including the source number, sending date and time, size, and content of the messages.

Precautions

The device only displays SMS messages in the 7bit encoding mode, and cannot normally display SMS messages in other encoding modes.

The characters [ ] ^ ` { | } ~ / \ @ among nonprintable and printable characters in SMS messages cannot be displayed.

Example

# Display brief information about all SMS messages received by Cellular2/0/0.

<Huawei> display sms interface cellular 2/0/0 brief 
   ID  FROM             DATE      TIME    SIZE     
    5  ****6951  19/10/31  11:59:51    38                                       
    6  ****6951  19/10/31  11:59:51   153                                       
    7  ****6951  19/10/31  14:17:13   153                                       
    8  ****6951  19/10/31  14:17:13    38                                       
    9  ****5227  19/10/31  14:47:14   153                                       
   10  ****5227  19/10/31  14:47:14    58                                       
   11  ****6951  19/10/31  15:26:17   153                                       
   12  ****6951  19/10/31  15:26:17    38                                       
   13  ****6951  19/10/31  15:27:45    38                                       
   14  ****6951  19/10/31  15:27:45   153                                       
   15  ****6951  19/10/31  15:33:16   153 

# Display detailed information about all SMS messages received by Cellular2/0/0.

<Huawei> display sms interface cellular 2/0/0 verbose
[ ID:  2 TIME: 19/10/31 11:27:48 FROM: ****6951 ]                               
[ ID:  3 TIME: 19/10/31 11:47:16 FROM: ****6951 ]                               
[ ID:  4 TIME: 19/10/31 11:47:16 FROM: ****6951 ]                               
[ ID:  5 TIME: 19/10/31 11:59:51 FROM: ****6951 ]                               
[ ID:  6 TIME: 19/10/31 11:59:51 FROM: ****6951 ]                               
[ ID:  7 TIME: 19/10/31 14:17:13 FROM: ****6951 ]                               
[ ID:  8 TIME: 19/10/31 14:17:13 FROM: ****6951 ]                               
[ ID:  9 TIME: 19/10/31 14:47:14 FROM: ****5227 ]                               
[ ID: 10 TIME: 19/10/31 14:47:14 FROM: ****5227 ]                               
[ ID: 11 TIME: 19/10/31 15:26:17 FROM: ****6951 ]

# Display information about the SMS message with the ID 1 received by Cellular2/0/0.

<Huawei> display sms interface cellular 2/0/0 id 1
ID:  1                                                                          
FROM: ****6951                                                                  
DATE: 19/10/31                                                                  
TIME: 11:27:48                                                                  
SIZE: 153 
Table 6-39 Description of the display sms interface cellular command output

Item

Description

Inbox total SMS

Number of received SMS messages.

ID

ID of a received SMS message.

FROM

Source number of a received SMS message.

DATE

Date when an SMS message is received.

TIME

Time when an SMS message is received.

SIZE

Size of a received SMS message.

display sms interface cellular statistics

Function

The display sms interface cellular statistics command displays statistics about SMS messages.

Format

display sms interface cellular interface-number statistics

Parameters

Parameter

Description

Value

interface-number

Specifies the number of a cellular interface or cellular channel interface.

-

Views

All views

Default Level

2: Configuration level

Usage Guidelines

You can run this command to check statistics about SMS messages, including the number of received SMS messages, number of SMS messages sent successfully, number of SMS messages failed to be sent, and number of deleted SMS messages.

Example

# Display statistics about SMS messages received or sent by Cellular2/0/0.

<Huawei> display sms interface cellular 2/0/0 statistics
Total SMS received = 8                                                          
Total SMS sent successfully = 3                                                 
Total SMS sent failure = 0                                                      
Total SMS deleted = 3                                                           
Table 6-40 Description of the display sms interface cellular statistics command output

Item

Description

Total SMS received

Number of received SMS messages.

Total SMS sent successfully

Number of SMS messages sent successfully.

Total SMS sent failure

Number of SMS messages failed to be sent.

Total SMS deleted

Number of deleted SMS messages.

display sms send-history

Function

The display sms send-history command displays records of sent short messages saved in the memory.

Format

display sms send-history

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run this command to check records of sent short messages.

Precautions

A maximum of 20 records of recently sent short messages can be displayed. The new record overrides the old ones.

After the device restarts, the historical records of sent short messages disappear.

Example

# Display records of sent short messages saved in the memory.

<Huawei> display sms send-history
ID RECEIVER      YYYY/MM/DD  HH:MM:SS    INTERFACE         RESULT     
0  ****5678     2019/10/31  17:15:54                      FAIL                                               
Table 6-41 Description of the display sms send-history command output

Item

Description

ID

ID of a short message record. The ID ranges from 0 to 19.

RECEIVER

User phone number for receiving short messages.

To configure the user phone number, run the sms item command.

YYYY/MM/DD

Date when short messages are sent.

HH:MM:SS

Time when short messages are sent.

INTERFACE

Cellular interface that successfully sends short messages.

RESULT

Result of sending short messages.
  • SUCCESS: indicates that short messages are sent successfully.
  • FAIL: indicates that short messages fail to be sent.
  • UNSENT: indicates that all cellular interfaces cannot send short messages.
  • INVALID: indicates that the SMS service referenced by the sms send-item command does not exist. Short messages cannot be sent.

display snmp-agent trap feature-name ifmtrap all

Function

The display snmp-agent trap feature-name ifmtrap all command displays the status of all traps on the IFM module.

Format

display snmp-agent trap feature-name ifmtrap all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display snmp-agent trap feature-name ifmtrap all command to check the status of all traps on the IFM module. The status of a trap is configured using the snmp-agent trap enable feature-name ifmtrap command.

Example

# Display the status of all traps on the IFM module.

<Huawei> display snmp-agent trap feature-name ifmtrap all
------------------------------------------------------------------------------  
Feature name: IFMTRAP                                                           
Trap number : 5                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
hw3GPinModify                   on                      on                      
hwPortPhysicalEthHalfDuplexAlarm                                                
                                off                     off                     
hwPortPhysicalEthFullDuplexClear                                                
                                off                     off                     
hw3GMIBTrapCellIdChange         off                     off
hwPortSpeedChangeTrap           off                     off 
Table 6-42 Description of the display snmp-agent trap feature-name ifmtrap all command output

Item

Description

Feature name

Name of the module to which a trap belongs.

Trap number

Number of traps.

Trap name

Name of a trap. Traps on the IFM module include:

  • hw3GPinModify: enables the trap function for the PIN change.
  • hwPortPhysicalEthHalfDuplexAlarm: enables the trap function for the interface duplex mode change from full-duplex to half-duplex.
  • hwPortPhysicalEthFullDuplexClear: enables the trap function for the interface duplex mode change from half-duplex to full-duplex.
  • hw3GMIBTrapCellIdChange: enables the trap function for the cell ID change.
  • hwPortSpeedChangeTrap: enables the trap function for the interface rate change.

Default switch status

Default trap status:
  • on: indicates that the trap function is enabled by default.
  • off: indicates that the trap function is disabled by default.

Current switch status

Current trap status:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

interface cellular

Function

Using the interface cellular command, you can enter the cellular interface view or cellular channel interface view.

Format

interface cellular interface-number

Parameters

Parameter

Description

Value

interface-number

Specifies the number of a cellular interface or cellular channel interface.

  • To enter the cellular interface view, specify interface-number in the format of slot number/card number/interface number.
  • To enter the cellular channel interface view, specify interface-number in the format of chassis number/slot number/card number/main interface number:channel interface number (the value can be 1 or 2). For example, channel interface 1 of Cellular0/0/0 is numbered Cellular0/0/0:1.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To configure the 3G, LTE or 5G function on a cellular interface or cellular channel interface, run the interface cellular command to enter the cellular interface view.

Cellular channel interfaces only apply to the multi-APN scenario.

Prerequisites

The multi-APN function has been enabled on the cellular interface before you enter the cellular channel interface view.

Example

# Enter the view of cellular interface 0/0/0.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] 

# Display the view of cellular channel interface 1.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] multi-apn enable
[Huawei-Cellular0/0/0] quit
[Huawei] interface cellular 0/0/0:1
[Huawei-Cellular0/0/0:1] 

ip address negotiate

Function

The ip address negotiate command enables a cellular interface or cellular channel interface to dynamically obtain an IP address.

The undo ip address negotiate command disables a cellular interface or cellular channel interface from dynamically obtaining an IP address.

By default, a cellular interface or cellular channel interface cannot dynamically obtain an IP address.

Format

ip address negotiate

undo ip address negotiate

Parameters

None

Views

Cellular interface view, Cellular channel interface view

Default Level

2: Configuration level

Usage Guidelines

You can run the ip address negotiate command to enable a cellular interface or cellular channel interface to dynamically obtain an IP address from the carrier.

Example

# Enable the cellular interface to dynamically obtain an IP address.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] ip address negotiate

mode lte

Function

The mode lte command configures the 3G or LTE network connection mode for a modem.

By default, the 3G or LTE network connection mode is auto for an LTE modem.

Format

mode lte { auto | gsm-only | 1xrtt-only | evdo-only | hybrid | lte-only | tdscdma-only | umts-gsm | umts-only | wcdma-gsm | wcdma-only }

Parameters

Parameter

Description

Value

auto

Indicates that a modem automatically connects to a network.

-

gsm-only

Indicates that a modem can only connect to a GSM network.

-

1xrtt-only

Indicates that a modem can only connect to a 1xRTT network.

-

evdo-only

Indicates that a modem can only connect to a EV-DO network.

-

hybrid

Indicates that a modem connects to a 1xRTT and EV-DO combined network.

-

lte-only

Indicates that a modem can only connect to a LTE network.

-

tdscdma-only

Indicates that a modem can only connect to a TD-SCDMA network.

-

umts-gsm

Indicates that a modem connects to either a UMTS or GSM network and preferentially connects to the UMTS network.

-

umts-only

Indicates that a modem can only connect to either a WCDMA or TD-SCDMA network.

-

wcdma-gsm

Indicates that a modem connects to either a WCDMA or GSM network and preferentially connects to the WCDMA network.

-

wcdma-only

Indicates that a modem can only connect to a WCDMA network.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

LTE cellular interfaces can connect to the network only when the network connection mode is configured for a modem based on the type of the network provided by the carrier. If the connection mode is inconsistent with the network type, run the mode lte command to modify the network connection mode for the LTE modem.

Precautions

  • This command is valid only when the modem is working.

  • If you run the mode lte command multiple times in the same cellular interface view, only the latest configuration takes effect.

Example

# Configure the modem to select the LTE network.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] mode lte lte-only

mode wcdma

Function

Using the mode wcdma command, you can configure a WCDMA network connection mode for a modem.

Format

mode wcdma { gsm-only | gsm-precedence | wcdma-only | wcdma-precedence }

Parameters

Parameter

Description

Value

gsm-only

Indicates that a modem connects to a GSM network.

-

gsm-precedence

Indicates that a modem preferentially connects to a GSM network.

-

wcdma-only

Indicates that a modem connects to a WCDMA network.

-

wcdma-precedence

Indicates that a modem preferentially connects to a WCDMA network.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The modem has various types. By default, each type of the modem has a unique WCDMA network connection mode. After a WCDMA network connection mode is configured, it is recorded in the modem and permanently valid.

Configure a correct WCDMA network connection mode for the modem based on the type of the network provided by the carrier. If the WCDMA network connection mode is incorrect, you need to run the mode wcdma command to change the WCDMA network connection mode for the modem.

Precautions

  • This command is valid only when a modem is connected to a cellular interface.

  • If you run the mode wcdma command multiple times in the same cellular interface view, only the latest configuration takes effect.

Example

# Configure the modem to select only WCDMA networks to connect to.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] mode wcdma wcdma-only

mode 5g

Function

The mode 5g command configures the 5G network connection mode for a modem.

By default, the 5G network connection mode is auto for a modem.

Format

mode 5g { auto | wcdma-only | lte-only | nr-only | lte-wcdma | lte-nr | nr-lte }

Parameters

Parameter

Description

Value

auto

Indicates that a modem automatically connects to a network.

-

wcdma-only

Indicates that a modem can only connect to a WCDMA network.

-

lte-only

Indicates that a modem can only connect to a LTE network.

-

nr-only

Indicates that a modem can only connect to a NR network.

-

lte-wcdma

Indicates that a modem connects to a LTE and WCDMA combined network.

-

lte-nr

Indicates that a modem can only connect to a LTE and NR network.

A modem first connects to an LTE network. Then the 5G module determines whether there is a NR on the LTE network. If so, the modem connects to the NR, forming a 5G NSA network. If not, the modem still connects to the LTE network.

-

nr-lte

Indicates that a modem can only connect to a NR and LTE network.

A modem first connects to a NR. If an SA network is available, the modem is connected to the 5G SA network. Otherwise, the modem connects to an LTE network to form a 5G NSA network after the 5G module finds that there is a NR on the LTE network. If there is no NR on the LTE network, the modem still connects to the LTE network.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Cellular interfaces can connect to the 5G network only when the 5G network connection mode is configured for a modem based on the type of the network provided by the carrier. If the connection mode is inconsistent with the network type, run the mode 5g command to modify the 5G network connection mode for the modem.

Precautions

This command is valid only when the modem is working.

After running the mode 5g command, run the modem reboot command to make the configuration take effect.

Example

# Configure the modem to automatically select a network to connect to.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] mode 5g auto

modem auto-recovery track nqa

Function

The modem auto-recovery track { nqa | nqa-group } command configures the device to use an NQA or NQA groups test instance to detect the 3G, LTE or 5G link status.

The undo modem auto-recovery track { nqa | nqa-group } command restores the default setting.

By default, the device does not use an NQA or NQA groups test instance to detect a 3G, LTE or 5G link.

Format

modem auto-recovery track { nqa admin-name test-name | nqa-group group-name } [ probe-cycle period | probe-cycle seconds period-s ]

undo modem auto-recovery track { nqa | nqa-group }

Parameters

Parameter

Description

Value

admin-name

Specifies the administrator name of an NQA test instance.

The value is a string of 1 to 32 case-sensitive characters without spaces.

test-name

Specifies the name of an NQA test instance.

The value is a string of 1 to 32 case-sensitive characters without spaces.

nqa-group group-name

Indicates the name of an NQA group for an NQA test instance.

The value is a string of 1 to 32 case-sensitive characters without spaces.

probe-cycle period

Specifies the interval for querying NQA test results.

The value is an integer that ranges from 1 to 30, in minutes. The default value is 5.

probe-cycle seconds period-s

Specifies the interval for querying NQA test results, in seconds.

The value is an integer that ranges from 1 to 1800, in seconds. The default value is 300.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Use Scenario

When a 3G, LTE or 5G link is unstable because of weak 3G, LTE or 5G signals or interference, you may fail to access external networks through the 3G, LTE or 5G link even if the dialup succeeds. To solve this problem, configure the device to use an NQA test instance to detect the 3G, LTE or 5G link status. When the 3G, LTE or 5G link is unstable, the device triggers an action to recover the 3G, LTE or 5G link.

Prerequisites

An ICMP NQA test instance has been configured.

Follow-up Procedure

Run the modem auto-recovery track action command to set the maximum number of 3G, LTE or 5G link detection failures in an NQA test instance. When the number of consecutive 3G, LTE or 5G link detection failures in an NQA test instance reaches the maximum value, the device triggers an action to recover the 3G, LTE or 5G link.

Example

# Configure the device to use an NQA test instance user user1 to detect a 3G, LTE or 5G link.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] modem auto-recovery track nqa user user1

modem auto-recovery track action

Function

The modem auto-recovery track action command sets the maximum number of 3G, LTE or 5G link detection failures in an NQA test instance. When the number of consecutive 3G, LTE or 5G link detection failures in an NQA test instance reaches the maximum value, the device triggers an action to recover the 3G, LTE or 5G link.

The undo modem auto-recovery track action command restores the default setting.

By default, the maximum number of 3G, LTE or 5G link detection failures in an NQA test instance is not configured. That is, the device does not trigger an action to recover a 3G, LTE or 5G link when 3G, LTE or 5G link detection fails for several consecutive times.

Format

modem auto-recovery track action { plmn-search | redial } fail-times times

modem auto-recovery track action modem-reboot fail-times times [ mandatory ]

undo modem auto-recovery track action { plmn-search | modem-reboot | redial }

Parameters

Parameter

Description

Value

plmn-search

Configures the device to search the PLMN again when the number of consecutive 3G, LTE or 5G link detection failures reaches the maximum value.

NOTE:

The number of times the device searches the PLMN must be larger than the number of times the device creates a dial-up connection.

-

modem-reboot

Configures the device to restart the modem when the number of consecutive 3G, LTE or 5G link detection failures reaches the maximum value.

NOTE:

The number of times the device restarts the modem must be larger than the number of times the device searches the PLMN.

-

redial

Configures the device to create a dial-up connection when the number of consecutive 3G, LTE or 5G link detection failures reaches the maximum value.

-

fail-times times

Specifies the maximum number of 3G, LTE or 5G link detection failures in an NQA test instance.

The value is an integer that ranges from 1 to 128.

mandatory

Configures the device to perform operations based on the NQA detection result without considering the interface status.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the modem auto-recovery track nqa command is run to use an NQA test instance to test the 3G/LTE/5G link status, if the link is unreachable for a long period, run the modem auto-recovery track action command to set the maximum number of link detection failures. When the number of consecutive link detection failures in the NQA test instance reaches the maximum value, the device triggers an action (re-establishing a dial-up connection, searching the PLMN, or restarting the modem) to recover the 3G/LTE/5G link.

Precautions

When mandatory is not specified and IPv4 dial-up is configured, the number of link detection failures increases by one if the cellular main interface is Up and there is no incoming traffic on the interface in case of an NQA test failure. When mandatory is specified, the number of link detection failures increases by one in case of an NQA test failure. When the number of link detection failures reaches the threshold, the system restarts the module. The interval for querying NQA test results is closely related to the probe-cycle parameter in the modem auto-recovery track command. The minimum detection time for executing an action is probe-cycle x fail-times.

Example

# Configure the device to search the PLMN again when the number of consecutive 3G, LTE or 5G link detection failures in an NQA test instance reaches 2.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] modem auto-recovery track action plmn-search fail-times 2

modem auto-recovery icmp-unreachable action modem-reboot

Function

The modem auto-recovery icmp-unreachable action modem-reboot command enables the device to send ICMP packets to detect whether the DNS server is reachable when the downlink traffic of the 5G cellular interface is abnormal. If the DNS server is unreachable, the device restarts the 5G modem to restore the link.

The undo modem auto-recovery icmp-unreachable action modem-reboot command disables the device from sending ICMP packets to detect whether the DNS server is reachable when the downlink traffic of the 5G cellular interface is abnormal.

By default, the device is not enabled to send ICMP packets to detect whether the DNS server is reachable when the downlink traffic of the 5G cellular interface is abnormal. If the DNS server is unreachable, the device restarts the 5G modem to restore the link.

Format

modem auto-recovery icmp-unreachable action modem-reboot

undo modem auto-recovery icmp-unreachable action modem-reboot

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the 5G link cannot receive packets correctly, run the modem auto-recovery icmp-unreachable action modem-reboot command to configure the device to send ICMP packets to detect whether the DNS server is reachable when the downlink traffic of the 5G cellular interface is abnormal. If the DNS server is unreachable, the device restarts the 5G modem to restore the link. If you do not want the 5G link to automatically recover when it cannot receive packets correctly, run the undo modem auto-recovery icmp-unreachable action modem-reboot command.

Precautions

If the device module is not a 5G module, this function is not supported.

The IP address of the DNS server is negotiated through the cellular interface. If the device does not learn the IP address of the DNS server, the device does not perform ICMP detection.

Example

# Enable the device to send ICMP packets to detect whether the DNS server is reachable when the downlink traffic of the 5G cellular interface is abnormal. If the DNS server is unreachable, the device restarts the 5G modem to restore the link.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] modem auto-recovery icmp-unreachable action modem-reboot

modem auto-recovery dial action modem-reboot fail-times

Function

The modem auto-recovery dial action modem-reboot fail-times command sets the maximum number of dial-up failures. When the number of consecutive dial-up failures reaches the maximum value, the device restarts a modem.

The undo modem auto-recovery dial action modem-reboot command deletes the maximum number of dial-up failures.

By default, the maximum number of dial-up failures is not configured. That is, the device does not restart the modem or restart itself in consecutive dial-up failures

Format

modem auto-recovery dial action modem-reboot fail-times times

undo modem auto-recovery dial action modem-reboot

Parameters

Parameter

Description

Value

times

Specifies the maximum number of dial-up failures.

The value is an integer that ranges from 1 to 128. The value less than 8 is recommended.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

When the dial-up initiated through a cellular interface fails multiple times, you can run the modem auto-recovery dial action modem-reboot fail-times command to set the maximum number of dial-up failures. When the number of consecutive dial-up failures reaches the maximum value, the device restarts the modem so that the fault can be rectified automatically.

Example

# Set the maximum number of dial-up failures to 5.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] modem auto-recovery dial action modem-reboot fail-times 5

modem auto-recovery services-unavailable action modem-reboot

Function

The modem auto-recovery services-unavailable action modem-reboot command sets the out-of-service state detection interval and the maximum number of times the modem automatically restarts.

The undo modem auto-recovery services-unavailable command disables the function of automatically restarting the modem upon the out-of-service state.

By default, the maximum number of times the modem automatically restarts and the out-of-service state detection interval are not set on the device. That is, the modem does not automatically restart upon the out-of-service state.

Format

modem auto-recovery services-unavailable action modem-reboot test-times times interval interval

undo modem auto-recovery services-unavailable

Parameters

Parameter

Description

Value

action modem-reboot

Restarts the modem automatically upon the out-of-service state.

-

test-times times

Specifies the maximum number of times the modem automatically restarts.

The value is an integer that ranges from 0 to 10. You are not advised to set the value greater than 8. The value 0 indicates that the number of times the modem automatically restarts is infinite.

interval interval

Specifies the out-of-service state detection interval.

The value is an integer that ranges from 60 to 3600, in seconds. The default value is 3600.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

When the cellular interface is in out-of-service state because of a network exception, you can run the modem auto-recovery services-unavailable action modem-reboot test-times command to set the out-of-service state detection interval and the maximum number of times the modem automatically restarts. When the period of time the modem remains in out-of-service state reaches the detection interval, the modem automatically restarts.

When the interface recovers from the out-of-service state within the detection interval or the number of times the modem automatically restarts reaches the upper limit, the modem no longer restarts. You can run the display cellular interface-number network command to view the current status of the modem. When Current Service Status is displayed as Service available in the command output, the modem recovers from the out-of-service state.

Example

# Set the out-of-service state detection interval of the modem to 300s and the maximum number of times the modem automatically restarts to 5.

<Huawei> system-view
[Huawei] interface cellular 1/0/0
[Huawei-Cellular1/0/0] modem auto-recovery services-unavailable action modem-reboot test-times 5 interval 300

modem auto-recovery services-unavailable action sim-switch

Function

The modem auto-recovery services-unavailable action sim-switch command enables the automatic active/standby SIM card switchover function.

The undo modem auto-recovery services-unavailable command disables the automatic active/standby SIM card switchover function.

By default, the device does not automatically switch the active and standby SIM cards when no service is available.

Format

modem auto-recovery services-unavailable action sim-switch [ test-times times ] [ interval interval ]

undo modem auto-recovery services-unavailable

Parameters

Parameter

Description

Value

action sim-switch

Automatically switches the active and standby SIM cards.

-

test-times times

Specifies the threshold for the number of SIM card switchovers.

The value is an integer that ranges from 0 to 10. You are advised to set this parameter to a value less than or equal to 8. The value 0 indicates that the number of SIM card switchovers is unlimited.

interval interval

Specifies the interval for detecting whether no service is available.

The value is an integer ranging from 60 to 3600, in seconds. The default value is 600, in seconds.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the network environment of a cellular interface is abnormal and no service is available, you can run the modem auto-recovery services-unavailable action sim-switch interval interval command to set the interval for detecting whether no service is available and enable the automatic active/standby SIM card switchover function.

Precautions

After an active/standby SIM card switchover, the modem automatically restarts. Exercise caution when performing this operation.

Example

# Set the interval for detecting whether no service is available to 400s and enable the automatic active/standby SIM card switchover function.

<Huawei> system-view
[Huawei] interface cellular 1/0/0
[Huawei-Cellular1/0/0] modem auto-recovery services-unavailable action sim-switch interval 400

modem encryption-algorithm

Function

The modem encryption-algorithm command configures the GPRS encryption algorithm for a modem.

By default, the modem supports the GEA1.0 and GEA2.0 encryption algorithms, but does not support the GEA3.0 encryption algorithm.

The device embedded with the ME909s-821 modem supports the modem encryption-algorithm { gea1_gea2 | gea2_gea3 } command.

The device embedded with the EC200T-EA modem in V300R021C10 and later versions supports the modem encryption-algorithm { gea1 | gea2 | gea3 | gea4 } * command.

Format

modem encryption-algorithm { gea1_gea2 | gea2_gea3 }

modem encryption-algorithm { gea1 | gea2 | gea3 | gea4 } *

Parameters

Parameter

Description

Value

gea1_gea2

Sets the GPRS encryption algorithms of a modem to GEA1.0 and GEA2.0.

-

gea2_gea3

Sets the GPRS encryption algorithms of a modem to GEA2.0 and GEA3.0.

-

gea1

Sets the GPRS encryption algorithm of a modem to GEA1.0.

-

gea2

Sets the GPRS encryption algorithm of a modem to GEA2.0.

-

gea3

Sets the GPRS encryption algorithm of a modem to GEA3.0.

-

gea4

Sets the GPRS encryption algorithm of a modem to GEA4.0.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a modem registers with the network, the modem sends a registration request carrying the GPRS encryption algorithms GEA1.0 and GEA2.0 to the core network by default. The core network then selects an encryption mode based on its encryption capability. The device can access the network only when the encryption mode matches the device.

If the encryption mode supported by the core network does not match the device, run the modem encryption-algorithm gea2_gea3 command to set the GPRS encryption algorithms of the modem to GEA2.0 and GEA3.0.

Precautions

This command can be executed only when the modem is properly installed.

To ensure that the configured GPRS encryption algorithm takes effect when the device accesses the network next time, you can choose to restart the modem immediately.

If you choose not to restart the modem immediately, you can run the modem reboot command to manually restart the modem later.

Example

# Set the GPRS encryption algorithms of a modem to GEA1.0 and GEA2.0, and choose not to restart the modem immediately.

<Huawei> system-view
[Huawei] interface cellular 1/0/0
[Huawei-Cellular1/0/0] modem encryption-algorithm gea1_gea2
Warning: The gea1_gea2 is insecure. For security purposes, use gea2_gea3.       
Warning: The modified GPRS encryption algorithm can take effect only after the modem reboot. The modem will reboot. Continue? [Y/N]: n
Info: The encryption algorithm takes effect next time after the modem reboot.   
[Huawei-Cellular1/0/0]                                                          
Jun 9 2020 06:32:54+00:00 Huawei %%01IFPDT/4/MODEM_REBOOT(l)[0]:The user choose NO when there is a selection about whether to reboot modem. 

modem reboot

Function

The modem reboot command restarts a modem.

Format

modem reboot [ fast ]

Parameters

Parameter

Description

Value

fast

Manually performs a fast restart of a modem.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A modem restarts automatically when it detects an exception. If the modem cannot automatically restart, you can run this command to manually restart the modem.

Precautions

  • When this command is executed to manually restart a modem, services on the specified cellular interface are interrupted.

SIM, USIM, and UIM cards are not hot swappable.

  • To ensure that the installed SIM, USIM, or UIM card works properly, run the modem reboot [ fast ] command to manually restart the modem after removing and installing the SIM, USIM, or UIM card.

To check whether SIM, USIM, and UIM cards are working properly, run the display cellular command to view the SIM Status or UIM Status field.

Example

# Manually restart a modem.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] modem reboot
Warning: The module will reboot. Continue? [Y/N]:y  
[Huawei-Cellular0/0/0] 
May  4 2014 16:49:55+00:00 2220-29 %%01IFPDT/4/MODEM REBOOT(l)[90]:The user chooses YES when there is a selection about whether to re
boot modem.

modem peer network-route

Function

The modem peer network-route command enables the function of installing the peer's routes in the local routing table.

The undo modem peer network-route command disables the function of installing the peer's routes in the local routing table.

By default, the local routing table does not contain the peer's routes.

Format

modem peer network-route

undo modem peer network-route

Parameters

None

Views

Cellular interface view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the modem peer network-route or undo modem peer network-route command to determine whether to install the host routes for the peer IP address in the local routing table.

  • After the modem peer network-route command is run, the local routing table contains the peer's routes.

  • After the undo modem peer network-route command is run, the local routing table does not contain the peer's routes.

Precautions

After this command is run, the dial-up command must be triggered again for the configuration to take effect.

Example

# Enable the function of installing the peer's routes in the local routing table.

<Huawei> system-view
[Huawei] interface cellular 0/0/0 
[Huawei-Cellular0/0/0] modem peer network-route

mtu(3G/LTE/5G)

Function

Using the mtu command, you can set the maximum transmission unit (MTU) for a cellular interface or cellular channel interface.

Using the undo mtu command, you can restore the default MTU.

By default, the MTU of a cellular interface or cellular channel interface is 1500 bytes.

Format

mtu mtu

undo mtu

Parameters

Parameter

Description

Value

mtu

Specifies the MTU of a cellular interface.

The value is an integer that ranges from 128 to 1500, in bytes.

Views

Cellular interface view, Cellular channel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Generally, the IP layer limits the size of a packet sent each time. Any time the IP layer receives an IP packet, it checks to which local interface the packet needs to be sent and obtains the MTU of the interface. Then, the IP layer compares the MTU with the packet size. If the packet size is larger than the MTU, the IP layer disassembles the packet to fragments smaller than the MTU.

If forcible unfragmentation is configured, oversized packets are discarded at the IP layer. To prevent packet loss on the network, large packets must be forcibly fragmented. Run the mtu command to set the size of a fragment.

Precautions

If you run the mtu command multiple times in the same cellular interface view or cellular channel interface, only the latest configuration takes effect.

Follow-up Procedure

Run the shutdown and undo shutdown/restart commands to restart the related physical interface to make the configuration take effect.

Example

# Set the MTU of cellular interface 0/0/0 to 1200 bytes.

<Huawei> system-view
[Huawei] interface cellular 0/0/0 
[Huawei-Cellular0/0/0] mtu 1200
[Huawei-Cellular0/0/0] restart

multi-apn enable

Function

The multi-apn enable command enables the multi-APN function on a cellular interface.

The undo multi-apn enable command disables the multi-APN function on a cellular interface.

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

Format

multi-apn enable

undo multi-apn enable

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A cellular interface can be configured with two cellular channel interfaces. After the multi-APN function is configured, you can create two APN profiles and bind the APN profiles respectively to the two cellular channel interfaces. One APN connects to the Internet for data communication, and the other connects to the IMS network for VoIP communication.

Precautions

The multi-APN function can be configured on the LTE cellular interface (Cellular 0/0/0) of the AR611W-LTE4CN, AR617VW-LTE4EA, and AR617VW-LTE4.

LTE interface cards (except 1LTE-Lo and 1LTE6-EA) support the multi-APN function.

5G interface cards support the multi-APN function.

If the multi-apn enable or undo multi-apn enable command is run on the 1ELTE6-EA, 1ELTE-L-S, AR617VW-LTE4 in V300R021C10 or a later version, the device restarts the modem to make the command take effect.

Example

# Enable the multi-APN function on the cellular interface.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] multi-apn enable
Warning: The modified multi-apn can take effect only after the modem reboot. The modem will reboot. Continue? [Y/N]:
Jun  8 2020 03:03:06+00:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface Cellular0/0/0 has turned into UP state.

packet-service recover

Function

The packet-service recover command configures a modem to automatically restart and sets the interval at which a modem automatically restarts.

The undo packet-service recover command cancels the configuration.

By default, a modem does not automatically restart.

Format

packet-service recover interval

undo packet-service recover

Parameters

Specification

Description

Value

interval

Specifies the interval at which a modem automatically restarts.

The value is an integer that ranges from 10 to 86400, in seconds.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

When a modem is not attached to a PS domain, you can run the packet-service recover command to configure a modem to automatically restart and set the interval at which the modem automatically restarts. Then the modem automatically restarts and starts dialing until it is attached to a PS domain.

Example

# Set the interval at which a modem automatically restarts to 200s.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] packet-service recover 200

pin modify

Function

The pin modify command changes the personal identification number (PIN) of a SIM, USIM or UIM card.

Format

pin modify

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command to set a new PIN for the SIM, USIM, or UIM card. The new PIN is saved on the SIM, USIM or UIM card.

Precautions

  • This command is valid only when a modem with a SIM, USIM, or UIM card is connected to a cellular interface.

  • The PIN of a SIM, USIM, or UIM card can be changed only when PIN authentication is enabled on the modem.

Example

# Change the PIN.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] pin modify
Enter Current Pin Code:                                                         
Enter Pin Code:                                                                 
Confirm Pin Code:                                                               
Warning: PIN will be changed. Continue? [Y/N]:y                                 
PIN has been changed successfully.    

pin unlock

Function

The pin unlock command unlocks the SIM, USIM or UIM card using the personal identification number unlocked key (PUK) and sets a new PIN.

Format

pin unlock

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The PIN unblocking key (PUK) is allocated by the carrier. If a user enters incorrect PINs three consecutive times, the SIM, USIM or UIM card is locked to ensure security of the card. To unlock the card, enter the PUK.

Precautions

This command is valid only when a modem with a SIM, USIM, or UIM card is connected to a cellular interface.

If a user enters incorrect PUKs ten consecutive times, the SIM, USIM, or UIM card is permanently locked and the user needs to obtain a new one from the carrier.

Example

# Unlock the SIM, USIM or UIM card using the PUK and sets a new PIN.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] pin unlock
Enter Current Puk Code:                                                         
Enter Pin Code:                                                                 
Confirm Pin Code:                                                                                                                     
Warning: PIN will be unlocked and changed. Continue? [Y/N]:y                    
Unlocking PIN...Please wait...                                                  
PIN has been unlocked and changed successfully.     

pin verification

Function

The pin verification command enables or disables PIN authentication on a modem.

By default, PIN authentication is disabled.

Format

pin verification enable [ auto ]

pin verification disable

Parameters

Parameter

Description

Value

enable

Enables PIN authentication.

-

disable

Disables PIN authentication.

-

auto

Indicates automatic PIN authentication.

This parameter can be specified if you do not require high security of the SIM, USIM, or UIM card. After this parameter is specified, you do not need to enter the PIN every time you use the SIM, USIM, or UIM card.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A PIN identifies the user of a SIM, USIM, or UIM card.

PIN authentication prevents unauthorized users from using a SIM, USIM, or UIM card. You can use a modem only after the PIN is authenticated.

Precautions

  • This command is valid only when a modem with a SIM, USIM, or UIM card is connected to a cellular interface.

  • If PIN authentication in auto mode fails, you must manually enter the PIN for authentication.

Example

# Enable PIN authentication on the modem.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] pin verification enable auto
Enter Current Pin Code:  

pin verify

Function

The pin verify command authenticates a PIN.

Format

pin verify [ auto ]

Parameters

Parameter

Description

Value

auto

Indicates automatic PIN authentication.

This parameter can be specified if you do not require high security of the SIM, USIM or UIM card. After this parameter is specified, you do not need to enter the PIN every time you use the SIM, USIM or UIM card.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After PIN authentication is enabled, you are required to enter the correct PIN every time you use the SIM, USIM or UIM card. If the PIN authentication fails, data communication is unavailable on the modem.

Precautions

  • If you enter incorrect PINs three consecutive times, the PIN of the SIM, USIM or UIM card is locked.

  • This command is valid only when a modem with a SIM, USIM or UIM card is connected to a cellular interface.

A PIN is a decimal integer of 4 to 8 digits. Obtain the initial PIN from the carrier.

Example

# Authenticate the PIN.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] pin verify
Enter Current Pin Code:                                                         
 Verifying PIN...Please wait...                                                 
 PIN has been verified successfully. 

plmn search

Function

Using the plmn search command, you can configure a modem to search for available public land mobile networks (PLMNs).

Format

plmn search

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The plmn search command is a network detection command.

Precautions

  • This command applies only to WCDMA or LTE or 5G networks. This command is valid only when a modem with a SIM or USIM card is connected to a cellular interface.

  • It takes several minutes for a modem to complete the search after this command is executed.

    If the modem fails to search PLMNs after executing this command, the possible causes include poor signal quality, coverage hole, and signal interference. Wait for a period and run the command again.

Follow-up Procedure

After PLMNs are found, the system shows the searching results. Users can run the plmn select command to select a PLMN manually.

Example

# Search for PLMNs.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] plmn search

plmn select

Function

The plmn select command allows you to manually select a PLMN for a modem or configure the modem to automatically select a PLMN.

By default, a modem automatically selects a PLMN.

Format

Manually selecting a PLMN:

plmn select manual mcc mnc [ fail-over-auto ]

undo plmn select manual

Automatically selecting a PLMN:

plmn auto

Parameters

Parameter

Description

Value

manual

Manually selects a PLMN for a modem. When this keyword is used, set the mcc and mnc parameter.

-

mcc

Specifies the mobile country code (MCC) of a PLMN.

The value is an integer that ranges from 0 to 999.

mnc

Specifies the mobile network code (MNC) of a PLMN.

The value is an integer that ranges from 0 to 999.

fail-over-auto

Indicates that a modem automatically selects a PLMN when manual selection of a PLMN fails.

-

auto

Automatically selects a PLMN.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

For a WCDMA, LTE or 5G network, you can manually select a PLMN for a modem or configure the modem to automatically select a PLMN.

By default, a modem automatically selects a PLMN. If you have subscribed to WCDMA, LTE or 5G services and obtained the mobile country code (MCC) and mobile network code (MNC), you can manually select a PLMN.

Precautions

This command applies only to WCDMA, LTE or 5G networks. This command is valid only when a modem with a SIM or USIM card is connected to a cellular interface.

When the manual PLMN selection mode is use, the automatic PLMN selection mode is restored after you run the undo plmn select manual command. When the automatic PLMN selection mode is used, there is no change after you run this command.

If the manually selected PLMN is invalid or the manually selected PLMN is different from the operator code of the SIM card of the subscriber, the modem cannot connect to the network. Run the undo plmn select manual or plmn auto command to configure the modem to automatically select a PLMN, and run the modem reboot command to manually restart the modem.

Follow-up Procedure

Run the display cellular command to view information about the selected PLMN.

Example

# Manually select a PLMN for the modem.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] plmn select manual 460 03

profile create

Function

The profile create command creates a modem parameter profile and configures an APN.

Format

profile create profile-number { dynamic | static apn }

Parameters

Parameter

Description

Value

profile-number

Specifies the number of a parameter profile.

The value is 1.

dynamic

Configures an APN dynamically.

-

static apn

Configures an APN manually.

To obtain an APN, contact the local carrier.

The value is a string of characters that can contain only digits, uppercase letters, lowercase letters, periods (.), and hyphens (-). The length range is as follows:
  • EC25 and RG500Q modems: 1–39
  • EC200T, RG801, and EP06 modems: 1–62
  • Other modems: 1–99

To obtain the modem type, run the display cellular command and check the Model field.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An access point name (APN) identifies a service type on a WCDMA, LTE, or 5G network. The WCDMA, LTE, or 5G system provides services based on the APN used by a user to access the WCDMA, LTE, or 5G network.

Precautions

This command applies only to WCDMA, LTE, and 5G networks. This command takes effect only when the modem and SIM/USIM card are installed.

APNs vary depending on WCDMA, LTE, and 5G network carriers. You can obtain the APN from the local carrier.

Example

# Create a modem parameter profile and set the APN to 3GNET.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] profile create 1 static 3GNET

profile delete

Function

Using the profile delete command, you can delete the parameter profile of a modem.

Format

profile delete profile-number

Parameters

Parameter

Description

Value

profile-number

Specifies the number of a description profile.

The value is 1.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

This command applies only to WCDMA, LTE or 5G networks. This command is valid only when a modem with a SIM or USIM card is connected to a cellular interface.

Example

# Delete the parameter profile of the modem connected to cellular interface 0/0/0.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] profile delete 1

profile create lte-default

Function

The profile create lte-default command configures the default APN for an LTE network.

Format

profile create lte-default apn [ user username password { cipher | simple } password authentication-mode { chap | pap } ]

Parameters

Parameter

Description

Value

apn

Specifies the default APN for an LTE network.

The value is a string of characters that can contain only digits, uppercase letters, lowercase letters, periods (.), and hyphens (-). The length range is as follows:
  • EC25 module: 1 to 39
  • EC200T, EC200A and EP06 modules: 1 to 62
  • Other modules: 1 to 99

To obtain the modem type, run the display cellular command and check the Model field.

user username

Specifies the user name provided by a carrier for accessing an external PDN.

The value is a string of 1 to 127 case-sensitive characters. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

password { cipher | simple } password

Specifies the password provided by a carrier for accessing an external PDN.

The password types are as follows:
  • cipher: indicates the ciphertext password. Either the plaintext or ciphertext password can be entered, but the password is displayed in cipher text when the configuration file is viewed. By default, the password is in cipher text.
  • simple: indicates the plaintext password. The plaintext password can be entered, and the password is displayed in plain text when the configuration file is viewed.
    NOTICE:

    If simple is selected, the password is saved in plain text in the configuration file. This brings potential security risks. You are advised to select cipher to save the password in cipher text.

The value is a string of 1 to 127 case-sensitive characters. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

authentication-mode { chap | pap }

Specifies the authentication mode.

  • chap: CHAP authentication
  • pap: PAP authentication

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Some carriers require that devices connect to LTE networks through the default APN, whereas other carriers do not have such requirements. If users are required to connect to a carrier's LTE network through the default APN, you can run the profile create lte-default command to configure the default APN for the LTE network.

You can run the profile delete lte-default command to delete the default APN configured for an LTE network.

Precautions

This command applies only to LTE networks. This command takes effect only when the LTE modem and SIM/USIM card are installed.

APNs vary depending on LTE network carriers. You can obtain the APN from the local carrier.

Example

# Set the default APN of an LTE network to CMNET.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] profile create lte-default CMNET

profile create lte-default sim-id

Function

The profile create lte-default command configures the default APN for an LTE network.

By default, no default APN is configured for an LTE network.

Format

profile create lte-default apn [ user username password { cipher | simple } password authentication-mode { chap | pap } ] sim-id sim-id

Parameters

Parameter

Description

Value

apn

Specifies the default APN for an LTE network.

The value is a string of characters that can contain only digits, uppercase letters, lowercase letters, periods (.), and hyphens (-). The length range is as follows:
  • EC25 module: 1 to 39
  • EC200T, EC200A and EP06 modules: 1 to 62
  • Other modules: 1 to 99

To obtain the modem type, run the display cellular command and check the Model field.

user username

Specifies the user name provided by a carrier for accessing an external PDN.

The value is a string of 1 to 127 case-sensitive characters. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

password { cipher | simple } password

Specifies the password provided by a carrier for accessing an external PDN.

The password types are as follows:
  • cipher: indicates the ciphertext password. Either the plaintext or ciphertext password can be entered, but the password is displayed in cipher text when the configuration file is viewed. By default, the password is in cipher text.
  • simple: indicates the plaintext password. The plaintext password can be entered, and the password is displayed in plain text when the configuration file is viewed.
    NOTICE:

    If simple is selected, the password is saved in plain text in the configuration file. This brings potential security risks. You are advised to select cipher to save the password in cipher text.

The value is a string of 1 to 127 case-sensitive characters. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

authentication-mode { chap | pap }

Specifies the authentication mode.

  • chap: CHAP authentication
  • pap: PAP authentication

-

sim-id

Specifies the ID of the SIM card to which the default APN is bound.

The value is 1 or 2, corresponding to the device ID.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Some carriers require that devices connect to LTE networks through the default APN. In dual-card single-standby scenarios, if the two SIM cards need to connect to different carriers' LTE networks through different default APNs, you can run the profile create lte-default sim-id command to bind different default APNs to the IDs of the SIM cards, so that the corresponding default APN is delivered to the LTE modem during a SIM card switchover.

You can run the profile delete lte-default sim-id command to delete the default APN configured for an LTE network.

Precautions

  • This command applies only to LTE networks. This command takes effect only when the LTE modem and SIM/USIM card are installed.

  • APNs vary depending on LTE network carriers. You can obtain the APN from the local carrier.

  • If two SIM cards connect to a carrier's LTE network through the same default APN, it is recommended that you run the profile create lte-default command to configure the default APN.

  • If the profile create lte-default command has been configured, an error message will be displayed when the profile create lte-default sim-id command is configured. To run the profile create lte-default sim-id command, delete the original configuration first. Similarly, if the profile create lte-default sim-id command has been configured, you need to delete the command configuration first before running the profile create lte-default command.

  • If the profile create lte-default command has been executed to configure two SIM cards to connect to a carrier's LTE network through the same default APN, you can only delete the default APN configured for the LTE network using the profile delete lte-default command.

Example

# Set the default APN for SIM card 1 to connect to an LTE network to CMNET.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] profile create lte-default CMNET sim-id 1

profile delete lte-default

Function

The profile delete lte-default command deletes the default APN configured for an LTE network.

Format

profile delete lte-default

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Some carriers require that devices connect to LTE networks through the default APN, whereas other carriers do not have such requirements. To delete the default APN configured using the profile create lte-default command for an LTE network, run the profile delete lte-default command.

Precautions

This command applies only to LTE networks. This command takes effect only when the LTE modem and SIM/USIM card are installed.

Example

# Delete the default APN configured for an LTE network.

<Huawei> system-view
[Huawei] interface cellular 2/0/0
[Huawei-Cellular2/0/0] profile delete lte-default

profile delete lte-default sim-id

Function

The profile delete lte-default sim-id command deletes the default APN configured for an LTE network.

Format

profile delete lte-default sim-id sim-id

Parameters

Parameter

Description

Value

sim-id

Specifies the ID of the SIM card to which the default APN to be deleted is bound.

The value is 1 or 2, corresponding to the device ID.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Some carriers require that devices connect to LTE networks through the default APN, whereas other carriers do not have such requirements. To delete the default APN configured for an LTE network using the profile create lte-default sim-id command, run the profile delete lte-default sim-id command.

Precautions

  • This command only applies to LTE networks. This command takes effect only when the LTE modem and SIM/USIM card are installed.

  • If the default APN for the SIM card to connect to a carrier's LTE network has been configured using the profile create lte-default sim-id command, you can only delete the default APN configured for the LTE network using the profile delete lte-default_sim-id command.

Example

# Delete the default APN for SIM card 1 to connect to an LTE network.

<Huawei> system-view
[Huawei] interface cellular 2/0/0
[Huawei-Cellular2/0/0] profile delete lte-default sim-id 1

profile create default

Function

The profile create default command configures the default APN for a 5G network.

Format

profile create default apn [ user username password { cipher | simple } password authentication-mode { chap | pap } ]

Parameters

Parameter

Description

Value

apn

Specifies the default APN for a 5G network.

The value is a string of characters that can contain only digits, uppercase letters, lowercase letters, periods (.), and hyphens (-). The length range is as follows:
  • RG500Q module: 1–39
  • RG801 module: 1–62

To obtain the modem type, run the display cellular command and check the Model field.

user username

Specifies the user name provided by a carrier for accessing an external PDN.

The value is a string of 1 to 127 case-sensitive characters. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

password { cipher | simple } password

Specifies the password provided by a carrier for accessing an external PDN.

The password types are as follows:
  • cipher: indicates the ciphertext password. Either the plaintext or ciphertext password can be entered, but the password is displayed in cipher text when the configuration file is viewed. By default, the password is in cipher text.
  • simple: indicates the plaintext password. The plaintext password can be entered, and the password is displayed in plain text when the configuration file is viewed.
    NOTICE:

    If simple is selected, the password is saved in plain text in the configuration file. This brings potential security risks. You are advised to select cipher to save the password in cipher text.

The value is a string of 1 to 127 case-sensitive characters. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

authentication-mode { chap | pap }

Specifies the authentication mode.

  • chap: CHAP authentication
  • pap: PAP authentication

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Some carriers require that devices connect to 5G networks through the default APN, whereas other carriers do not have such requirements. If users are required to connect to a carrier's 5G network through the default APN, you can run the profile create default command to configure the default APN for the 5G network.

You can run the profile delete default command to delete the default APN configured for a 5G network.

Precautions

This command applies to 5G networks. This command takes effect only when the modem and SIM/USIM card are installed.

APNs vary depending on 5G network carriers. You can obtain the APN from the local carrier.

Example

# Set the default APN of a 5G network to CMNET.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] profile create default CMNET

profile create default sim-id

Function

The profile create default command configures the default APN for a 5G network.

By default, no default APN is configured for a 5G network.

Format

profile create default apn [ user username password { cipher | simple } password authentication-mode { chap | pap } ] sim-id sim-id

Parameters

Parameter

Description

Value

apn

Specifies the default APN for a 5G network.

The value is a string of characters that can contain only digits, uppercase letters, lowercase letters, periods (.), and hyphens (-). The length range is as follows:
  • RG500Q module: 1–39
  • RG801 module: 1–62

To obtain the modem type, run the display cellular command and check the Model field.

user username

Specifies the user name provided by a carrier for accessing an external PDN.

The value is a string of 1 to 127 case-sensitive characters. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

password { cipher | simple } password

Specifies the password provided by a carrier for accessing an external PDN.

The password types are as follows:
  • cipher: indicates the ciphertext password. Either the plaintext or ciphertext password can be entered, but the password is displayed in cipher text when the configuration file is viewed. By default, the password is in cipher text.
  • simple: indicates the plaintext password. The plaintext password can be entered, and the password is displayed in plain text when the configuration file is viewed.
    NOTICE:

    If simple is selected, the password is saved in plain text in the configuration file. This brings potential security risks. You are advised to select cipher to save the password in cipher text.

The value is a string of 1 to 127 case-sensitive characters. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

authentication-mode { chap | pap }

Specifies the authentication mode.

  • chap: CHAP authentication
  • pap: PAP authentication

-

sim-id

Specifies the ID of the SIM card to which the default APN is bound.

The value is 1 or 2, corresponding to the device ID.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Some carriers require that devices connect to 5G networks through the default APN. In dual-card single-standby scenarios, if the two SIM cards need to connect to different carriers' 5G networks through different default APNs, you can run the profile create default sim-id command to bind different default APNs to the IDs of the SIM cards, so that the corresponding default APN is delivered to the 5G modem during a SIM card switchover.

You can run the profile delete default sim-id command to delete the default APN configured for a 5G network.

Precautions

  • This command applies to 5G networks. This command takes effect only when the modem and SIM/USIM card are installed.

  • APNs vary depending on 5G network carriers. You can obtain the APN from the local carrier.

  • If two SIM cards connect to a carrier's 5G network through the same default APN, it is recommended that you run the profile create default command to configure the default APN.

  • If the profile create default command has been configured, an error message will be displayed when the profile create default sim-id command is configured. To run the profile create default sim-id command, delete the original configuration first. Similarly, if the profile create default sim-id command has been configured, you need to delete the command configuration first before running the profile create default command.

  • If the profile create default command has been executed to configure two SIM cards to connect to a carrier's 5G network through the same default APN, you can only delete the default APN configured for the 5G network using the profile delete default command.

Example

# Set the default APN for SIM card 1 to connect to a 5G network to CMNET.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] profile create default CMNET sim-id 1

profile delete default

Function

The profile delete default command deletes the default APN configured for an 5G network.

Format

profile delete default

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Some carriers require that devices connect to 5G networks through the default APN, whereas other carriers do not have such requirements. To delete the default APN configured using the profile create default command for an 5G network, run the profile delete default command.

Precautions

This command applies to 5G networks. This command takes effect only when the 5G modemand SIM/USIM card are installed.

Example

# Delete the default APN configured for an 5G network.

<Huawei> system-view
[Huawei] interface cellular 2/0/0
[Huawei-Cellular2/0/0] profile delete default

profile delete default sim-id

Function

The profile delete default sim-id command deletes the default APN configured for an 5G network.

Format

profile delete default sim-id sim-id

Parameters

Parameter

Description

Value

sim-id

Specifies the ID of the SIM card to which the default APN to be deleted is bound.

The value is 1 or 2, corresponding to the device ID.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Some carriers require that devices connect to 5G networks through the default APN, whereas other carriers do not have such requirements. To delete the default APN configured for an 5G network using the profile create default sim-id command, run the profile delete default sim-id command.

Precautions

  • This command applies to 5G networks. This command takes effect only when the 5G modem and SIM/USIM card are installed.

  • If the default APN for the SIM card to connect to a carrier's 5G network has been configured using the profile create default sim-id command, you can only delete the default APN configured for the 5G network using the profile delete default_sim-id command.

Example

# Delete the default APN for SIM card 1 to connect to an 5G network.

<Huawei> system-view
[Huawei] interface cellular 2/0/0
[Huawei-Cellular2/0/0] profile delete default sim-id 1

reset counters cellular

Function

Using the reset counters cellular command, you can clear traffic statistics on a cellular interface or cellular channel interface.

Format

reset counters interface cellular [ interface-number ]

Parameters

Parameter

Description

Value

interface-number

Specifies the number of a cellular interface or cellular channel interface.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

Before collecting traffic statistics on a cellular interface or cellular channel interface, run the reset counters cellular command to clear the existing traffic statistics.

Example

# Clear traffic statistics on cellular interface 0/0/0.

<Huawei> reset counters interface cellular 0/0/0

rssi-threshold

Function

The rssi-threshold command sets the RSSI threshold for successfully establishing a 3G/LTE/5G link. Only when the RSSI is greater than the threshold, a modem can establish a 3G/LTE/5G link successfully.

The undo rssi-threshold restores the default setting.

By default, a modem does not establish a 3G/LTE/5G link based on the RSSI threshold.

Format

rssi-threshold rssi-threshold

undo rssi-threshold

Parameters

Parameter

Description

Setting

rssi-threshold

Specifies the RSSI threshold for successfully establishing a 3G/LTE/5G link.

The value is an integer that ranges from -120 to -60, in dBm.

Views

Cellular interface view, Cellular channel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Usually, signal quality does not affect 3G/LTE/5G link establishment by a modem in dialup mode. You can use the rssi-threshold command to configure signal quality to affect establishment and disconnection of 3G/LTE/5G links. When the RSSI is less than or equal to the threshold, the modem cannot establish 3G/LTE/5G link in dialup mode, and the established 3G/LTE/5G links will be disconnected.

  • When services have high 3G/LTE/5G link quality requirements and will be greatly affected by poor link quality, set a large RSSI threshold to detect link quality and take measures in a timely manner.
  • When services have low 3G/LTE/5G link quality requirements and will be slightly affected by poor link quality, set a small RSSI threshold to prevent establishment failures and disconnection of 3G/LTE/5G links.

Precautions

  • When you run the rssi-threshold rssi-threshold command multiple times on a cellular interface or cellular channel interface, only the latest configuration takes effect.

  • When you run the rssi-threshold command on both the cellular interface and cellular channel interface, only the configuration on the cellular channel interface takes effect.

Example

# Set the RSSI threshold for successfully establishing a 3G/LTE/5G link to -100 dBm.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] rssi-threshold 100

service domain

Function

The service domain command configures the service domain of a modem.

By default, a modem works in both the CS domain and PS domain.

Format

service domain { ps-only | combined }

Parameters

Parameter

Description

Value

ps-only

Configures a modem to work only in the PS domain.

-

combined

Configures a modem to work in both the CS domain and PS domain.

-

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The 3G network supports both the CS domain and PS domain. The LTE or 5G network supports only the PS domain. To prevent services in the CS domain from changing the network from an LTE or 5G network to a 3G network, you can run the service domain ps-only command to configure a modem to work only in the PS domain when it connects to an LTE or 5G network.

Precautions

You can run the display cellular command to view the configured service domain of a modem.

After configuring the service domain of a modem, run the modem reboot command to restart the modem to make the configuration take effect.

Example

# Configure a modem to work only in the PS domain.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] service domain ps-only
Info: The service domain will take effect after modem reboot. 

sim-card reboot

Function

The sim-card reboot command restarts a SIM, USIM, or UIM card.

Format

sim-card reboot

Parameters

None

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A modem can automatically detect whether a SIM, USIM, or UIM card is properly installed. To restart a SIM, USIM, or UIM card, run the sim-card reboot command.

Precautions
  • When this command is executed to manually restart a SIM, USIM, or UIM card, services on the specified cellular interface will be interrupted.

  • SIM, USIM, and UIM cards are not hot swappable.

    To ensure that the installed SIM, USIM, and UIM cards work properly, run the sim-card reboot command to manually restart the cards after hot swapping these cards.

    To check whether SIM, USIM, and UIM cards are working properly, run the display cellular command to view the SIM Status or UIM Status field.

Example

# Restart a SIM, USIM, or UIM card.

<Huawei> system-view
[Huawei] interface Cellular 0/0/0
[Huawei-Cellular0/0/0] sim-card reboot
Warning: The SIM/USIM card will reset. Continue? [Y/N]:y

sim-id

Function

The sim-id command sets the ID of a SIM card on an APN profile to determine the master or backup SIM card to be bound to the APN profile.

The undo sim-id command restores the default setting.

The default ID of a SIM card is 1.

Format

sim-id sim-id

undo sim-id

Parameters

Parameter

Description

Value

sim-id

Specifies the ID of the SIM card bound to an APN profile.

The value is 1 or 2.

  • The value 1 indicates that the APN profile is bound to the master SIM card.
  • The value 2 indicates that the APN profile is bound to the backup SIM card.

Views

APN profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To improve data transmission reliability of the 3G or LTE or 5G link, you can use two 3G cellular interfaces. One cellular interface functions as the master link to connect to a 3G or LTE or 5G network, the other cellular interface functions as the backup link to connect to another 3G or LTE or 5G network. When the master 3G or LTE or 5G link is faulty, traffic is automatically switched to the backup 3G or LTE or 5G link, improving reliability of access to the Internet.

However, some devices do not support two cellular interfaces or the costs of two cellular interfaces are high for users. Users can use a cellular interface supporting dual SIM cards. One SIM card functions as the master SIM card, the other SIM card functions as the backup SIM card. The master and backup SIM cards connect to different 3G or LTE or 5G networks. If dial-up fails because the account balance of the master SIM card is insufficient, the master SIM card is faulty, the 3G or LTE or 5G link signal quality is poor, or the connected 3G or LTE or 5G network is faulty, traffic is automatically switched to the backup SIM card, ensuring uninterrupted enterprise services.

You can run the sim-id command on an APN profile to set the ID of a SIM card to determine the master or backup SIM card to be bound to the APN profile.

  • When the APN profile is bound to the master SIM card, the cellular interface can connect to the 3G or LTE or 5G network through the master SIM card.
  • When the APN profile is bound to the backup SIM card, the cellular interface can connect to the 3G or LTE or 5G network through the backup SIM card.
  • When the cellular interface are bound both to the APN profiles, the master SIM card is preferentially used to connect to the 3G or LTE or 5G network. Only if dial-up fails because the account balance of the master SIM card is insufficient, the master SIM card is faulty, the 3G or LTE or 5G link signal quality is poor, or the connected 3G or LTE or 5G network is faulty, traffic is automatically switched to the backup SIM card.

Precautions

If you run the sim-id command in the same APN profile view multiple times, only the latest configuration takes effect.

The master and backup SIM cards cannot simultaneously work. Upon a SIM card switchover, traffic is interrupted for a short period.

Example

# Set the ID of the SIM card bound to the APN profile ltenet to 2, indicating that ltenet is bound to the backup SIM card.

<Huawei> system-view
[Huawei] apn profile ltenet
[Huawei-apn-profile-ltenet] sim-id 2

sim switch to

Function

The sim switch to command performs a manual active/standby SIM card switchover.

Format

sim switch to sim-id

Parameters

Parameter

Description

Value

sim-id

Specifies the ID of the SIM card to which services are switched.

The value is 1 or 2.

  • The value 1 indicates that services are manually switched to the active SIM card.
  • The value 2 indicates that services are manually switched to the standby SIM card.

Views

Cellular interface view, Cellular channel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a dual-SIM card scenario, if the automatic SIM card switchover function is not configured or the conditions for an automatic SIM card switchover are not met, and you need to quickly switch the SIM cards, run the sim switch to command to perform a manual SIM card switchover.

Precautions

  • A manual SIM card switchover leads to service interruptions for a short period and affects service transmission. Exercise caution when performing this operation.
  • After the SIM cards are switched using the sim switch to command, configurations cannot be saved and are restored to the configurations of the active SIM card once the device restarts.
  • After an active/standby SIM card switchover, the modem automatically restarts. Exercise caution when performing this operation.

Example

# Perform a manual active/standby SIM card switchover.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] sim switch to 2
Warning: This operation will switch to SIM ID 2 Continue? [Y/N]:y

sim switch rssi-threshold

Function

The sim switch rssi-threshold command enables the active/standby SIM card switchover function based on the received signal strength indicator (RSSI) threshold.

The undo sim switch rssi-threshold command disables the active/standby SIM card switchover function based on the RSSI threshold.

By default, a cellular interface does not perform active/standby SIM card switchovers based on the RSSI threshold.

Format

sim switch rssi-threshold rssi-threshold

undo sim switch rssi-threshold

Parameters

Parameter

Description

Value

rssi-threshold

Specifies the RSSI threshold for an active/standby SIM card switchover.

When the received signal strength is lower than the RSSI threshold, the cellular interface automatically performs an active/standby SIM card switchover. For example, if the RSSI threshold is –105 dBm, the SIM cards are switched when the received signal strength is lower than –105 dBm.

The value is an integer in the range –120 to –60, in dBm.

The recommended value is –105 dBm.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When two SIM cards are available, if the 3G, LTE, or 5G link signal quality on one SIM card is poor and affects data transmission, the other SIM card needs to provide 3G, LTE, or 5G services in time.

The RSSI indicates the strength of signals received on a cellular interface. You can run the sim switch rssi-threshold command to configure the active/standby SIM card switchover function based on the RSSI threshold. When the received signal strength is lower than the RSSI threshold, the cellular interface automatically performs an active/standby SIM card switchover.

Precautions

Set the RSSI threshold based on the 3G, LTE, or 5G link signal quality.

  • A large RSSI threshold (for example, –70 dBm) results in frequent switchovers between SIM cards. As a result, traffic is frequently interrupted.
  • A small RSSI threshold (for example, –110 dBm) results in no switchover between SIM cards even if the 3G, LTE, or 5G link signal quality is poor. As a result, users will always use SIM cards that provide poor 3G, LTE, or 5G services.

If you run the sim switch rssi-threshold rssi-threshold command multiple times in the same cellular interface view, only the latest configuration takes effect.

After an active/standby SIM card switchover, the modem automatically restarts. Exercise caution when performing this operation.

Example

# Enable the active/standby SIM card switchover function when the signal strength is lower than –105 dBm.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] sim switch rssi-threshold 105

sim switch-back enable

Function

The sim switch-back enable command enables an automatic switchback from the standby SIM card to the active SIM card.

The undo sim switch-back enable command disables an automatic switchback from the standby SIM card to the active SIM card.

By default, traffic on the standby SIM card is not automatically switched back to the active SIM card.

Format

sim switch-back enable [ timer time ]

undo sim switch-back enable

Parameters

Parameter

Description

Value

timer time

Indicates the specified period of time after which traffic on the standby SIM card is automatically switched back to the active SIM card.

When this parameter is not specified, traffic on the standby SIM card is automatically switched back to the active SIM card after 60 minutes.

The value is an integer ranging from 1 to 65535, in minutes.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When two SIM cards are available, if the link signal quality of the active SIM card is poor or the connected carrier network is faulty, traffic is automatically switched to the standby SIM card. After a period of time, if the link signal quality becomes good or the connected carrier network is recovered, you can run the sim switch-back enable command to enable an automatic switchback from the standby SIM card to the active SIM card.

Precautions

If you run the sim switch-back enable timer time command multiple times in the same cellular interface view, only the latest configuration takes effect.

After you run the sim switch-back enable [ timer time ] command to enable an automatic switchback from the standby SIM card to the active SIM card, ensure that the link on the active SIM card can recover after the time specified by timer time expires. Otherwise, traffic is frequently switched between the active and standby SIM cards, affecting service transmission.

After an active/standby SIM card switchover, the modem automatically restarts. Exercise caution when performing this operation.

Example

# Enable an automatic switchback from the standby SIM card to the active SIM card.

<Huawei> system-view
[Huawei] interface cellular 0/0/0
[Huawei-Cellular0/0/0] sim switch-back enable

sms delete interface cellular

Function

The sms delete interface cellular command deletes SMS messages saved in the SIM card.

Format

sms delete interface cellular interface-number { sms-id | all }

Parameters

Parameter

Description

Value

interface-number

Specifies the number of a cellular interface or cellular channel interface.

-

sms-id

Specifies the ID of an SMS message to be deleted.

The value is an integer that ranges from 0 to 255.

all

Deletes all SMS messages.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The device can receive SMS messages sent by user mobile phones and save the SMS messages in the SIM card. If the number of SMS messages saved in the SIM card exceeds the maximum number, you can run this command to delete the SMS messages.

Example

# Delete all SMS messages saved in the SIM card.

<Huawei> system-view
[Huawei] sms delete interface cellular 2/0/0 all
Info: SMS delete success.

sms send interface cellular

Function

The sms send interface cellular command sends an SMS message to a specified destination number.

Format

sms send interface cellular interface-number destination-telephone-number

Parameters

Parameter

Description

Value

interface-number

Specifies the number of a cellular interface or cellular channel interface.

-

destination-telephone-number

Specifies the destination number that receives the SMS message.

The value is a string of 1 to 21 characters without spaces. It can contain an asterisk (*), a plus sign (+), a number sign (#), and digits 0 to 9.

The plus sign (+) can be used only at the start of a character string. If a character string starts with a plus sign (+), the maximum string length is 21. If a character string starts with other characters, the maximum string length is 20.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To send an SMS message to a specified mobile number, you can run this command and write the SMS message to send it to the destination number.

Precautions

This command is an interactive command. After running the command, you can press Enter and enter the SMS message as prompted. Currently, the device can only send English SMS messages.

The content of an SMS message is a string of 0 to 160 case-sensitive characters with spaces. An SMS message uses a percent sign (%) as the terminator. The percent sign (%) is not included in the SMS message content.

A line feed in the SMS message content is considered as two characters, and cannot be deleted after being entered.

Example

# Configure the device to send the SMS message "I have received your message." to the user with the mobile number 13812345678.

<Huawei> system-view
[Huawei] sms send interface cellular 2/0/0 +8613812345678
Info: Please input sms content within 160 characters, end with character '%':   
I have received your message.%                                                  
Info: SMS send success.                                                         

sms-pool

Function

The sms-pool command displays the SMS service pool view.

The undo sms-pool command deletes all configurations in the SMS service pool view.

By default, there is no configuration in the SMS service pool view.

Format

sms-pool

undo sms-pool

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before running the sms item command to configure an SMS service, run the sms-pool command to enter the SMS service pool view.

Precautions

If an SMS service in the SMS service pool has been referenced by the sms send-item command, short messages cannot be sent after the undo sms-pool command is run to delete the configuration from the SMS service pool.

Example

# Display the SMS service pool view.

<Huawei> system-view
[Huawei] sms-pool
[Huawei-sms-pool] 

sms item

Function

The sms item command configures the phone numbers for receiving short messages, and short message content in the SMS service pool.

The undo sms item command deletes the configured SMS services.

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

Format

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

undo sms item item-id

Parameters

Parameter

Description

Value

item-id

Specifies the ID of an SMS service.

The value is an integer that ranges from 1 to 20.

telephone-number tel-number

User phone number for receiving short messages. A maximum of three phone numbers can be specified.

NOTE:

A user's phone number must be valid; otherwise, the user cannot receive short messages.

The value is a string of 1 to 21 characters. The value can contain the digits 0-9 and plus sign (+), and does not support spaces.

In addition, the plus sign (+) can only be the first character in the value. When the first character is the plus sign (+), the maximum value length is 21. When the first character is a digit, the maximum value length is 20.

content

Specifies the short message content.

NOTE:

This command is an interactive command. After running the command, press Enter and enter the short message content as prompted.

The value is a string of 1 to 160 case-sensitive characters with spaces. The value ends with %.

Views

SMS service pool view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the SMS service is configured in the SMS service pool, run the sms send-item command on a service interface to reference the SMS service with a specified ID. When the service interface status changes, the short message preset in the SMS service is sent to the specified user phone number.

Precautions

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

When the SMS service with a specified ID is referenced, it can be modified and can be deleted. If the SMS service is deleted, short messages cannot be sent.

Example

# Configure the SMS service with ID 1 to send the short message "The interface is in Up state." to the phone number +8613812345678.

<Huawei> system-view
[Huawei] sms-pool
[Huawei-sms-pool] sms item 1 telephone-number +8613812345678 content
Info: Please input the sms content within 160 characters, end with '%':         
The interface is in Up state.%  

sms send-item

Function

The sms send-item command configures the SMS alarm function on an interface to send a specified short message alarm to specific users when the interface status changes.

The undo sms send-item command deletes the configured SMS alarm function.

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

Format

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

undo sms send-item item-id

Parameters

Parameter

Description

Value

item-id

Specifies the ID of the SMS service to be referenced.

NOTE:

The value of item-id must have been configured using the sms item command; otherwise, the command cannot be run.

The value is an integer that ranges from 1 to 20.

track-interface { up | down }

Sends a short message alarm when detecting that the link status changes.

-

after time

Specifies the delay for sending a short message alarm.

If after time is not specified, a short message alarm is sent immediately.

After this parameter is specified, a short message alarm is sent only when the link status remains unchanged within the value of time. If the link status changes within the time, no short message alarm is sent.

The value is an integer that ranges from 1 to 65535, in minutes.

Views

Cellular interface view, ATM interface view, serial interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In the scenario of active/standby interface backup, when the active and standby links are switched, the active/standby interface status changes. Users can view the alarm on the device to know the interface status change. If users want to sense the interface status change anytime and anywhere, run this command to configure the SMS alarm function on the interface. After the function is configured, the alarm with the interface status change is sent to users in a short message.

Prerequisites

The SMS service with a specified ID has been configured using the sms item command.

Precautions

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.

Example

# Configure the SMS alarm function on Cellular0/0/0 to send the short message "The interface is in Up state." to the phone number +8613812345678 when the link on the interface goes Up. Send the short message "The interface is still in Up state." to the phone number if services are not switched back to the active link after 120 minutes.

<Huawei> system-view
[Huawei] sms-pool
[Huawei-sms-pool] sms item 1 telephone-number +8613812345678 content
Info: Please input the sms content within 160 characters, end with '%':         
The interface is in Up state.%  
[Huawei-sms-pool] sms item 2 telephone-number +8613812345678 content
Info: Please input the sms content within 160 characters, end with '%':         
The interface is still in Up state.%  
[Huawei-sms-pool] quit
[Huawei] interface cellular 2/0/0
[Huawei-Cellular2/0/0] sms send-item 1 track-interface up
[Huawei-Cellular2/0/0] sms send-item 2 track-interface up after 120

sms service-center-address

Function

The sms service-center-address command configures the SMS center number on a cellular interface.

The undo sms service-center-address command deletes the configured SMS center number.

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

Format

sms service-center-address service-center-number

undo sms service-center-address

Parameters

Parameter

Description

Value

service-center-number

Specifies the SMS center number.

The value is a string of 1 to 21 characters. The value can contain the digits 0-9 and plus sign (+). It does not support spaces.

In addition, the plus sign (+) can only be the first character in the value. When the first character is the plus sign (+), the maximum value length is 21. When the first character is a digit, the maximum value length is 20.

Views

Cellular interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command on a cellular interface to configure the SMS center number used for the interface to send short messages.

Precautions

Only one SMS center number can be configured on each cellular interface.

Example

# Configure the SMS center number +8613800000000 on Cellular2/0/0.

<Huawei> system-view
[Huawei] interface cellular 2/0/0
[Huawei-Cellular2/0/0] sms service-center-address +8613800000000

snmp-agent trap enable feature-name ifmtrap

Function

The snmp-agent trap enable feature-name ifmtrap command enables the trap function for the IFM module.

The undo snmp-agent trap enable feature-name ifmtrap command disables the trap function for the IFM module.

By default, the trap function of IFM module is enabled.

Format

snmp-agent trap enable feature-name ifmtrap [ trap-name { hw3gmibtrapcellidchange | hw3gpinmodify | hwifnumalarm | hwportlinedown | hwportlineup | hwportphysicalethfullduplexclear | hwportphysicalethhalfduplexalarm | hwportspeedchangetrap } ]

undo snmp-agent trap enable feature-name ifmtrap [ trap-name { hw3gmibtrapcellidchange | hw3gpinmodify | hwifnumalarm | hwportlinedown | hwportlineup | hwportphysicalethfullduplexclear | hwportphysicalethhalfduplexalarm | hwportspeedchangetrap } ]

Parameters

Parameter Description Value

trap-name

Enables the trap function for a specified event.

If this parameter is not specified, all trap functions for the IFM module are enabled.

-

hw3gmibtrapcellidchange

Enables the trap function for the cell ID change.

-

hw3gpinmodify

Enables the trap function for the PIN change.

-

hwifnumalarm

Enables the trap function for the number of interface reach the maximum.

-

hwportlinedown

Enables the trap function for the port line turn into DOWN.

-

hwportlineup

Enables the trap function for the port line turn into UP.

-

hwportphysicalethfullduplexclear

Enables the trap function for the interface duplex mode change from half-duplex to full-duplex.

-

hwportphysicalethhalfduplexalarm

Enables the trap function for the interface duplex mode change from full-duplex to half-duplex.

-

hwportspeedchangetrap

Enables the trap function for the interface rate change.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

You can specify trap-name to enable the trap function for a specified event.

Example

# Enable the trap function for the interface duplex mode change from full-duplex to half-duplex.

<Huawei> system-view
[Huawei] snmp-agent trap enable feature-name ifmtrap trap-name hwportphysicalethhalfduplexalarm

user

Function

The user command configures the user name, password, and authentication mode for accessing an external PDN network.

The undo user command deletes the user configured for accessing an external PDN network.

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

Format

user name username password { cipher | simple } password [ authentication-mode { auto | pap | chap } ]

undo user name username

Parameters

Parameter

Description

Value

name username

Specifies the user name for accessing an external PDN network, which is provided by the carrier.

The value is a string of 1 to 64 case-sensitive characters without spaces.

cipher

Displays the password in cipher text.

-

simple

Displays the password in plain text.

NOTE:

When you specify simple, the password is saved in plain text in the configuration, which brings potential security risks. You are advised to specify cipher to save the password in the cipher text.

-

password

Specifies the user password for accessing an external PDN network, which is provided by the carrier.

The value is a case-sensitive character string without spaces. If simple is specified, the password is in plain text and contains 1 to 32 characters. If cipher is specified, the password is either in cipher text containing 24 to 68 characters, for example, %^%#k5bf>8df@:_;Na'+R"U,#L#w88HE1M.L4YY2~W2u0%RDL#z#%^%#, or in plain text containing 1 to 32 characters, for example, 214357.

authentication-mode { auto | pap | chap }

Specifies the authentication mode.

  • auto: PAP or CHAP authentication
  • pap: PAP authentication
  • chap: CHAP authentication

When the authentication-mode parameter is not specified, no authentication is performed by default.

NOTE:

Select a proper authentication mode based on the carrier network. PAP authentication provides lower security. When you specify auto or pap to enable the device to use PAP authentication, the password is transmitted in plain text on the network. This brings potential security risks.

-

Views

APN profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A user uses a cellular interface to access an external PDN network through a network. To ensure information security, the external PDN network authenticates the access user. The user can use the cellular interface to perform data communication with the external PDN network through a network only after the user passes the authentication.

Precautions

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

Example

# Configure the user name, password, and authentication mode for accessing the external PDN network.

<Huawei> system-view
[Huawei] apn profile 3gnet
[Huawei-apn-profile-3gnet] user name jack password cipher YsHsjx_202206 authentication-mode chap