05-Layer 2—WAN Access Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C MSR1000[2600][3600] Routers Configuration Guides(V9)-R9119-6W10005-Layer 2—WAN Access Configuration Guide
07-Mobile communication modem management configuration

Contents

Managing a mobile communication modem·· 1

About managing a mobile communication modem·· 1

Restrictions and guidelines: Mobile communication modem management 1

Restrictions and guidelines: Mobile communication modem management 1

Mobile communication modem management tasks at a glance· 2

Configuring a 3G modem cellular interface· 2

Configuring a 4G/5G modem cellular interface· 3

Configuring the Eth-channel interface for a 4G/5G modem·· 3

Configuring basic parameters for the Eth-channel interface· 3

Restoring the default settings for the Eth-channel interface· 4

Configuring an IP address for the Eth-channel interface of a 4G/5G modem·· 4

Configuring wireless network connection settings· 5

Configuring parameter profiles· 6

About parameter profiles· 6

Creating a parameter profile for a 3G modem·· 6

Creating a parameter profile for a 4G/5G modem·· 6

Specifying the primary and backup profiles· 7

Specifying the primary or secondary SIM card· 7

Configuring PIN verification· 8

Configuring a trusted IMSI 9

Configuring DM·· 9

Setting the RSSI thresholds· 10

Issuing a configuration directive to a mobile communication modem·· 10

Configuring mobile communication modem reboot 11

Configuring automatic reboot 11

Configuring manual reboot 11

Binding the IMSI of the SIM card to an interface· 12

Display and maintenance commands for mobile communication modem management 12

Mobile communication modem management configuration examples· 12

Example: Configuring 3G modem management 12

Example: Configuring 4G/5G modem management 13

Troubleshooting· 14

Symptom·· 14

Solution· 14


Managing a mobile communication modem

About managing a mobile communication modem

A mobile communication modem connects the device to a mobile communication network.

USB 3G/4G modems and SIC-3G/4G/5G modems are available for the device.

·     A USB 3G/4G modem is hot swappable. The device uses a fixed cellular interface to manage a USB 3G/4G modem. You can enter cellular interface view to perform configurations when the device does not have a USB 3G/4G modem installed. The configurations remain after the USB 3G/4G modem is removed from the device.

·     A SIC-3G/4G modem is not hot swappable. A SIC-5G modem is hot swappable. After a SIC-3G/4G/5G modem is installed in the device, the device creates a cellular interface automatically based on the number of the slot where the modem resides. The device uses this cellular interface to manage the SIC-3G/4G/5G modem. When the SIC-3G/4G/5G modem is removed, the system removes the cellular interface and the configurations on the interface.

A cellular interface can be channelized into a serial or an Eth-channel interface. The data link layer protocols of the serial interface and Eth-channel interface are PPP and Ethernet, respectively. The two interfaces support IP at the network layer.

The cellular interface of a 3G modem can only be channelized into a serial interface. The cellular interface of a 4G/5G modem can only be channelized into an Eth-channel interface.

Restrictions and guidelines: Mobile communication modem management

This feature is supported only on devices installed with USB 3G/4G mobile communication modems or SIC-3G/4G/5G mobile communication modems.

The MSR3620-X1, MSR3620-X1-XS, MSR3640-X1, MSR3640-XS, MSR3640-X1-HI, and MSR3660-XS do not support SIC-3G mobile communication modems.

Restrictions and guidelines: Mobile communication modem management

Follow these restrictions and guidelines when you configure mobile communication modem management:

·     Do not remove a USB 3G/4G modem while it is transmitting data. As a best practice, execute the shutdown command to shut down the USB 3G/4G modem before removing it.

·     A USB 3G/4G modem is not usable when the USB interface to which the modem is attached is shut down. For more information about shutting down a USB interface, see device management in Fundamentals Configuration Guide.

·     You cannot manage USB 4G modems at the CLI. Therefore, some commands are not supported on devices that connect to a mobile communication network through a USB 4G modem. For more information, see the command reference.

