Based on routeros_api
Settings
-
settings.ini
-
user = Login
-
password = Password
-
host = 172.20.10.4 #router host
-
port = 8728
-
#default if you dont want to use it in command line
-
device = ether10
Unix
- ./api.py [enable|disable] [ether10]
Windows
- python api.py [enable|disable] [ether10]