Mikrotik Api Examples Site
Make sure /ip service set api-ssl disabled=no is enabled on the router. RouterOS 7.14 introduced REST API, but the classic API also works fine. For large networks, try async:
Board: RB750Gr3 Uptime: 3d5h12m CPU Load: 7% Automating DHCP reservations. mikrotik api examples
Try the examples above, then modify them to fit your network. Next week, I’ll cover for live graphing. Make sure /ip service set api-ssl disabled=no is
api(cmd='/queue/simple/add', name='client-limited', target='192.168.88.100/32', max_limit='5M/5M', comment='api-created') For production, always use SSL on port 8729. comment='api-created') For production
print(f"Active connections: TCP={tcp_count}, UDP={udp_count}") Limit a client’s bandwidth via script.
2 comments:
tidak sampai 1 menit, printer kembali normal... dikerjakan pada jam 4 pagi. puas sekali dengan pelayanannya dan terpercaya. TERIMA KASIH! semoga berkah dan lancar rejekinya, aamiin
Sangat terbantu sekali..
Terimakasih banyak tim resetter, gercep bgt meski pagi2 di hari libur.
Posting Komentar