·     Unless otherwise noted, the mobile communication modem configuration in this document is saved in the NVM of the mobile communication modem. To view the configuration, execute the display cellular command.

Mobile communication modem management tasks at a glance

To management a mobile communication modem, perform the following tasks:

1.     Configuring the mobile communication modem cellular interface

¡     Configuring a 3G modem cellular interface

¡     Configuring a 4G/5G modem cellular interface

2.     Configuring the Eth-channel interface for a 4G/5G modem

3.     Configuring wireless network connection settings

4.     Configuring parameter profiles

5.     (Optional.) Specifying the primary or secondary SIM card

6.     (Optional.) Configuring PIN verification

7.     (Optional.) Configuring a trusted IMSI

8.     (Optional.) Configuring DM

9.     (Optional.) Setting the RSSI thresholds

10.     (Optional.) Issuing a configuration directive to a mobile communication modem

11.     (Optional.) Configuring mobile communication modem reboot

¡     Configuring automatic reboot

¡     Configuring manual reboot

12.     (Optional.) Binding the IMSI of the SIM card to an interface

Configuring a 3G modem cellular interface

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular cellular-number

3.     (Optional.) Configure a description for the cellular interface.

description text

By default, the description for a cellular interface is interface name Interface, for example, Cellular 2/4/0 Interface.

4.     Channelize the cellular interface into a synchronous/asynchronous serial interface.

serial-set set-number

The serial interface name is in serial cellular-number:set-number format. You can configure PPP and DDR, and specify an IP address for the serial interface channelized from the cellular interface.

5.     Bring up the cellular interface.

undo shutdown

By default, a cellular interface is up.

Configuring a 4G/5G modem cellular interface

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular cellular-number

3.     Configure a description for the cellular interface.

description text

By default, the description for a cellular interface is interface name Interface, for example, Cellular 2/4/0 Interface.

4.     Channelize the cellular interface into an Eth-channel interface.

eth-channel channel-number

The Eth-channel interface name is in eth-channel cellular-number:channel-number format. You can specify an IP address and configure DDR for the Eth-channel interface.

5.     Bring up the cellular interface.

undo shutdown

By default, a cellular interface is up.

Configuring the Eth-channel interface for a 4G/5G modem

Configuring basic parameters for the Eth-channel interface

1.     Enter system view.

system-view

2.     Enter Eth-channel interface view.

interface eth-channel interface-number

3.     Configure a description of the Eth-channel interface.

description text

By default, the description for an Eth-channel interface is interface name Interface, for example, Echannel 2/4/0:0 Interface.

4.     Set the MTU for the Eth-channel interface.

mtu size

By default, the MTU for an Eth-channel interface is 1500 bytes.

5.     Set the expected bandwidth of the Eth-channel interface.

bandwidth bandwidth-value

By default, the expected bandwidth (in kbps) of an Eth-channel is the interface baud rate divided by 1000.

The baud rate of an Eth-channel interface is 100 Mbps.

6.     Bring up the Eth-channel interface.

undo shutdown

By default, an Eth-channel interface is up.

Restoring the default settings for the Eth-channel interface

Restrictions and guidelines

CAUTION

CAUTION:

Restoring the default interface settings might interrupt ongoing network services. Make sure you are fully aware of the impact of this command when you use it on a live network.

 

The default command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. Use the display this command in interface view to identify these commands. Then use their undo forms or follow the command reference to individually restore their default settings. If your restoration attempt still fails, follow the error message instructions to resolve the problem.

Procedure

1.     Enter system view.

system-view

2.     Enter Eth-channel interface view.

interface eth-channel interface-number

3.     Restore the default configurations.

default

Configuring an IP address for the Eth-channel interface of a 4G/5G modem

About this task

An Eth-channel interface can communicate with other devices only after it obtains an IP address. You can configure an IP address for an Eth-channel interface in the following ways:

