About SMS Commands

Works when VPN and web access have failed

Teltonika routers running RutOS support SMS-based management, allowing authorised users to remotely monitor, troubleshoot and recover devices using simple text messages.

Unlike RMS, VPN access or the router's web interface, SMS commands do not rely on a working internet connection. As long as the router is powered on, connected to a mobile network and capable of receiving SMS messages, SMS commands can be used.

When SMS commands are most useful

CCTV or ANPR site has gone offline
EV charger has stopped communicating
Payment terminal or vending machine offline
Telemetry or SCADA installation unreachable
Digital signage screen stopped updating
RMS access is unavailable
VPN tunnel has failed
APN has been configured incorrectly
Router requires a remote reboot
Mobile data session has become unresponsive

SMS commands should be viewed primarily as a recovery and troubleshooting method. Routine configuration changes should normally be made through the router web interface, Teltonika RMS or VPN access.

Important for KeySIM Users

KeySIM SIM cards use European mobile numbers

All KeySIM SIM cards are assigned European mobile telephone numbers. If you intend to send SMS commands directly from a mobile phone, your mobile provider must allow international SMS messaging to European numbers.

Some mobile providers restrict international SMS messaging by default, which may prevent commands from reaching the router.

The preferred approach for KeySIM customers is to send SMS commands directly from the KeySIM management portal:

  • Commands are sent directly from the portal
  • Router responses are received within the portal
  • No international SMS capability needed on your phone
  • Command history can be reviewed later
  • Multiple routers can be managed from a single interface

Quick Reference

Most useful recovery commands

These commands resolve the majority of real-world IoT router issues. Click any command to copy it.

Replace keysimiotsim with your own administrator password

  • keysimiotsim status Start here — confirms router is alive, GSM connected and password is correct
  • keysimiotsim reset_conn Reset mobile data session without rebooting — faster and less disruptive than a full reboot
  • keysimiotsim reboot Full router and modem restart
  • keysimiotsim cellular apn=key Set APN to key — use when router has wrong APN configured
  • keysimiotsim cellular apn=key service=lte roaming=1 Combined fix — correct APN, force LTE and enable roaming in one SMS
  • keysimiotsim cellular roaming=1 Enable roaming — allow SIM to use alternative networks where coverage is stronger
  • keysimiotsim switch_sim Switch active SIM slot on dual-SIM routers
  • keysimiotsim rms_status Check whether router is connected to Teltonika RMS
  • keysimiotsim rms_on Enable RMS if it has been accidentally disabled
  • keysimiotsim vpnstatus Check VPN tunnel status — use when remote access to equipment has failed

Authentication

How the router verifies who is sending the command

Before a router will process an SMS command, it must verify that the sender is authorised. RutOS supports password authentication, authorised number authentication, password and number authentication, or no authentication. Password authentication is the most common configuration.

The password precedes every command

The administrator password appears at the start of every SMS command. Throughout this guide, keysimiotsim is used as the example password. Replace this with the actual administrator password configured on your router.

Example format: your_password command

Record your credentials before every deployment

Every Teltonika router ships with a unique factory-default administrator password printed on the device label. If the router is factory reset — by SMS command, the reset button, or the web interface — all custom configuration will be erased and the password will revert to this original value.

Without the factory-default password, regaining access to a factory-reset router may require a site visit.

For every deployment, record:

  • Router model and serial number
  • Factory-default administrator password
  • Current administrator password
  • SIM ICCID and mobile number
  • Installation location
  • Fixed IP address (if supplied)
  • RMS device name or reference (if used)

All commands below use keysimiotsim as the example password. Replace this with the administrator password configured on your own router before sending any command.

General Commands

6 commands
keysimiotsim status

Status Check

Returns information about the router's operational status, including uptime, network registration, mobile connection status and general device health.

Use: Always send this first when troubleshooting any router. A valid response confirms the router is alive, GSM is working, the SIM is receiving SMS, and your password is correct.

keysimiotsim reboot

Reboot Router

Performs a full restart of the router and modem.

Use: A site is reachable by SMS but no longer passing traffic. A full reboot forces the router and modem to restart cleanly and reconnect to the mobile network.

keysimiotsim reset_conn

Reset Mobile Connection

Disconnects and reconnects the mobile data session without rebooting the full router.

Use: Device is powered on and GSM is connected but has stopped passing data. Resetting the mobile connection is faster and less disruptive than a full reboot — try this before rebooting.

keysimiotsim more

Request Additional Output

