The SIM Database (available at Hardware Interfaces > Cellular Interfaces > SIM Database) is used for storing and applying configurations to SIM cards.
In the KNOWN SIM table, you can view SIM card configurations that the router has used, including SIM cards that the router is currently using. You can also edit the configuration for a known SIM card to match any updates required by your carrier; a new APN, for example.
Known SIM card entries are based on the last configured state. The current SIM in use can be updated using the Cellular Interface configuration (Hardware Interfaces > Cellular Interfaces > Configuration) or directly in the KNOWN SIM table. Either method produces the same result.
In the TEMPLATE table, you can create and maintain one or more SIM Templates. SIM cards that have not yet been inserted and added to the database can be preconfigured using a SIM Template, which will set up Rank, APN, MTU, and other network settings. SIM Templates are applied by including them within an AirLink OS device template, and then applying that device template to one or more additional routers.
AirLink OS will apply Known SIM configurations first if a complete ICCID match is found in the database, and then apply a SIM Template if no direct match is found. If there is no Known SIM record and no matching SIM Template, then the SIM will be used in Auto mode for APN, MTU, and network settings. If there is more than one template that matches the SIM, then it will use the Rank to determine which template to use.
If Auto mode allows a SIM card to connect and operate as intended, no SIM Template is required.
If a SIM card has previously been inserted into a router, whether it is actually used to connect to a carrier network or not, the router will have a Known SIM entry for that SIM card. If you need to update custom settings for a Known SIM card using a SIM Template, then you must select the DELETE TABLE FOR TEMPLATE option in the KNOWN SIM table when creating the AirLink OS device template that you intend to apply to other devices.
If the SIM card has a PIN code assigned to it, then you can configure the router to enter the PIN on reboot. For more information on SIM PIN, see SIM PIN .
To edit a Known SIM:
If the SIM has a PIN, you must re-enter the correct SIM PIN to change the SIM configuration.
If the SIM has an authentication password, you must re-enter the correct password to change the SIM configuration.
The settings in the Edit SIM configuration window match the settings in the Cellular interface (Hardware Interfaces > Cellular Interfaces > Configuration) if you are editing a SIM currently in use.
SETTING | DESCRIPTION | RANGE |
---|---|---|
IPV4 |
|
On, Off |
IPV6 |
|
On, Off |
APN MODE |
When APN MODE is set to Auto, the router will automatically select the appropriate APN settings based on the SIM card or network it is connected to. When APN MODE is set to Manual, you may need to set one or more of the following, as required by your service provider:
When APN MODE is set to Multi, up to 5 virtual APNs can be created per SIM. For example, a Bell SIM can go on the air with the generic “inet.bell.ca” APN and also a specific custom APN. This allows the router to connect to both APNs at the same time using one SIM. The APN LIST will allow you to enter the different APNs that the SIM supports. See Configuring Cellular Interfaces-Multi APN Configuration for more information on how to create a virtual APN. |
Auto, Manual, Multi |
PREFERRED TECHNOLOGY |
|
Auto, 3G Only, 4G Only, 5G-SA |
DATA ROAMING | Enables or disables roaming on the active SIM. When Off, the active SIM does not use data when roaming. | On, Off |
AUTO MTU |
|
On, Off (default is On) |
MTU |
|
68 — 65536 (default is 1500) |
SIM PIN |
For more information on SIM PIN, see SIM PIN |
4 – 8 digits |
CONFIGURATION NAME |
|
n/a |
If you need to delete a SIM entry, in the KNOWN SIM table, at the end of a table row, click and select Delete.
After you delete a SIM database entry, if the router detects the same SIM again, the configuration for that SIM will be reset to defaults or the relevant SIM template, including any PIN.
If the SIM has a PIN and is currently in use and connected when the SIM database entry is deleted, the router will stay online without re-entering the PIN until it is rebooted.
If you want to continue using the PIN on the SIM, then you will need to re-enter the PIN when the SIM is automatically added to the SIM database. See SIM PIN for more information on re-entering a PIN.
To create a template that will set the appropriate carrier settings for other SIMs of the same kind, you must create a SIM Template, which can then be included in an AirLink OS device configuration template. SIM Templates let you configure the associated parameters, and AirLink OS will apply them based on the matching pattern (Association Type) that you specify.
When applying a device configuration template that includes a SIM Template, any known SIMs in the target router will use their existing configurations before applying the SIM Template settings. If you are trying to override an existing SIM configuration with the new template, you must select DELETE TABLE FOR TEMPLATE so that the existing Known SIM table is deleted at the time the new template is applied.
Do I need to use a SIM Template?
- No, if your SIMs work in Automatic APN mode (using common APN, automatic MTU and no special settings)
- Yes, if you need to set any custom APN, multi-APN, authentication and/or custom MTU settings and apply those settings to other routers
SIM Templates include the following settings, as required:
SIM Templates can be configured for Automatic, Manual or Multi-APN. Once all SIM configuration variables are set, save the SIM Template and include the SIM Template in a device configuration template.
You can create a SIM Template based on the following “Association types”:
To create a SIM Template:
Go to Hardware Interfaces > Cellular Interfaces > SIM Database.
Under TEMPLATE, click CREATE SIM TEMPLATE.
The Create SIM template window appears.
Configure the settings as described below.
SETTING | DESCRIPTION | RANGE |
---|---|---|
ASSOCIATION TYPE | Select how you want to identify the SIMs you want to configure with the SIM template | PLMN (default), ICCID, Carrier name, Slot ID |
ASSOCIATED PLMN |
Appears if ASSOCIATION TYPE is set to PLMN. Select the desired PLMN to include in the template. The PLMN is a numerical string that can be found at Status/Monitoring > System > Cellular. |
n/a |
ASSOCIATED ICCID |
Appears if ASSOCIATION TYPE is set to ICCID. Enter the desired ICCID to include in the template. Enter as many digits as required to specify the target ICCID prefix. Your carrier representative can provide you with the prefix length. The ICCID can also be found at Status/Monitoring > System > Cellular. |
n/a |
ASSOCIATED CARRIER |
Appears if ASSOCIATION TYPE is set to Carrier name. Select the desired carrier to include in the template. |
n/a |
ASSOCIATED SLOT |
Appears if ASSOCIATION TYPE is set to Slot ID. Select the slot number to include in the template. Use this option if you are certain that your fleet’s SIM cards are identical and installed in the same SIM slot. |
R2C, SLOT 1, SLOT 2 |
IPV4 | See IPV4 | |
IPV6 | See IPV6 | |
APN MODE | See APN MODE | |
MANUAL APN | See MANUAL APN | |
AUTHENTICATION PROTOCOL | See AUTHENTICATION PROTOCOL | |
AUTHENTICATION USERNAME | See AUTHENTICATION USERNAME | |
AUTHENTICATION PASSWORD | See AUTHENTICATION PASSWORD | |
APN LIST | See APN LIST | |
PREFERRED TECHNOLOGY | See PREFFERED TECHNOLOGY | |
AUTO MTU | See AUTO MTU | |
MTU | See MTU | |
CONFIGURATION NAME | See CONFIGURATION NAME | |
SIM PIN | See SIM PIN | |
RANK | Enter a unique rank (or priority) for the SIM Template. The template’s rank determines the order in which it is applied. | n/a |
The SIM Template must be included as part of an overall device configuration template that, when applied to a fleet of routers, will configure the SIM card(s) present in those routers.
To create a device configuration template that will include any SIM Templates you’ve configured:
Click the Templates icon , located in the upper right hand corner, and select Create template from scratch or Create template from current configuration.
Go to Hardware Interfaces > Cellular Configuration > SIM Database.
(Optional) Select DELETE TABLE FOR TEMPLATE to clear the SIM database on the target router when the new template (with SIM template included) is applied. For more information, see below.
Do not select DELETE TABLE FOR TEMPLATE if you are adding a new SIM to a fleet with existing SIM cards not using Auto APN. This step is optional if you are adding a new SIM card to routers that already have a SIM card operating in Auto APN mode.
Any known SIMs in the target router will use their existing configurations before applying the SIM Template settings. If you are trying to override an existing SIM configuration with the new template, you must select DELETE TABLE FOR TEMPLATE so that the existing SIM Database is deleted at the time the new template is applied.
Select the desired SIM Template(s) by selecting the checkbox on the far left.
If the SIM Templates contain any authentication passwords or PIN, you must re-enter the passwords and PIN when creating the device configuration template.
a. Select the desired SIM Template.
b. Edit the SIM Template to add the password(s)/PIN required. Ensure that the checkbox has a blue check mark. If there is no blue check mark, then it will not include them in the template.
c. Click Update.
Click EXPORT TO FILE or (when using ALMS) EXPORT TO MY ALMS ACCOUNT.