Community discussions

MikroTik App
 
scampbell
Trainer
Trainer
Topic Author
Posts: 487
Joined: Thu Jun 22, 2006 5:20 am
Location: Wellington, NZ
Contact:

Romon Multiple Secrets

Sun Jan 16, 2022 12:45 am

From both the wiki.mikroitk.com and help.mikrotik.com:

https://wiki.mikrotik.com/wiki/Manual:T ... ON#Secrets
https://help.mikrotik.com/docs/display/ ... ON-Secrets

- configure each router one by one with secrets="","mysecret"

yet when you do that......

RoS7.1.1
[admin@Classroom v7 ] /tool/romon> set secrets="","mysecret"
expected end of command (line 1 column 15)

RoS 6.59
[admin@Class Router 1] /tool romon> set secrets="","mysecret"
expected end of command (line 1 column 15)

But when you add a couple of secrets via the GUI and export using show-sensitive:
/tool/romon> exp show-sen
/tool romon
set enabled=yes secrets="mysecret,\"\""

/tool romon set secret=test1,test2 works
/tool romon set secret=test1,"" does not work, yet /tool romon set secret="\"\".test1" works.

It seems the Wiki/Help syntax is incorrect ? Can anyone confirm this please ?

Who is online

Users browsing this forum: eworm, syslog and 79 guests