---
title: Cellular Backhaul Commands (Sierra Wireless)
description: "Command:  ati Example output: Command:  at!gobiimpref? Example output: Command: at+ccid Command: at+iccid Example output: To remove/disable/unlock the PIN for SIM: To Lock/Enable the SIM with PIN: Not"
---

[Skip to content](https://knowledgehub.tektelic.com/cellular-backhaul-commands-sierra-wireless#main-content)

English

Show submenu for translations

![](https://knowledgehub.tektelic.com/hubfs/logo%20Tektelik.svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact us](https://supporthub.tektelic.com/tickets-view)

[Contact us](https://supporthub.tektelic.com/tickets-view?hsLang=en)

 Search Documentation

- There are no suggestions because the search field is empty.

1. [Knowledge Hub](https://knowledgehub.tektelic.com/?hsLang=en)
2. [LoRaWAN Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en)
3. [General Kona Gateway Information / Configuration](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#general-kona-gateway-information-configuration)

# Cellular Backhaul Commands (Sierra Wireless)

**Please note that the commands listed below are intended for debugging purposes. We do not recommend using below commands in conjunction with scripts to query or configure the modem as this has been known to cause issues with the gateway's connection manager.**

### **Requirements:**

1. Kona Gateway with Cellular Backhaul. **If you are unsure if your gateway features cellular backhaul, please consult the user guide for your gateway and cross-reference it with the T-code (i.e. T000XXYY) BEFORE proceeding with this article.**
2. SSH access to the gateway.

This article will contain commands to configure the cellular backhaul of your Kona Gateway. These commands ONLY apply to gateways with Sierra Wireless modems.

**To determine if your gateway has the correct modem model, please follow the below steps:**

1\. SSH into your gateway.

2\. Run the following command:  **konaLTEmodem.py -c 'ati'**

### Command Usage

There are two ways to execute a command - in one line or within the script.

1. One line: **konaLTEmodem.py -c '\<insert command here\>'**
2. Within the script: First enter "**konaLTEmodem.py**" by itself, then enter your command.

### Set APN

There are two ways to set an APN - [through KonaFT](https://knowledgehub.tektelic.com/konaft-faq?hsLang=en) or through command-line.

1. In the command-line, enter the following command:  **at+cgdcont=1,"IP","\<APN\_OF\_SIM\_U\_R\_USING\>","0.0.0.0",0,0**
2. The **"1"** in the command indicates the profile index. To set the 2nd profile, replace it with a 2.

### Check APN profiles

There are two ways to check APN profiles - [through KonaFT](https://knowledgehub.tektelic.com/konaft-faq?hsLang=en) or through command-line.

1. In the command-line, enter the following command:  **at+cgdcont?**
2. Example:  **konaLTEmodem.py -c '** **at+cgdcont?** **';**

### Check Modem Statistics

Command:  **at!gstatus?**

Example output:

1. ```
   root@kona-micro:~# konaLTEmodem.py -c 'at!gstatus?';
   at!gstatus?
   !GSTATUS: 
   Current Time:  2240             Temperature: 45
   Reset Counter: 31               Mode:        ONLINE         
   System mode:   LTE              PS state:    Attached     
   LTE band:      B7               LTE bw:      10 MHz  
   LTE Rx chan:   2800             LTE Tx chan: 20800
   LTE CA state:  NOT ASSIGNED
   EMM state:     Registered       Normal Service 
   RRC state:     RRC Connected  
   IMS reg state: No Srv  
   
   PCC RxM RSSI:  -84              RSRP (dBm):  -109
   PCC RxD RSSI:  -82              RSRP (dBm):  -105
   Tx Power:      --               TAC:         DACF (56015)
   RSRQ (dB):     -7.0             Cell ID:     087A035D (142213981)
   SINR (dB):     13.6

   OK
   ```

### Check Modem status

Command:  ati

Example output:

1. ```
   root@kona-micro:~# konaLTEmodem.py -c 'ati';
   ati
   Manufacturer: Sierra Wireless, Incorporated
   Model: EM7455
   Revision: SWI9X30C_02.30.01.01 r7792 CARMD-EV-FRMWR2 2018/07/13 02:24:52
   MEID: 35907306215981
   ESN: 12805526736, 805454D0
   IMEI: 359073062159813
   IMEI SV: 16
   FSN: LF852183970110
   +GCAP: +CGSM

   OK
   ```

### Check Modem firmware

Command:  **at!gobiimpref?**

Example output:

1. ```
   root@kona-micro:~# konaLTEmodem.py -c 'at!gobiimpref?';
   at!gobiimpref?
   !GOBIIMPREF: 
    preferred fw version:    02.30.01.01
    preferred carrier name:  GENERIC
    preferred config name:   GENERIC_002.045_001
    current fw version:      02.30.01.01
    current carrier name:    GENERIC
    current config name:     GENERIC_002.045_001
   
   OK
   ```

### Check ICCID

Command: **at+ccid**

Command: **at+iccid**

Example output:

1. root@kona-micro:~# konaLTEmodem.py -c 'at+iccid'  
   at+iccid  
   ICCID: \[string of numbers\]  
   OK

### Check SIM Status

Command:  **at+cpin?**

Example output:

1. :at+cpin?  
   at+cpin?  
   +CPIN: READY  
   OK

### Check Active SIM slot

Command:  **at!uims?**

Example output:

1. :at!uims?  
   at!uims?  
   !UIMS: 0  
   OK

### Change Active SIM slot

Command: **at!uims=\[0/1\]**

Example output:

1. :at!uims=1  
   at!uims=1  
   OK

### Checking if SIM is locked with PIN

Command:  **at+clck="sc",2**

Check output.

1. **+CLCK: 0** means that the **SIM is NOT LOCKED.**
2. **+CLCK: 1** means that the **SIM is LOCKED.**

Example output:

1. :at+clck="sc",2  
   at+clck="sc",2  
   +CLCK: \[0 or 1\]

 Lock/Unlock SIM with PIN

**To remove/disable/unlock the PIN for****SIM****:**

Command:  **at+clck="sc",0,"\<PIN\>"**

Example output:

1. :at+clck="sc",0,"\<PIN\>"  
   at+clck="sc",0,"\<PIN\>"  
   OK

**To Lock/Enable the****SIM****with PIN:**

Command:  **at+clck="sc",1,"\<PIN\>"**

Example output:

1. :at+clck="sc",1,"\<PIN\>"  
   at+clck="sc",1,"\<PIN\>"  
   OK

### Enter SIM PIN:

Command: **at+cpin=** **\<SIM PIN\>**

### Change SIM PIN:

Command:  **at+cpwd="SC","\<current PIN\>","\<New PIN\>"**

Example: Changing SIM PIN to "1234"

1. :at+cpwd="SC","0000","1234"  
   at+cpwd="SC","0000","1234"  
   OK

**Note:**

**If the user enters wrong PIN, after 3 tries (3 bootup), the****SIM****will be locked. To unlock the****SIM****, user has to obtain "****PUK****" code from the cellular provider.**

**Once they get the "****PUK****" then they have to use this****PUK****and set the new****SIM****PIN. Then they can start using this new****SIM****PIN. This can be done using "AT" commands.**

Example locked output:

1. :at+cpin?  
   at+cpin?  
   +CPIN: SIM PUK  
   OK

Changing PIN with PUK:

1. :at+cpin="77700212","1234"  
   at+cpin="77700212","1234"  
   OK

Verify that SIM is not locked:

1. :at+cpin?  
   at+cpin?  
   +CPIN: READY  
   OK

 

- [Building Your First LoRaWAN Network](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#main-content)

    - [Tektelic LNS Quick Start Guide](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#tektelic-lns-quick-start-guide)
    - [Tektelic LoRaWAN Gateway Quick Start Guides](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#tektelic-lorawan-gateway-quick-start-guides)
    - [Tektelic LoRaWAN Sensor Quick Start Guides](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#tektelic-lorawan-sensor-quick-start-guides)
    - [Kona ATLAS](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#kona-atlas)
- [LoRaWAN Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#main-content)

    - [Kona Micro Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-micro-gateways)
    - [Kona Macro Gateway](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-macro-gateway)
    - [Kona Mega Gateway](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-mega-gateway)
    - [Kona Enterprise Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-enterprise-gateways)
    - [Kona Photon Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-photon-gateways)
    - [Micro-Lite / Pico Gateway](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#micro-lite-pico-gateway)
    - [General Kona Gateway Information / Configuration](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#general-kona-gateway-information-configuration)
    - [Powering Guides](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#powering-guides)
    - [BSP Upgrades](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#bsp-upgrades)
    - [KONA LINK Webserver](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-link-webserver)
    - [Antenna Guides](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#antenna-guides)
    - [Embedded LoRaWAN Network Server](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#embedded-lorawan-network-server)
    - [Geolocation](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#geolocation)
- [LoRaWAN Sensors](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#main-content)

    - [COMFORT / VIVID Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#comfort-vivid-sensor)
    - [CLOVER / KIWI Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#clover-kiwi-sensor)
    - [TUNDRA Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#tundra-sensor)
    - [STORK Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#stork-sensor)
    - [BREEZE Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#breeze-sensor)
    - [ORCA Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#orca-sensor)
    - [eDoctor Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#edoctor-sensor)
    - [Arm Band Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#arm-band-sensor)
    - [SEAL Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#seal-sensor)
    - [Mulch Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#mulch-sensor)
    - [TEMPO Tablet](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#tempo-tablet)
    - [MEMO Tablet](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#memo-tablet)
    - [AURA / FLUX Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#aura-flux-sensor)
    - [SPARROW / PELICAN / FINCH / ROBIN Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#sparrow-pelican-finch-robin-sensor)
    - [CHICKADEE Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#chickadee-sensor)
    - [Industrial Transceiver](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#industrial-transceiver)
- [KONA CORE LoRaWAN Network Server](https://knowledgehub.tektelic.com/kona-core-lorawan-network-server?hsLang=en#main-content)

    - [KONA CORE LoRaWAN Network Server Guides](https://knowledgehub.tektelic.com/kona-core-lorawan-network-server?hsLang=en#kona-core-lorawan-network-server-guides)
    - [Updates and Improvements](https://knowledgehub.tektelic.com/kona-core-lorawan-network-server?hsLang=en#updates-and-improvements)
- [Kona ELEMENT OA&M Server](https://knowledgehub.tektelic.com/kona-element-oam-server?hsLang=en)
- [Applications / Tools](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#main-content)

    - [LeapX](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#leapx)
    - [KonaFT](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#konaft)
    - [Kona Radiant](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#kona-radiant)
    - [LOCUS](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#locus)
- [Announcements](https://knowledgehub.tektelic.com/announcements?hsLang=en)
- [Third-Party Network Servers](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#main-content)

    - [AWS IoT Core](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#aws-iot-core)
    - [The Things Network (TTN)](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#the-things-network-ttn)
    - [Loriot LNS](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#loriot-lns)
    - [Actility Thingpark LNS](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#actility-thingpark-lns)
    - [ChirpStack LNS](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#chirpstack-lns)
- [FTP Server](https://knowledgehub.tektelic.com/ftp-server?hsLang=en)
- [Product Warranty / RMA Process](https://knowledgehub.tektelic.com/product-warranty-rma-process?hsLang=en)
- [Integrations](https://knowledgehub.tektelic.com/integrations?hsLang=en)
- [Support Changes](https://knowledgehub.tektelic.com/support-changes?hsLang=en)
- [Vulnerability Reporting](https://knowledgehub.tektelic.com/vulnerability-reporting?hsLang=en)
- [Software Update and Patching](https://knowledgehub.tektelic.com/software-update-and-patching?hsLang=en)
- [Troubleshooting](https://knowledgehub.tektelic.com/troubleshooting?hsLang=en)
- [OpenVPN](https://knowledgehub.tektelic.com/openvpn?hsLang=en)

# TEKTELIC Communications

7657 10 St NE, Calgary, AB T2E 8X

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, TEKTELIC Communications