How to Configure Cisco 4G LTE
This section explains how to configure 4G LTE on a Cisco 900 Series Router.
Verifying Modem Signal Strength and Service Availability
Use the following show commands to verify the modem signal strength and service availability:
- show cellular unit network
- show cellular unit radio
- show cellular unit profile
- show cellular unit security
- show cellular unit all
|
|
|
Step 1 |
show cellular unit network
Router# show cellular 0 network |
Displays information about the carrier network, cell site, and available service. |
Step 2 |
show cellular unit radio
Router# show cellular 0 radio |
Shows the radio signal strength. Note The RSSI should be better than –90 dBm for steady and reliable connection. |
Step 3 |
show cellular unit profile
Router# show cellular 0 profile |
Shows information about the modem data profiles created. |
Step 4 |
show cellular unit security
Router# show cellular 0 security |
Shows the security information for the modem, such as SIM and modem lock status. |
Step 5 |
show cellular unit all
Router# show cellular 0 all |
Shows consolidated information about the modem, profiles created, radio signal strength, network security, and so on. |
Creating, Modifying, or Deleting Modem Data Profiles
You can create multiple profiles on a 4G LTE SKU. The following are the default Internet profile numbers for some of the modems:
- WP7607—Profile 1
- WP7608—Profile 1
- WP7609—Profile 1 for attach and Profile 3 for data profile
Usage Guidelines for Creating, Modifying, or Deleting Data Profiles
Follow these guidelines while you configure a data profile:
- In most cases, you do not have to make any profile-related changes if your modem comes with a data profile.
- If any profile parameter changes are required for a connection type, the changes will most likely be carried out in the default profiles.
- To configure different profile types and use them for a different connection, you can create separate profiles with different parameters (for instance, APN names). Note that only one profile is active at a given time.
- Use the cellular 0 lte profile create 1 APN-name none ipv4v6 to create or modify profiles.
- Use the cellular 0 lte profile delete 1 APN-name none ipv4v6 or cellular 0 lte profile delete 1 to delete a profile.
- Use the show cellular <> profile command to view the data profile. An asterisk(*) is displayed against the data profile.
- The data profile is used to set up a data call. If you want to use a different profile, that profile needs to be made the default one. Use the lte sim data-profile number attach-profile number command to change the default profile.
Configuration Examples
This example shows how to change a default profile:
router(config-controller)# lte sim data-profile 2 attach-profile 1
router(config-controller)# end
Building configuration...
router# ping 8.8.4.4 rep 10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.192.187.254, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/69/106 ms
This example shows the output of the show cellular command:
router# show cellular 0 profile
PDP address = 29.29.29.73
PDP IPV6 address = 2001:2678:2680:6E88:4DCC:F4F5:B936:C7EF/64 Scope: Global
Access Point Name (APN) = broadband
Primary DNS address = 8.0.0.8
Secondary DNS address = 8.8.4.4
Primary DNS IPV6 address = 2006:4888:4888:0:0:0:0:8899
Secondary DNS IPV6 address = 2002:8888:9999:0:0:0:0:7722
Configuring a SIM for Data Calls
Locking and Unlocking a SIM Card Using a PIN Code
Use the cellular unit lte sim { lock | unlock } pin command to lock or unlock a SIM card given by your service provider.
Caution
The SIM card gets blocked if the wrong PIN is entered three consecutive times. Make sure you enter the correct PIN the SIM is configured with. If your SIM card gets blocked, contact your service provider for a PUK code. Using the PUK code, you can unblock the SIM card.
This example shows how to lock a SIM using the PIN code:
Router# cellular 0 lte sim lock 1111
Changing the PIN Code
Use the cellular unit lte sim change-pin pin new-pin command to change the PIN code of a SIM. This example shows how to change the PIN code:
Router# cellular 0 lte sim change-pin 1111 1234
Verifying the Security Information of a Modem
Use the show cellular unit security command to verify the security information of the modem. This example shows how to verify the security information:
Router# show cellular 0 security
Configuring Automatic Authentication for a Locked SIM
An unencrypted PIN can be configured to activate the Card Holder Verification (CHV1) code that authenticates a modem.
Caution
The SIM card gets blocked if the wrong PIN is entered three consecutive times. Make sure you enter the correct PIN the SIM is configured with. If your SIM card gets blocked, contact your service provider for a PUK code.
Note Follow these procedures when using an unencrypted Level 0 PIN to configure CHV1. For instructions on how to configure CHV1 using an encrypted Level 7 PIN, see the Configuring an Encrypted PIN for a SIM.
Note A SIM should be locked for SIM authentication to work. To verify the SIM’s status, use the show cellular unit security command.
This example shows how to configure an automatic authentication for a locked SIM:
Router# configure terminal
Router(config)# controller cellular 0
Router(config-controller)# lte sim authenticate 0 1111
Configuring an Encrypted PIN for a SIM
To configure an encrypted PIN, the scrambled value of the PIN must be obtained. This example shows how to get the scrambled Level 7 PIN and configure the SIM CHV1 code for verification using the encrypted PIN:
Router# configure terminal
Router(config)# service password-encryption
Router(config)# username SIM privilege 0 password 1111
Router(config)# do show run | i SIM
Router(config)# controller cellular 0
Router(config-controller)# lte sim authenticate 7 055A575E70
Router(config-controller)# exit
Note When obtaining the encrypted PIN for a SIM, a username and password are created by configuring password encryption, defining the username and associated password, copying the resulting scrambled password, and using this scrambled password in the SIM authentication command. After the scrambled PIN has been obtained and used in SIM authentication, the username created can be deleted from the Cisco IOS configuration.
Note A SIM should be locked for SIM authentication to work. To verify the SIM’s status, use the show cellular unit security command.
Applying a Modem Profile in a SIM Configuration
This example shows how to apply a modem profile:
Router# configure terminal
Router(config)# controller cellular 0
Router(config-controller)# lte sim data-profile 2 attach-profile 2
For more information, see SIM Configuration: Examples
Data Call Setup
To set up a data call, use the following procedures:
Figure 2 shows a typical data call setup.
Figure 2 Data Call Setup with WIM-LTE
Configuring the Cellular Interface
This example shows how to configure cellular interface:
Router# configure terminal
Router(config)# interface cellular 0
Router(config-if)# ip address negotiated
Router(config-if)# encapsulation slip
Router(config-if)# dialer in-band
Router(config-if)# dialer string lte
Router(config-if)# dialer-group 1
Router(config-if)# exit
Router(config)# chat-script lte"" "AT!CALL" TIMEOUT 60 "OK“
Router(config)# ip route 209.165.200.225 255.255.255.224 cellular 0
Router(config)# dialer-list 1 protocol ip list 1
Router(config)# line 3
Router(config-line)# script dialer lte
Configuring DDR
This example shows how to configure DDR:
Router# configure terminal
Router(config)# interface cellular 0
Router(config-if)# ip address negotiated
Router(config-if)# encapsulation slip
Router(config-if)# dialer in-band
Router(config-if)# dialer pool-member 1
Router(config-if)# interface dialer 1
Router(config-if)# ip address negotiated
Router(config-if)# encapsulation slip
Router(config-if)# dialer pool 1
Router(config-if)# dialer idle-timeout 30
Router(config-if)# dialer string lte
Router(config-if)# dialer-group 1
Router(config-if)# exit
Router(config)# dialer-list 1 protocol ip list 1
Router(config)# access-list 1 permit any
Router(config)# line 3
Router(config-line)# script dialer lte
Router(config-line)# exit
Router(config)# chat-script lte"" "AT!CALL" TIMEOUT 60 "OK“
Configuring DDR Backup
To monitor the primary connection and initiate the backup connection when needed, the router can use one of the following methods:
- Backup Interface—The backup interface that stays in standby mode until the primary interface line protocol is detected as down and then is brought up.
- Floating Static Route—The route through the backup interface has an administrative distance that is greater than the administrative distance of the primary connection route and therefore would not be in the routing table until the primary interface goes down.
- Dialer Watch—Dialer watch is a backup feature that integrates dial backup with routing capabilities.
Configuring Interfaces to Use a Backup Interface
Note You cannot configure a backup interface for the cellular interface and any other asynchronous serial interface.
This example shows how to configure an interface as a backup interface:
Router# configure terminal
Router(config)# interface atm 0
Router(config-if)# backup interface cellular 0
Router(config-if)# backup delay 0 10
AutoSim and Firmware Based Switching
The advantages of the AutoSim feature are:
- Ease of Ordering Carrier Specific SKUs
- Quicker failover times in dual-sim deployments
- Ease of switchover from other service providers to Telstra network
The modem in Auto-SIM mode selects the right carrier firmware after a SIM slot switch and an automatic modem reset. Auto-SIM is supported on the WP7607, WP7608, and WP7609 modems. During bootup, if the Auto-SIM configuration on the modem doesn’t match the IOS configuration, the corresponding Auto-SIM or manual mode is pushed to the modem.
The modem automatically resets after an Auto-SIM configuration change.The default is ‘auto-sim’ enabled.
This example shows how to enable Auto-SIM:
router(config)#controller cellular <slot>
router(config-controller)#lte firmware auto-sim
Note After enabling auto-sim, wait for 5 minutes until the radio comes up. Once the radio is up, issue a modem power-cycle and wait for 3 minutes for the radio to come up again. Modem Power-Cycle is mandatory for auto-sim configuration to take effect.
This example shows how to disable Auto-SIM:
router(config)#controller cellular <slot>
router(config-controller)# no lte firmware auto-sim
Configuring 4G SMS Messaging
This example shows how to specify an FTP server folder path to send all the incoming and outgoing SMS messages. After the folder path is identified, it is appended automatically with outbox and inbox folders for the path to which SMS messages are sent and received:
Router# configure terminal
Router(config)# controller cellular 0
This example shows how to display the message contents of the incoming texts received by a modem:
Router# cellular 0 lte sms view summary
ID FROM YY/MM/DD HR:MN:SC SIZE CONTENT
0 4442235525 12/05/29 10:50:13 137 Your entry last month has...
2 5553337777 13/08/01 10:24:56 5 First
3 5553337777 13/08/01 10:25:02 6 Second
This example shows how to display all the information in the text messages sent and received. The message information includes text messages sent successfully, received, archived, and messages pending to be sent. The LTE-specific information on errors, in case of a FAILED attempt, may also be displayed:
Router# show cellular 0 sms
Incoming Message Information
----------------------------
SMS archived since booting up = 0
Total SMS deleted since booting up = 0
Storage records allocated = 25
Storage records used = 20
Number of callbacks triggered by SMS = 0
Number of successful archive since booting up = 0
Number of failed archive since booting up = 0
Outgoing Message Information
----------------------------
Total SMS sent successfully = 0
Total SMS send failure = 0
Number of outgoing SMS pending = 0
Number of successful archive since booting up = 0
Number of failed archive since booting up = 0
Last Outgoing SMS Status = SUCCESS
Send-to-Network Status = 0x0
Report-Outgoing-Message-Number:
Diag Code = 0x0 0x0 0x0 0x0 0x0
SMS Archive URL = ftp://lab:lab@1.3.150.1/outbox
This example shows how to enable a user to send a 4G LTE band SMS message to other valid recipients, provided they have a text message plan:
Router# cellular 0 lte sms send 15554443333 <sms text>
Upgrading Modem Firmware
To upgrade the modem firmware, perform these steps:
Step 1 Go to the Cisco Software Download website at: https://software.cisco.com/download/home
Step 2 On the download page, search ‘ 900 series integrated services router ’, and select ‘ 900 integrated services router ’ from the filtered list.
Step 3 Select Routers> 900 Series Integrated Routers >900 Integrated Services Router
Step 4 Select the release from the left pane. Available firmwares will be listed on the right pane.
Step 5 Select and download the appropriate firmware.
Step 6 Create a directory in the router flash to store the modem firmware.
Step 7 Copy the firmware to the flash directory.
Step 8 Use the following command to initiate the upgrade process:
Router# microcode reload cellular 0 lte modem-provision flash:firmware directory
Step 9 Verify the upgrade:
Router# show cellular 0 hardware
Modem Firmware Version = SWI9X07Y_02.18.05.00 000
Modem Firmware built = 2018/07/19 17:40:21
International Mobile Subscriber Identity (IMSI) = 123456000009205
International Mobile Equipment Identity (IMEI) = 354365090106005
Integrated Circuit Card ID (ICCID) = 8952530076180099205
Mobile Subscriber Integrated Services
Digital Network-Number (MSISDN) =
Factory Serial Number (FSN) = XG814285250410
Current Modem Temperature = 42 deg C
PRI SKU ID = 1103787, PRI version = 002.041_002, Carrier = Generic
OEM PRI version = 001.004
Configuring Modem DM Log Collection
Diagnostic Monitor (DM) is a Qualcomm proprietary protocol. Diagnostic software tools, such as Sierra Wireless SwiLog and Qualcomm QXDM, are based on DM protocol. These tools can be used to capture data transactions between the modem and the network over the RF interface, which makes them useful tools for troubleshooting 3G and 4G data connectivity or performance issues.
This example shows how to enable DM log collection:
Router(config-controller)# lte modem dm-log enable
This example shows how to specify the maximum log file size:
Router(config-controller)# lte modem dm-log filesize 8
This example shows how to specify the filter file:
Router(config-controller)# lte modem dm-log filter flash:SwiLogPlus_generic_filter_6.3.sqf
This example shows how to specify the path where the DM log output files will be stored:
Router(config-controller)# lte modem dm-log output path ftp://@172.25.211.175/
This example shows how to enable DM log rotation:
Router(config-controller)# lte modem dm-log rotation
This example shows how to specify the maximum log size:
Router(config-controller)# lte modem dm-log size 128
For sample output, see Example: Sample Output for the show cellular logs modem-crashdump Command
Enabling Modem Crashdump Collection
Modem crashdump collection is useful in debugging firmware crash. To collect crash data, the modem has to be pre-configured so that it will stay in memdump mode after a crash. Memdump mode is a special boot-and-hold mode for the memdump utility to collect crash data.
To enable modem crashdump collection, perform the following steps.
Prerequisites
Ensure that the following prerequisites are met before attempting to enable crashdump logging:
- The modem needs to be provisioned for modem crashdump collection—it needs to be configured to operate in test mode. It also requires a debug bootloader installed. Contact Cisco TAC for details.
- The modem should be in crash state. Run tests that will result in modem firmware crash. A “MODEM_DOWN” message on the router console or syslog is indicative of modem firmware crash.
Note After the modem firmware crashes, the modem is available for crashdump log collection only. Data calls cannot be made.
This example shows how to pre-configure the modem to stay in memdump mode after a crash:
Router# configure terminal
Router(config)# controller cellular 0
Router(config-controller)# lte modem crash-action boot-and-hold
Router(config-controller)# end
This example shows how to disable crashdump log collection:
Router# configure terminal
Router(config)# service internal
Router(config)# test cell-host 0 modem-crashdump off
This example shows how to enable crashdump log collection with the logs stored on an FTP server:
Router# configure terminal
Router(config)# service internal
Router(config)# test cell-host 0 modem-crashdump on ftp://@172.25.211.175/
Displaying Modem Log Error and Dump Information
Use the following command to obtain the log error and dump information:
- show cellular unit log error
Configuration Examples for 4G LTE
Example: Basic Cellular Interface Configuration
This example shows how to configure the cellular interface to be used as a primary and is configured as the default route:
Router# show running-config
chat-script lte "" "AT!CALL" TIMEOUT 20 "OK"
ip route 172.22.1.10 255.255.255.255 cellular 0
dialer-list 1 protocol ip permit
Cellular Interface Configuration for Always-On Connection
This section provides the following configuration examples:
Dialer-Watch Configuration without External Dialer Interface
This example shows how to configure dialer-watch without external dialer interface. The bold text is used to indicate important commands that are specific to dialer-watch.
chat-script lte "" "AT!CALL" TIMEOUT 20 "OK"
dialer watch-list 1 ip 5.6.7.8 0.0.0.0
dialer watch-list 1 delay route-check initial 60
dialer watch-list 1 delay connect 1
ip route 0.0.0.0 0.0.0.0 cellular 0
Dialer-Persistent Configuration with External Dialer Interface
This example shows how to configure dialer-persistent with external dialer interface. The bold text is used to indicate important commands that are specific to dialer-persistent.
chat-script lte "" "AT!CALL" TIMEOUT 20 "OK"
dialer-list 1 protocol ip permit
ip route 0.0.0.0 0.0.0.0 dialer 1
4G-LTE Wireless WAN as Backup with NAT and IPSec
This example shows how to configure the 4G-LTE wireless WAN on the router as backup with NAT and IPSec:
Note The receive and transmit speeds cannot be configured. The actual throughput depends on the cellular network service.
ip dhcp excluded-address 10.4.0.254
network 10.4.0.0 255.255.0.0
default-router 10.4.0.254
chat-script lte "" "AT!CALL" TIMEOUT 20 "OK"
crypto isakmp key address a.b.c.d
crypto ipsec transform-set ah-sha-hmac esp-3des
crypto map gsm1 10 ipsec-isakmp
interface ATM0.1 point-to-point
backup interface Cellular0
pppoe-client dial-pool-number 2
description used as default gateway address for DHCP clients
ip address 10.4.0.254 255.255.0.0
ppp authentication chap callin
ppp chap hostname cisco@dsl.com
ppp chap password 0 cisco
ip local policy route-map track-primary-if
ip route 0.0.0.0 0.0.0.0 Dialer2 track 234
ip route 0.0.0.0 0.0.0.0 Cellular0/3/0 254
ip nat inside source route-map nat2cell interface Cellular0/3/0 overload
ip nat inside source route-map nat2dsl interface Dialer2 overload
icmp-echo 2.2.2.2 source-interface Dialer2
ip sla schedule 1 life forever start-time now
access-list 101 deny ip 10.4.0.0 0.0.255.255 10.0.0.0 0.255.255.255
access-list 101 permit ip 10.4.0.0 0.0.255.255 any
access-list 102 permit icmp any host 2.2.2.2
access-list 103 permit ip 10.4.0.0 0.0.255.255 10.0.0.0 0.255.255.255
dialer-list 1 protocol ip list 1
dialer-list 2 protocol ip permit
route-map track-primary-if permit 10
route-map nat2dsl permit 10
route-map nat2cell permit 10
match interface Cellular0/3/0
Note For service providers using a private IP address, use the crypto ipsec transform-set esp command (that is, esp-aes esp-sha256-hmac…).
SIM Configuration: Examples
Locking the SIM Card: Example
This example shows how to lock the SIM. The italicized text in this configuration example is used to indicate comments and are not be seen when a normal console output is viewed.
Router# show cellular 0 security
Card Holder Verification (CHV1) = Disabled
SIM User Operation Required = None
Number of CHV1 Retries remaining = 3
! SIM is in unlocked state.
Router# cellular 0 lte sim lock 1111
!!!WARNING: SIM will be locked with pin=1111(4).
Do not enter new PIN to lock SIM. Enter PIN that the SIM is configured with.
Call will be disconnected!!!
Are you sure you want to proceed?[confirm]
Apr 26 19:35:28.339: %CELLWAN-2-MODEM_DOWN: Modem in HWIC slot 0/0 is DOWN
Apr 26 19:35:59.967: %CELLWAN-2-MODEM_UP: Modem in HWIC slot 0/0 is now UP
Router# sh cellular 0 security
Card Holder Verification (CHV1) = Enabled
SIM User Operation Required = Enter CHV1
Number of CHV1 Retries remaining = 3
! SIM is in locked state.
Unlocking the SIM Card: Example
This example shows how to unlock the SIM. The italicized text throughout this configuration example is used to indicate comments and will not be seen when a normal console output is viewed.
Router# show cellular 0 security
Card Holder Verification (CHV1) = Enabled
SIM User Operation Required = Enter CHV1
Number of CHV1 Retries remaining = 3
! SIM is in locked state.
Router# cellular 0 lte sim unlock 1111
!!!WARNING: SIM will be unlocked with pin=1111(4).
Do not enter new PIN to unlock SIM. Enter PIN that the SIM is configured with.
Call will be disconnected!!!
Are you sure you want to proceed?[confirm]
Router# sh cellular 0 security
Card Holder Verification (CHV1) = Disabled
SIM User Operation Required = None
Number of CHV1 Retries remaining = 3
! SIM is in unlocked state.
Automatic SIM Authentication: Example
This example shows how to configure automatic SIM authentication. The italicized text throughout this configuration example is used to indicate comments and will not be seen when a normal console output is viewed.
Router# show cellular 0 security
Card Holder Verification (CHV1) = Disabled
SIM User Operation Required = None
Number of CHV1 Retries remaining = 3
! SIM is in unlocked state.
Router# cellular 0 lte sim lock 1111
!!!WARNING: SIM will be locked with pin=1111(4).
Do not enter new PIN to lock SIM. Enter PIN that the SIM is configured with.
Call will be disconnected!!!
Are you sure you want to proceed?[confirm]
Apr 26 21:22:34.555: %CELLWAN-2-MODEM_DOWN: Modem in HWIC slot 0/0 is DOWN
Apr 26 21:23:06.495: %CELLWAN-2-MODEM_UP: Modem in HWIC slot 0/0 is now UP
Router# sh cellular 0 security
Card Holder Verification (CHV1) = Enabled
SIM User Operation Required = Enter CHV1
Number of CHV1 Retries remaining = 3
! SIM is in locked state. SIM needs to be in locked state for SIM authentication to
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# controller cellular 0
Router(config-controller)# lte sim authenticate 0 1111
CHV1 configured and sent to modem for verification
Router(config-controller)# end
Apr 26 21:23:50.571: %SYS-5-CONFIG_I: Configured from console by console
Router# sh cellular 0 security
Card Holder Verification (CHV1) = Enabled
SIM User Operation Required = None
Number of CHV1 Retries remaining = 3
! SIM is now in locked state but it can be used for connectivity since authentication is
! good. Authentication can be saved in the router configuration so that when you boot up
! the router with the same locked SIM, connection can be established with the correct
! Cisco IOS configuration.
Changing the PIN Code: Example
This example shows how to change the assigned PIN code. The italicized text throughout this configuration example is used to indicate comments and will not be seen when a normal console output is viewed.
Router# show cellular 0 security
Card Holder Verification (CHV1) = Disabled
SIM User Operation Required = None
Number of CHV1 Retries remaining = 3
! SIM is in unlocked state.
Router# cellular 0 lte sim lock 1111
!!!WARNING: SIM will be locked with pin=1111(4).
Do not enter new PIN to lock SIM. Enter PIN that the SIM is configured with.
Call will be disconnected!!!
Are you sure you want to proceed?[confirm]
Apr 26 21:58:11.903: %CELLWAN-2-MODEM_DOWN: Modem in HWIC slot 0/0 is DOWN
Apr 26 21:58:43.775: %CELLWAN-2-MODEM_UP: Modem in HWIC slot 0/0 is now UP
Router# sh cellular 0 security
Card Holder Verification (CHV1) = Enabled
SIM User Operation Required = Enter CHV1
Number of CHV1 Retries remaining = 3
! SIM is in locked state. SIM needs to be in locked state to change its PIN.
Router# cellular 0 lte sim change-pin 1111 0000
!!!WARNING: SIM PIN will be changed from:1111(4) to:0000(4)
Call will be disconnected. If old PIN is entered incorrectly in 3 attempt(s), SIM will be blocked!!!
Are you sure you want to proceed?[confirm]
Resetting modem, please wait...
CHV1 code change has been completed. Please enter the new PIN in controller configuration for verfication
Apr 26 21:59:16.735: %CELLWAN-2-MODEM_DOWN: Modem in HWIC slot 0/0 is DOWN
Apr 26 21:59:48.387: %CELLWAN-2-MODEM_UP: Modem in HWIC slot 0/0 is now UP
Router# sh cellular 0 security
Card Holder Verification (CHV1) = Enabled
SIM User Operation Required = Enter CHV1
Number of CHV1 Retries remaining = 3
! SIM stays in locked state, as expected, but with new PIN.
Router# cellular 0 lte sim unlock 0000
!!!WARNING: SIM will be unlocked with pin=0000(4).
Do not enter new PIN to unlock SIM. Enter PIN that the SIM is configured with.
Call will be disconnected!!!
Are you sure you want to proceed?[confirm]
Router# show cellular 0 security
Card Holder Verification (CHV1) = Disabled
SIM User Operation Required = None
Number of CHV1 Retries remaining = 3
! Unlock with new PIN is successful. Hence, changing PIN was successful.
Configuring an Encrypted PIN: Example
This example shows how to configure automatic SIM authentication using an encrypted PIN. The italicized text throughout this configuration example is used to indicate comments and will not be seen when a normal console output is viewed.
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# service password-encryption
Router(config)# username SIM privilege 0 password 1111
Router(config)# do sh run | i SIM
username SIM privilege 0 password 7 055A575E70.
! Copy the encrypted level 7 PIN. Use this scrambled PIN in the SIM authentication
Router(config)# controller cellular 0
Router(config-controller)# lte sim authenticate 7 055A575E70
CHV1 configured and sent to modem for verification
Router(config-controller)# exit
Router(config)# no username SIM
May 14 20:20:52.603: %SYS-5-CONFIG_I: Configured from console by console
Configuration Examples for 4G Serviceability Enhancement
This section contains the following subsections:
Example: Sample Output for the show cellular logs dm-log Command
This example shows a sample output of the show cellular logs dm-log command:
Router# show cellular 0 logs dm-log
Integrated DM logging is on
filter = MC74xx generic - GSM_GPRS_EDGE_WCDMA_LTE_EVDO.sqf
maximum log size = 67108864
maximum file size = 20971520
33 packets sent to the modem, 4663 bytes, 0 errors
262 packets received from the modem, 374428 bytes, 0 input drops
262 packets stored in file system, 374428 bytes, 0 errors, 0 aborts
current file size = 374428
current log size = 374428
flash:dmlog19560707-032507.bin size 374428
Example: Sample Output for the show cellular logs modem-crashdump Command
This example shows a sample output of the show cellular logs modem-crashdump command:
Router# show cellular 0 logs modem-crashdump
Modem crashdump logging: off
Last known State = Getting memory chunks
Total consecutive NAKs = 0
1: Full SDRAM [Base:0x0, Length:0x2000000]
2: MDSP RAM A region [Base:0x91000000, Length:0x8000]
3: MDSP RAM B region [Base:0x91200000, Length:0x8000]
4: MDSP RAM C region [Base:0x91400000, Length:0xC000]
5: MDSP Register region [Base:0x91C00000, Length:0x28]
6: ADSP RAM A region [Base:0x70000000, Length:0x10000]
7: ADSP RAM B region [Base:0x70200000, Length:0x10000]
8: ADSP RAM C region [Base:0x70400000, Length:0xC000]
9: ADSP RAM I region [Base:0x70800000, Length:0x18000]
10: CMM Script [Base:0x6A350, Length:0x310]
Example: Sample Output for the show cellular log error Command
This example shows a sample output of the show cellular log error command:
Router# show cellular 0 log error
00 4E hsu_conf_sel_nv 00536
Example: Sample Output for the test cellular modem-error-clear Command
This example shows a sample output of the test cellular modem-error-clear command:
Router# test cellular 0 modem-error-clear
Cellular0/1/0 Dump/Error info before clear command
00 4E hsu_conf_sel_nv 00536
Cellular0/1/0 Dump/Error registers cleared
PLMN Search and Selection
This feature allows you to search for available Public Land Mobile Network (PLMN) and connect to one of the PLMN.
Restrictions
This restrictions apply for PLMN search and selection:
- Support in Cisco LTE 2.0 and WP76XX modem series and above.
- You have to verify whether your cellular service supports roaming or not.
- You have to use a SIM card that supports roaming.
- This feature is not supported on 4G+WiFi platforms.
- Supported firmware version is 02.18.05.00 or later.
Commands
Use the following commands for PLMN feature:
- cellular < unit > lte plmn search
- cellular < unit > lte plmn select < mode > < mcc > < mnc > < rat > < duration >
- show cellular < unit > network
Searching the Network
You can use the cellular 0 lte plmn search command to search for available PLMNs. This example shows how to search for networks:
router#cellular 0 lte plmn search
Searching for available PLMNs.This may take up to 3 minutes.
Please wait...........................
PLMN search done. Please use "show cellular 0 network" to see available PLMNS
After the search, use the show cellular 0 network command to see the available networks:
router#show cellular 0 network
Current System Time = Fri Sep 18 18:49:24 2015
Current Service Status = Normal
Current Service = Packet switched
Current Roaming Status = Roaming
Network Selection Mode = Manual
Mobile Country Code (MCC) = 234
Mobile Network Code (MNC) = 10
Packet switch domain(PS) state = Attached
Location Area Code (LAC) = 4931
Selecting the Network
There are three ways you can select an available network: Auto mode, Force Mode, and Manual mode. In Auto mode, your router will connect automatically to a network preferred by the SIM. In Force mode, the router is forced to select an available or known network without performing a network search. If a network is not available or the router is unable to attach to a network, then the router will remain in a ‘Not attached’ state. You can use the cellular x lte plmn select auto command to attach the router to a network preferred by the SIM. In Manual mode, you can select an available network from your search result.
This example shows how to select a network manually:
router#cellular 0 lte plmn select manual ?
<0-999> Mobile Country Code (MCC)
router#cellular 0 lte plmn select manual 234 ?
<0-999> Mobile Network Code (MNC)
router#cellular 0 lte plmn select manual 234 10 ?
router#cellular 0 lte plmn select manual 234 10 gsm ?
router#cellular 0 lte plmn select manual 234 10 gsm power-cycle ?
router#cellular 0 lte plmn select manual 234 10 gsm power-cycle
This example shows how to force a network selection:
router#cellular 0 lte plmn select force ?
<0-999> Mobile Country Code (MCC)
router#cellular 0 lte plmn select force 310 ?
<0-999> Mobile Network Code (MNC)
router#cellular 0 lte plmn select force 310 410 ?
<2-3> MNC Digits Ex 23 means 2 Digits, 023 Means 3 Digits
router#cellular 0 lte plmn select force 310 410 2 ?
router#cellular 0 lte plmn select force 310 410 2 lte ?
Router#cellular 0 lte plmn select force 310 410 2 lte power-cycle ?
Router#cellular 0 lte plmn select force 310 410 2 lte power-cycle
Verifying PLMN Selection
Use show cellular 0 network command to verify the PLMN selection:
router#show cellular 0 network
Current System Time = Fri Sep 18 18:53:25 2015
Current Service Status = Normal
Current Service = Packet switched
Current Roaming Status = Roaming
Network Selection Mode = Manual
Mobile Country Code (MCC) = 234
Mobile Network Code (MNC) = 10
Packet switch domain(PS) state = Attached
Location Area Code (LAC) = 4931
router#show cellular 0 radio
Current Band = GSM 900 Extended
Radio Access Technology(RAT) Preference = GSM
Radio Access Technology(RAT) Selected = EDGE
Note Some networks may not allow the router to connect. In such cases, you have to choose a different network.
Note Restart your modem if the router is not able to connect to any network.