M
M
MrDZ2018-04-28 13:44:21
Mikrotik
MrDZ, 2018-04-28 13:44:21

Run a command on multiple mikrotiks?

there is a cmd file that adds an ip sheet to the address

@set "username=admin"
@set "filename=1.rsc"
@set "ip=10.10.10.1"



PSCP.EXE %filename% %username%@%ip%:/ 
PLINK.EXE %username%@%ip%:/ import file-name=%filename%

how to make the command sent to the ip list
@set "ip=ip.txt"
?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2018-04-29
@karabanov

Use Ansible like this https://www.youtube.com/watch?v=E8NsgpW18C4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question