# R11e-LTE - configuration help

**URL:** <https://forum.mikrotik.com/t/r11e-lte-configuration-help/138222>\
**Category:** Beginner Basics\
**Created:** [April 3, 2020, 3:57pm UTC](https://forum.mikrotik.com/t/r11e-lte-configuration-help/138222 "2020-04-03T15:57:31Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![SiB](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/sib/32/1144_2.png) [@SiB](https://forum.mikrotik.com/u/SiB)\
**Post date:** [September 14, 2020, 11:36am UTC](https://forum.mikrotik.com/t/r11e-lte-configuration-help/138222/8 "2020-09-14T11:36:02Z")

</div>

AlexRodac

> [@](#):
>
> Hello how are you?  
> …I want to know how to make the device change sim automatically with some script, in addition to knowing how to activate the sms, to achieve that when receiving An SMS with the secret followed by some command,

Long vacation and I back to forum.

The easy way is just main command to check current slot and change it.  
Differ is in ros6 and ros7.  
When you have that script who do a swat sim slots then you can run it like any other script.

Swap Sim Slot for ROSv6:

```plaintext
if ([system routerboard modem get sim-slot] = "a") do={
  log warning "LTE SIM SLOT will change to B"
  system routerboard modem set sim-slot=b
} else={
  log warning "LTE SIM SLOT will change to A"
  system routerboard modem set sim-slot=a
}

```

Swap Sim Slot for ROSv7:

```plaintext
if ([interface/lte/settings/get sim-slot] = "a") do={
  log warning "LTE SIM SLOT will change to B"
  interface/lte/settings/set sim-slot=b
} else={
  log warning "LTE SIM SLOT will change to A"
  interface/lte/settings/set sim-slot=a
}

```

Run script by one command like:

```plaintext
/system scripts run NameOfYourScript

```

* * *

SMS works very good.  
You can grab new incomming and re-send them to other mobile number or send them to your e-mail etc.  
Read a mikrotik wiki → sms section

---

_[View the full topic](https://forum.mikrotik.com/t/r11e-lte-configuration-help/138222)._