·     DHCP—The Eth-channel interface obtains the modem's IP address as its own IP address through DHCP. The modem's IP address is automatically allocated by the service provider.

·     Modem manufacturer's proprietary protocol—The Eth-channel interface obtains the modem's IP address as its own IP address through the modem manufacturer's proprietary protocol. The modem's IP address is automatically allocated by the service provider.

·     Manual configuration.

The ways for the Eth-channel interface to obtain an IP address are mutually exclusive. The most recent configuration overrides the previous one.

Restrictions and guidelines

Changing the IP address will result in dialup interruption. Immediate re-dialup upon interruption might not be supported by service providers.

Procedure

1.     Enter system view.

system-view

2.     Enter Eth-channel interface view.

interface eth-channel interface-number

3.     Configure an IP address for the Eth-channel interface in one of the three ways.

¡     Obtain an IP address by using DHCP.

ip address dhcp-alloc

For more information about the command, see DHCP commands in Layer 3–IP Service Command Reference.

By default, an Eth-channel interface does not obtain an IP address through DHCP.

¡     Obtain an IP address by using the modem-manufacturer's proprietary protocol.

IPv4:

ip address cellular-alloc

IPv6:

ipv6 address cellular-alloc

By default, an Eth-channel interface does not obtain an IP address through the modem-manufacturer's proprietary protocol.

¡     Configure an IP address manually.

ip address ip-address { mask-length | mask } [ sub ]

By default, no IP address is specified for an Eth-channel interface.

Configuring wireless network connection settings

Restrictions and guidelines

A 3G modem can access a GSM, CDMA2000, TD-SCDMA, or WCDMA network. A 4G modem can access a GSM, CDMA2000, TD-SCDMA, WCDMA, or LTE network. A 5G modem can access a WCDMA, LTE, or 5G network.

A mobile communication modem selects a network to access from the available public land mobile networks (PLMNs). A PLMN is uniquely identified by the mobile country code (MCC) and the mobile network code (MNC). Some mobile communication modems can automatically access a mobile network. To manually specify a mobile network for a mobile communication modem, first search for available mobile networks.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     (Optional.) Search for PLMNs.

plmn search

4.     Configure a PLMN searching mode.

plmn select { auto | manual mcc mnc }

The default setting depends on the modem model.

5.     Specify the network connection mode.

mode { 1xrtt | auto | evdo | gsm | gsm-precedence | hybrid | lte | nr | td | td-precedence | wcdma | wcdma-precedence }

The default setting for this command and support for the arguments depend on the modem model.

6.     (Optional.) Specify a GSM frequency band.

gsm band { egsm900 | gsm450 | gsm480 | gsm750 | gsm850 | gsm1800 | gsm1900 | pgsm900 | rsgm900 }

By default, no GSM frequency band is specified.

7.     (Optional.) Specify a WCDMA frequency band.

wcdma band { wcdma800 | wcdma850 | wcdma900 | wcdma1700ip | wcdma1700us | wcdma1800 | wcdma1900 | wcdma2100 | wcdma2600 }

By default, no WCDMA frequency band is specified.

8.     (Optional.) Specify an LTE frequency band.

lte band band-number

The default setting for this command and support for the band-number argument depend on the 4G/5G modem model.

9.     Specify a 5G NR frequency band.

nr band nr-band-number

The default setting of this command and the value range for the nr-band-number argument depend on the modem model.

10.     Specify the 5G NR network deployment mode for 5G modem network registration.

nr mode { nsa | sa | auto }

By default, a 5G modem registers with a 5G NR network deployed in SA mode preferentially than that deployed in NSA mode.

Configuring parameter profiles

About parameter profiles

A parameter profile defines the access point name (APN) and authentication mode for a mobile communication modem. When the authentication mode is None, no username and password are required for accessing a service provider's network. When the authentication mode is CHAP or PAP, a username and password must be configured as required by the service provider.

Creating a parameter profile for a 3G modem

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Create a parameter profile.

