cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1271
Views
0
Helpful
5
Replies

Dual SIM Active Issue

farguisito
Level 1
Level 1

Hi,

I have a C881G+7-K9 and I want to connect internet by 2 Differents SIMs because I haven´t data ilimited. I have thought to create a DDNS in each slot and I would like alternate the 2 SIMs each 24 hours because I want to connect the Router throught only one domain. Due to I can´t activate the 2 SIMs together (I believe that this model is impossible), I need to create this solution.

Could you tell me how Can I do it ?? Do you think another solution??

I am a bit idiot with the EEM languaje. 

Thanks.

Regards.

5 Replies 5

Joe Clarke
Cisco Employee
Cisco Employee

EEM isn't magic.  It allows you to automate the same CLI commands and SNMP operations you can do manually.  Given that, what are the CLI commands you would use to switch SIMs manually?  From that, you can wrap those commands in an EEM policy that will perform the switch every 24 hours.

event manager applet switch-sims

 event timer watchdog time 86400

 action 1.0 cli command "enable"

! CLI commands go here

Hi,

Thanks for your respond,

Is possilbe enter if/else or variable??

For example I would like  activate the slot 0 of the SIM with these commands.

configure terminal
router(config)# controller Cellular 0
router(config-controller)#lte sim primary slot 0

However I would activate the slot 1 the next 24 hours

configure terminal
router(config)# controller Cellular 0
router(config-controller)#lte sim primary slot 1

I want to alternate the secuence.

How Can I do it??

Thanks.

Regards.

How do you determine the current active SIM slot?

For example I can use a variable,

If a =1 then { lte sim primary slot 0 (this mean that slot 1 was activate);

a=0;}

else {lte sim primary slot 1;

 a++;}

Something like this.

Yes, you can do this, but you need to set the variable correctly the first time.  It's best to simply read the active slot and change to the other.  What is the command and its output that shows the active slot?