Community discussions

MikroTik App
 
xootraoox
just joined
Topic Author
Posts: 19
Joined: Fri Jan 31, 2014 5:24 am

CAPsMAN scripting not return values

Thu Oct 26, 2017 7:53 am

When I run this
:put [/caps-man actual-interface-configuration get CAP_testing-1-1 configuration.ssid]
I expect return value "CAPs02-24", but the result is none, this is the screencap
Captura de pantalla de 2017-10-26 01-49-34.png
Is a Bug?
Any way to get individual values for current config?

Thanks in advance.
You do not have the required permissions to view the files attached to this post.
 
User avatar
BlackVS
Member Candidate
Member Candidate
Posts: 174
Joined: Mon Feb 04, 2013 7:00 pm
Contact:

Re: CAPsMAN scripting not return values

Thu Oct 26, 2017 8:08 am

It is due to no actually configuration.ssid field. WinBox does some work to show it.
You must to do too:

1. Get current config name (in my case for cap3):
 :put [/caps-man interface get cap3 configuration]
In my case found configuration is "cfg5_5260"

2. When check ssid field in the found configuration:
:put [/caps-man configuration get cfg5_5260 ssid]

Who is online

Users browsing this forum: Google [Bot] and 17 guests