profile create profile-number { dynamic | static apn } authentication-mode { none | { chap | pap } user username [ password password ] }

The default setting depends on the modem model.

Creating a parameter profile for a 4G/5G modem

1.     Enter system view.

system-view

2.     Create a parameter profile and enter its view.

apn-profile profile-name

3.     Specify the PDP data carrying protocol.

pdp-type { ipv4 | ipv6 | ipv4v6 }

By default, the data carrying protocol is IPv4 and IPv6.

4.     Specify an APN.

apn { dynamic | static apn }

By default, no APN is specified.

5.     Specify an authentication mode for accessing a 4G/5G network.

authentication-mode { pap | chap | pap-chap } user user-name password { cipher | simple } string

By default, no authentication is performed for accessing a 4G/5G network.

6.     Specify a separator for the IMSI/SN binding authentication information.

attach-format imsi-sn split splitchart

By default, no separator is specified for the IMSI/SN binding authentication information.

Specifying the primary and backup profiles

About this task

By default, profile 1 is used for mobile communication modem dialup. The dialup fails if profile 1 does not exist.

You can also specify the primary and backup profiles for mobile communication modem dialup. The primary profile always has priority over the backup profile. For each dialup connection establishment, the mobile communication modem uses the backup profile only when it has failed to dial up using the primary profile.

Restrictions and guidelines

You must configure the same username and password for the primary and backup profiles.

Specifying the primary and backup profiles for a 3G modem

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Specify the primary and backup profiles for the 3G modem.

profile main main-profile-number backup backup-profile-number

By default, profile 1 is used for 3G modem dialup.

Specifying the primary and backup profiles for a 4G/5G modem

1.     Enter system view.

system-view

2.     Enter Eth-channel interface view.

interface eth-channel interface-number

3.     Specify the primary and backup profiles for the 4G/5G modem.

apn-profile apply profile-name [ backup profile-name ]

By default, no profiles are specified for 4G/5G modem dialup.

Specifying the primary or secondary SIM card

About this task

On a device that uses dual SIM card, you can specify the use of the secondary SIM card when one of the following problems occurs:

·     The mobile communication link signals of the primary SIM card are weak.

·     The service provider network that the primary SIM card connects to is unavailable.

·     The primary SIM card has failed.

If the problems of the primary SIM card are resolved, you can specify the use of the primary SIM card or enable the mobile communication modem to automatically switch back to the primary SIM card.

Hardware and feature compatibility

Only the MSR810-LMS and MSR810-LUS routers and routers installed with a SIC-4G-CNDE module support this feature.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Specify the primary or secondary SIM card.

sim switch-to card-number

By default, a mobile communication modem uses the primary SIM card.

4.     Enable the mobile communication modem to automatically switch back to the primary SIM card.

sim switch-back enable [ wait-time time ]

By default, automatic switchback to the primary SIM card is disabled.

Configuring PIN verification

About this task

A UIM card is used in the CDMA network and a SIM card is used in other mobile networks. Each SIM/UIM card has a Personal Identification Number (PIN). PIN verification prevents unauthorized access to the SIM/UIM card.

To perform PIN verification, you need to save the PIN of the SIM/UIM card on the device by using the pin verify command and enable PIN verification. The pin verify command can be executed before and after you enable PIN verification. After the PIN is saved on the device, the PIN is used for verification automatically when required.

When PIN verification is enabled, PIN verification is performed after you perform any of the following tasks:

·     Install a mobile communication modem.

·     Reboot the device where a USB mobile communication modem is attached.

·     Execute the modem reboot command to reboot a mobile communication modem.

·     Hot swap a USB mobile communication modem.

·     Cold boot the device where a SIC mobile communication modem is installed.

If PIN verification fails after a maximum number of attempts, the SIM/UIM card is locked, and a PIN Unlocking Key (PUK) is required to unlock the card. The maximum number of attempts depends on the mobile communication modem model.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Enable PIN verification.

pin verification enable [ pin ]

The default setting depends on the modem model.