Requests the next part of a long SMS response split across multiple messages.

Use: A status or diagnostic response is too long for a single SMS. Sending this command retrieves the next section of the response.

keysimiotsim userdefaults

Restore User Defaults

Restores previously saved user default settings.

Use: Your organisation has a standard known-working configuration saved as user defaults. If a change has caused problems, this restores that baseline without a full factory reset.

keysimiotsim restore

Restore Factory Defaults

Resets the router to factory settings. All custom configuration will be erased and the administrator password will revert to the original factory-default password printed on the device label.

Use: Router has become heavily misconfigured and cannot be recovered by any other method.

Last resort only. All configuration is erased. Ensure you have the factory-default password recorded before sending this command.

Mobile Network Commands

15 commands
keysimiotsim mobileon

Enable Mobile Data

Enables the mobile modem and data connection.

Use: Mobile data has been disabled during testing or maintenance and the router now needs to be brought back online.

keysimiotsim mobileoff

Disable Mobile Data

Disables the mobile data connection.

Use: Investigating unexpected data usage and wanting to temporarily stop mobile data traffic while troubleshooting.

keysimiotsim cellular apn=key

Set APN

Changes the APN used by the router to key — the KeySIM APN.

Use: Router was previously used with another SIM provider and still has the old APN configured. One of the most common causes of connectivity failure when reusing routers.

keysimiotsim cellular apn=key service=lte roaming=1

Combined Fix — APN + LTE + Roaming

Sets the APN to key, forces LTE mode and enables roaming in a single SMS command.

Use: Router is offline after being installed with incorrect mobile settings. This combined command corrects the three most common configuration issues in one step.

keysimiotsim cellular auto_apn=1

Enable Automatic APN Detection

Allows the router to automatically detect APN settings from the SIM card.

Use: Testing with multiple SIM providers before finalising deployment, and automatic APN detection is preferred during the test phase.

keysimiotsim cellular auto_apn=0

Disable Automatic APN Detection

Disables automatic APN detection so the router uses the manually configured APN.

Use: Managed IoT deployment requiring all routers to use the KeySIM APN explicitly rather than allowing automatic selection.

keysimiotsim cellular service=lte

Force LTE Only

Restricts the modem to LTE operation only, preventing it from dropping to older network technologies.

Use: Router keeps dropping from 4G to a weaker legacy network, causing slow speeds or VPN instability. LTE-only mode can improve stability where LTE coverage is consistently available.

keysimiotsim cellular service=auto

Automatic Network Selection

Allows the modem to automatically select the most suitable network technology.

Use: Routers moving between areas with different coverage conditions. Automatic mode allows the router to use the best available service at each location.

keysimiotsim cellular roaming=1

Enable Roaming

Allows the router to connect to roaming networks.

Use: Multi-network IoT SIM needs to use alternative networks where coverage is stronger. Enabling roaming allows the SIM to use the most available network at the deployment location.

keysimiotsim cellular roaming=0

Disable Roaming

Prevents the router from connecting to roaming networks.

Use: Router at a fixed site should remain on a specific network only and not roam to alternative carriers.

keysimiotsim cellular auth_mode=pap

Set PAP Authentication

Sets the APN authentication method to PAP.

Use: Private APN for CCTV, SCADA or building management requires PAP authentication.

keysimiotsim cellular auth_mode=chap

Set CHAP Authentication

Sets the APN authentication method to CHAP.

Use: Managed private network for industrial routers or secure retail connectivity requires CHAP authentication.

keysimiotsim cellular auth_mode=none

Disable APN Authentication

Disables APN username and password authentication.

Use: Standard IoT SIM APN does not require credentials, and authentication settings need to be cleared after a previous configuration.

keysimiotsim cellular username=user

Set APN Username

Sets the APN username. Replace user with the required username.

Use: Private APN for CCTV, BMS or industrial monitoring requires specific credentials supplied by the network provider.

keysimiotsim cellular password=pass

Set APN Password

Sets the APN password. Replace pass with the required password.

Use: Router being deployed for secure telemetry or SCADA connectivity requiring APN credentials.

SIM Management

1 command
keysimiotsim switch_sim

Switch SIM Slot

Changes the active SIM slot on compatible dual-SIM routers.

Use: Dual-SIM router has lost service on the primary SIM. Switching to the backup SIM can restore connectivity without a site visit. Note: on most Teltonika dual-SIM routers, only one SIM is active at a time.

RMS Commands

4 commands
keysimiotsim rms_status

RMS Connection Status

