How to "Telnet to other device" ?

Hi,

How to make script to telnet other device from ROS v3.17 ?

I want Mikrotik can do below steps if ping to 1.1.1.10 is Time Out:

  • telnet 1.1.1.200
  • telnet user: admin
  • telnet password: 1234
  • and do this command in device 1.1.1.200 “power backup up” then “reboot”

I know how to make script “if ping to 1.1.1.10 is Time Out” in Mikrotik, but I don’t know how to execute command into other device. That other device is NOT mikrotik.

Thank You

RouterOS scripting language is not capable of doing this.