Whether you are required to enter the PIN when enabling PIN verification depends on the modem model.

4.     Specify the PIN for verification.

pin verify { cipher | simple } string

By default, no PIN is configured on a device for mobile communication modem verification.

This command saves the PIN on the device.

5.     (Optional.) Specify a PUK to unlock the SIM/UIM card.

pin unlock puk new-pin

After the SIM/UIM card is unlocked, execute the pin verify command to save the new PIN on the device.

6.     (Optional.) Modify the PIN of the SIM/UIM card.

pin modify current-pin new-pin

The new PIN is saved in the SIM/UIM card.

After the PIN is modified, execute the pin verify command to save the new PIN on the device.

Configuring a trusted IMSI

About this task

For a successful dialup, configure the IMSI on the SIM card as a trusted IMSI.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Configure a trusted IMSI.

trust-imsi string-imsi

You can configure a maximum of 16 trusted IMSIs.

Configuring DM

 

NOTE:

Support for DM depends on the modem model.

 

About this task

Diagnostic and monitoring (DM) allows third-party debugging tools to diagnose and monitor the mobile communication modem through cellular interface debugging output. For more information about DM, see related mobile communication modem user manuals.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Enable DM.

dm-port open

The default setting for this command depends on the modem model.

Setting the RSSI thresholds

About this task

After setting the RSSI thresholds, you will stay informed about the RSSI changes.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Set the RSSI thresholds.

rssi { gsm | 1xrtt | evdo | lte } { low lowthreshold | medium mediumthreshold }

By default, the lower and upper RSSI thresholds for a mobile communication modem are –150 dBm and 0 dBm, respectively.

The value of lowthreshold cannot be smaller than the value of mediumthreshold because the system automatically adds a negative sign to the RSSI thresholds.

Issuing a configuration directive to a mobile communication modem

Restrictions and guidelines

Configuration directives might cause malfunction of a mobile communication modem. When you issue a configuration directive to the modem, make sure you understand the impact on the mobile communication modem.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Issue a configuration directive to the mobile communication modem.

sendat at-string

Configuring mobile communication modem reboot

Configuring automatic reboot

About this task

A mobile communication modem might malfunction in an unstable mobile communication network or when the application environment changes. During a malfunction, the modem cannot respond to the device's requests or configuration commands. If the device does not receive any responses from the mobile communication modem within the timeout interval, a response failure occurs. When the number of consecutive response failures reaches the threshold, the device restarts the mobile communication modem automatically.

The device does not restart the mobile communication modem when the mobile communication modem has not made a successful dialup since the last restart. This restriction avoids repeated restarts of the mobile communication modem when there are configuration errors.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Configure the response timeout and the threshold for the number of consecutive timeouts to enable automatic reboot of the mobile communication modem.

modem response timer time auto-recovery threshold

By default, the response timeout is 10 seconds and the consecutive timeout threshold is 3.

The configuration is saved on the device rather than the mobile communication modem.

Configuring manual reboot

About this task

A mobile communication modem can automatically detect running errors and reboot. If the mobile communication modem fails to reboot by itself, you can use this command to manually reboot it.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Manually reboot the mobile communication modem.

modem reboot

 

CAUTION

CAUTION:

Use this command with caution. This command will disconnect the established 3G/4G modem connections.

Binding the IMSI of the SIM card to an interface

About this task

A 4G/5G router must support PPP LCP negotiation of the IMSI/SI when it acts as a LAC to access the LNS in LAC-auto-initiated mode. After you bind the IMSI on the SIM card to a virtual PPP interface, the packets sent by the router carry the IMSI.

Restrictions and guidelines

This feature is not available for distributed devices or devices operating in IRF mode.

Procedure

1.     Enter system view.

system-view

2.     Enter cellular interface view.

controller cellular interface-number

3.     Bind the IMSI on the SIM card to an interface.

imsi bind interface-type interface-number

By default, the IMSI on the SIM card is not bound to any interface.