Checks whether the router is currently connected to Teltonika RMS.

Use: Router has disappeared from RMS. This command helps confirm whether the RMS connection itself is the issue, or whether the problem is with the internet connectivity.

keysimiotsim rms_on

Enable RMS

Enables the Teltonika RMS service on the router.

Use: RMS has been accidentally disabled during maintenance or testing. Once enabled, engineers can resume full remote management via the RMS platform.

keysimiotsim rms_off

Disable RMS

Disables the Teltonika RMS service.

Use: Temporarily disabling RMS access during a security audit or while investigating remote access permissions.

keysimiotsim monitoring_status

Monitoring Status

Reports the current status of the router's monitoring service.

Use: Checking whether a router used for telemetry, energy monitoring or remote equipment management is correctly reporting monitoring data.

VPN Commands

3 commands
keysimiotsim vpnstatus

VPN Status

Returns the current VPN connection status for configured profiles.

Use: Engineers cannot connect to equipment behind the router via VPN. This command confirms whether the tunnel is up, saving time before attempting further troubleshooting.

keysimiotsim vpnon profile_name

Start VPN Profile

Starts a specified VPN profile. Replace profile_name with the name of the VPN profile configured on the router.

Use: VPN tunnel used to reach a remote SCADA system, CCTV recorder or BMS controller has disconnected and needs to be restarted without rebooting the router.

keysimiotsim vpnoff profile_name

Stop VPN Profile

Stops a specified VPN profile. Replace profile_name with the name of the VPN profile.

Use: A VPN route is suspected of causing connectivity issues and needs to be temporarily disabled for testing.

Remote Access Commands

6 commands
keysimiotsim sshon

Enable SSH

Enables SSH command-line access to the router.

Use: Engineer needs command-line access to investigate advanced issues when RMS and web interface are unavailable.

keysimiotsim sshoff

Disable SSH

Disables SSH access to the router.

Use: SSH was enabled temporarily for troubleshooting and should now be disabled again for security.

keysimiotsim webon

Enable Web Interface

Enables access to the router's web administration interface.

Use: Web access has been accidentally disabled, preventing normal configuration via the fixed IP address.

keysimiotsim weboff

Disable Web Interface

Disables access to the router's web administration interface.

Use: Reducing remote access exposure on routers used for payment systems, industrial control or security infrastructure.

keysimiotsim config_reload

Reload Configuration

Reloads the router configuration without performing a full reboot.

Use: Configuration changes have been made and services need to be refreshed without fully rebooting the device.

keysimiotsim fw_upgrade

Firmware Upgrade

Triggers a firmware upgrade process where supported and configured.

Use: Fleet of routers needs to be updated for security or stability reasons. Requires the router to have been configured with a firmware upgrade source.

Input & Output Commands

2 commands
keysimiotsim iostatus

Input / Output Status

Returns the current status of configured digital inputs and outputs.

Use: A pump, generator, alarm panel, gate controller or industrial sensor connected to the router — checking whether an input has triggered or an output has changed state.

keysimiotsim ioset

Set Digital Output

Changes the state of a configured digital output.

Use: Router is connected to a relay controlling a gate, pump, alarm, generator or power reset circuit. The output needs to be triggered remotely without visiting site.

WiFi Commands

2 commands
keysimiotsim wifion

Enable WiFi

Enables WiFi on supported routers.

Use: A retail pop-up, temporary office, construction cabin or mobile unit needs local WiFi restored for staff or equipment. Note: not all Teltonika models support WiFi.

keysimiotsim wifioff

Disable WiFi

Disables WiFi on supported routers.

Use: Router is used only for wired equipment and WiFi is disabled to reduce unnecessary access points and radio exposure.

Wake-on-LAN & Advanced

keysimiotsim wakeup

Send Wake-on-LAN Packet

Sends a Wake-on-LAN packet to a device configured on the local network.

Use: A remote NVR, server, industrial PC or digital signage player needs to be powered on without sending an engineer to site. Requires Wake-on-LAN to be enabled and configured on the target device.

keysimiotsim uci

UCI Command Execution

Executes UCI configuration commands directly on the router. Allows advanced settings to be changed when RMS and web access are both unavailable.

Use: Advanced administrators only. Used for SCADA, CCTV, private APN or industrial automation configurations that require low-level changes.

Experienced administrators only. Incorrect UCI commands can break router configuration.

Need help with a Teltonika router?

If SMS commands are not resolving an issue, contact our team. For hardware, pre-configuration or deployment support, speak to Solwise.