- Table of Contents
Title | Size | Download |
---|---|---|
07-3G and 4G modem management configuration | 162.46 KB |
Contents
Restrictions and guidelines: 3G/4G modem management
3G/4G modem management tasks at a glance
Configuring the 3G modem cellular interface
Configuring the 4G modem cellular interface
Configuring an Eth-channel interface for a 4G modem
Configuring basic parameters for an Eth-channel interface
Restoring the default settings for an Eth-channel interface
Configuring an IP address for an Eth-channel interface of a 4G modem
Configuring parameter profiles
Creating a parameter profile for a 3G modem
Creating a parameter profile for a 4G modem
Specifying the primary and backup profiles
Specifying the primary or secondary SIM card
Associating 3G/4G link backup with a track entry
Issuing a configuration directive to a 3G/4G modem
Configuring 3G/4G modem reboot
Binding the IMSI of the SIM card to an interface
Display and maintenance commands for 3G/4G modem management
3G/4G modem management configuration examples
Example: Configuring 3G modem management
Managing a 3G/4G modem
About managing a 3G/4G modem
A 3G/4G modem connects a device to a 3G/4G network.
USB 3G/4G modems and SIC-3G/4G 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. The device uses a dynamically created cellular interface to manage a SIC-3G/4G modem. After a SIC-3G modem is installed in the device, the device creates a cellular interface based on the number of the slot where the modem resides. When the SIC-3G/4G 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 modem can only be channelized into an Eth-channel interface.
Restrictions and guidelines: 3G/4G modem management
Follow these restrictions and guidelines when you configure 3G/4G 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 Fundamentals Configuration Guide.
· Unless otherwise noted, the 3G/4G modem configuration in this document is saved in the NVM of the 3G/4G modem. To verify the configuration, use the display cellular command.
3G/4G modem management tasks at a glance
To management a 3G/4G modem, perform the following tasks:
1. Configuring the 3G/4G modem cellular interface
¡ Configuring the 3G modem cellular interface
¡ Configuring the 4G modem cellular interface
2. Configuring an Eth-channel interface for a 4G modem
3. Configuring a 3G/4G network
4. Configuring parameter profiles
5. (Optional.) Specifying the primary or secondary SIM card
6. (Optional.) Associating 3G/4G link backup with a track entry
7. (Optional.) Configuring PIN verification
8. (Optional.) Configuring a trusted IMSI
9. (Optional.) Configuring DM
10. (Optional.) Setting the RSSI thresholds
11. (Optional.) Issuing a configuration directive to a 3G/4G modem
12. (Optional.) Configuring 3G/4G modem reboot
¡ Configuring automatic reboot
13. Binding the IMSI of the SIM card to an interface
Configuring the 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
This command names the serial interface as serial cellular-number:set-number.
Configure PPP and DDR, and specify an IP address for the serial interface channelized from the cellular interface of a 3G modem as needed.
5. Bring up the cellular interface.
undo shutdown
By default, a cellular interface is up.
Configuring the 4G 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
This command names the Eth-channel interface as eth-channel cellular-number:channel-number.
Configure DDR and specify an IP address for the Eth-channel interface channelized from the cellular interface of a 4G modem as needed.
5. Bring up the cellular interface.
undo shutdown
By default, a cellular interface is up.
Configuring an Eth-channel interface for a 4G modem
Configuring basic parameters for an 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 an Eth-channel interface
Restrictions and guidelines
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 an Eth-channel interface of a 4G 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.
¡ Obtain an IP address by using the modem-manufacturer's proprietary protocol.
IPv4:
ip address cellular-alloc
IPv6:
ipv6 address cellular-alloc
¡ Configure an IP address manually.
ip address ip-address { mask-length | mask } [ sub ]
By default, no IP address is configured for an Eth-channel interface.
Configuring a 3G/4G network
Restrictions and guidelines
Both 3G and 4G modems can access GSM, CDMA2000, TD-SCDMA, and WCDMA networks. Only 4G modems can access LTE networks.
A 3G/4G modem is used to search a public land mobile network (PLMN) for accessible mobile networks. A PLMN is uniquely identified by the mobile country code (MCC) and the mobile network code (MNC). Some 3G/4G modems can automatically access a mobile network. To manually specify a mobile network for a 3G 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 service to which the modem connects.
mode { 1xrtt | auto | evdo | gsm | gsm-precedence | hybrid | lte | 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.
This command is supported only by Sierra MC7354 (ATT version) and MC7304 4G modules.
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.
This command is supported only by Sierra MC7354 (ATT version) and MC7304 4G modules.
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 modem model.
Configuring parameter profiles
About parameter profiles
A parameter profile defines the following items:
· The access point with which a 3G/4G modem is associated.
· The authentication mode in which the service provider authenticates the 3G/4G modem.
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 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 network.
authentication-mode { pap | chap | pap-chap } user user-name password { cipher | simple } string
By default, no authentication is performed for accessing a 4G 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 3G/4G modem dialup. The dialup fails if profile 1 does not exist.
You can also specify the primary and backup profiles for 3G/4G modem dialup. The primary profile always has priority over the backup profile. For each dialup connection establishment, the 3G or 4G 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 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 modem.
apn-profile apply profile-name [ backup profile-name ]
By default, no profiles are specified for 4G modem dialup.
Specifying the primary or secondary SIM card
|
NOTE: Support for this feature depends on the device model. |
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 3G/4G 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 3G/4G 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 3G/4G modem uses the primary SIM card.
4. Enable the 3G/4G 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.
Associating 3G/4G link backup with a track entry
|
NOTE: Support for this feature depends on the device model. |
About this task
This configuration allows the system to use a track entry to monitor the status of the primary 3G/4G link. When the track entry state changes from Positive to Negative, the secondary 3G/4G link takes over.
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. Associate 3G/4G link backup with a track entry
sim backup enable track entry-number
By default, 3G/4G link backup is not associated with a track entry.
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 3G/4G modem.
· Reboot the device where a USB 3G/4G modem is attached.
· Execute the modem reboot command to reboot a 3G/4G modem.
· Hot swap a USB 3G/4G modem.
· Cold boot the device where a SIC-3G/4G 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 3G/4G 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.
You might be required to enter the PIN when enabling PIN verification. It 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 3G/4G 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
|
NOTE: Support for this feature depends on the device model. |
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 3G/4G modem through cellular interface debugging output. For more information about DM, see related 3G/4G 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 3G/4G 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 3G/4G modem
Restrictions and guidelines
Configuration directives might cause malfunction of a 3G/4G modem. When you issue a configuration directive to the modem, make sure you understand the impact on the 3G/4G modem.
Procedure
1. Enter system view.
system-view
2. Enter cellular interface view.
controller cellular interface-number
3. Issue a configuration directive to the 3G/4G modem.
sendat at-string
Configuring 3G/4G modem reboot
Configuring automatic reboot
About this task
The 3G modem might malfunction in an unstable 3G 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 3G modem within the timeout interval, a response failure occurs. When the number of consecutive response failures reaches the threshold, the device restarts the 3G modem automatically.
The device does not restart the 3G modem when the 3G modem has not made a successful dialup since the last restart. This restriction avoids repeated restarts of the 3G 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 3G/4G 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 3G/4G modem.
Configuring manual reboot
About this task
A 3G/4G modem can automatically detect running errors and reboot. If the 3G/4G 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 3G/4G modem.
modem reboot
Binding the IMSI of the SIM card to an interface
About this task
The device 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 device 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 3G/4G modem management
Execute display commands in any view and the reset command in user view.
Task |
Command |
Display the call connection information for the 3G/4G 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 ] ] |
3G/4G 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."
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 1.
[Router] line tty 1
[Router-line-tty1] modem enable both
Example: Configuring 4G modem management
Network configuration
As shown in Figure 2:
· The router provides a USB 4G or SIC-4G modem.
· The PC dials up to access an LTE network through Dial-on-Demand Routing (DDR).
For more information about DDR dialup, see "Configuring DDR."
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 3G/4G modem fails to function correctly. For example, the 3G/4G 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 3G/4G modem still fails to function, execute the modem reboot command on the cellular interface.
3. If the issue persists, contact H3C Support.