Display and maintenance commands for mobile communication modem management

Execute display commands in any view and the reset command in user view.

 

Task

Command

Display the call connection information for the mobile communication modem.

display cellular [ interface-number ]

Display information about a cellular interface.

display controller [ cellular [ interface-number ] ]

Display information about an Eth-channel interface.

display interface [ eth-channel [ channel-id ] ] [ brief [ description | down ] ]

Clear the statistics for a cellular interface.

reset counters controller [ cellular [ interface-number ] ]

Clear the statistics for an Eth-channel interface.

reset counters interface [ eth-channel [ channel-id ] ]

 

Mobile communication modem management configuration examples

Example: Configuring 3G modem management

Network configuration

As shown in Figure 1:

·     The router provides a USB 3G or SIC-3G modem.

·     The PC dials up to access a 3G network through Dial-on-Demand Routing (DDR).

For more information about DDR dialup, see "Configuring DDR."

Figure 1 Network diagram

 

Procedure

# Create dialer group 1 and configure DDR to place calls for IP packets.

<Router> system-view

[Router] dialer-group 1 rule ip permit

# Channelize the cellular interface into a synchronous/asynchronous serial interface.

[Router] controller cellular 2/4/0

[Router-Cellular2/4/0] serial-set 0

[Router-Cellular2/4/0] quit

# Assign an IP address to interface Serial 2/4/0:0.

[Router] interface serial 2/4/0:0

[Router-Serial2/4/0:0] ip address 1.1.1.1 255.255.0.0

# Enable traditional DDR on interface Serial 2/4/0:0.

[Router-Serial2/4/0:0] dialer circular enable

# Associate interface Serial 2/4/0:0 with dialer group 1.

[Router-Serial2/4/0:0] dialer-group 1

# Set the interval for DDR to make the next call attempt to 5 seconds.

[Router-Serial2/4/0:0] dialer timer autodial 5

# Configure the dial string for placing calls as 666666.

[Router-Serial2/4/0:0] dialer number 666666

[Router-Serial2/4/0:0] quit

# Enable modem dial-in and dial-out on user line TTY 3.

[Router] line tty 3

[Router-line-tty3] modem enable both

Example: Configuring 4G/5G modem management

Network configuration

As shown in Figure 2:

·     The router provides a USB 4G or SIC-4G/5G modem.

·     The PC dials up to access a 4G/5G network through Dial-on-Demand Routing (DDR).

For more information about DDR dialup, see "Configuring DDR."

Figure 2 Network diagram

 

Procedure

# Configure dialer group 1 and configure DDR to place calls for IP packets.

<Router> system-view

[Router] dialer-group 1 rule ip permit

# Channelize the cellular interface into an Eth-channel interface.

[Router] controller cellular 2/4/0

[Router-Cellular2/4/0] eth-channel 0

[Router-Cellular2/4/0] quit

# Configure an IP address for Eth-channel 2/4/0:0.

[Router] interface eth-channel 2/4/0:0

[Router-Eth-channel2/4/0:0] ip address cellular-alloc

# Enable traditional DDR on Eth-channel 2/4/0:0.

[Router-Eth-channel2/4/0:0] dialer circular enable

# Associate Eth-channel 2/4/0:0 with dialer group 1.

[Router-Eth-channel2/4/0:0] dialer-group 1

# Set the interval for DDR to make the next call attempt to 5 seconds.

[Router-Eth-channel2/4/0:0] dialer timer autodial 5

# Configure the dial string for placing calls as 666666.

[Router-Eth-channel2/4/0:0] dialer number 666666

Troubleshooting

Symptom

A mobile communication modem fails to function correctly. For example, the mobile communication modem receives no signals or fails to connect to service providers' networks.

Solution

To resolve the issue:

1.     Execute the shutdown command and the undo shutdown command on the cellular interface.

2.     If the mobile communication modem still fails to function, execute the modem reboot command on the cellular interface.

3.     If the issue persists, contact H3C Support.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网