cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1169
Views
0
Helpful
2
Replies

invalid input "$_cli_result"

KangarooEPT
Level 1
Level 1

Hi,

I have the following logging script which worked fine on previous firmware on IR-829, however on latest firmware I am unable to get past action 04, see below.  seems ios is expecting something between GPSDATA and "$_cli_result"

Any ideas...

IR829(EMM config)# event manager applet GPSTRACK

IR829(EMM config)# event timer watchdog time 30

IR829(EMM config)# action 01 cli command "enable"

IR829(EMM config)# action 02 file open GPSDATA flash:GPSLOGS.TXT a+

IR829(EMM config)# action 03 cli command "show cellular 0 all | i APN|IP address|TAC|Cell ID|Current RSSI =|Current RSRP =|Current RSRQ =|Current SNR =|Latitude|Longitude|Timestamp"

IR829(EMM config)# action 04 file write GPSDATA "$_cli_result"

2 Replies 2

Palani Mohan
Cisco Employee
Cisco Employee

Hi there

Please help me understand the problem better. When you wrote "I am unable to get past action 04", what happens? Do you see an error message? OR, are you not seeing any output for show cellular 0 in GPSLOGS.TXT file?

What version were you running before and what version are you running now?

Sincerely ... Palani

ben.larcombe1
Level 1
Level 1

Hi there,

Configuring 'Shell processing full' seems to stop variables starting with the $ symbol from working, and sometimes it is needed for them to work. Try Configuring 'no shell processing full' and then reattempt to configure the emm script. 

Regards, 

Ben