MikroTik makes Network Automation really simple with Scheduler (Quick Startup & Backup scripts)

preview_player
Показать описание
Hello friends! Hope you are doing well. This video will briefly cover the power behind network automation and how quick and easy MikroTik makes it by using its built-in script language and the system scheduler to achieve automation. I hope this gives you some insight and perhaps additional ideas what you could use the scheduler for in your own environments.

❗Help the channel grow by subscribing if you aren't subscribed already! A like is also very appreciated and feel free to leave a comment about what you liked or disliked in the video and what else you would like to see from me :) 👊❗

Details about the video:

Timestamps:
📕00:00 - Introduction
📕01:12 - Lab Overview
📕02:55 - Startup Script setup (Power on containers)
📕08:44 - Scheduled Script setup (Router Backups)

Support the Channel:

Social Media:

MTCRE Playlist:

MTCNA Playlist:

Thanks again for watching
Рекомендации по теме
Комментарии
Автор

Hey guys, just some reference material that you can use with the video. I highly encourage testing scripts out in a lab before trying to implement anything in a production environment. Note that I have some security concerns for having a username & password in cleartext to an FTP server that you have read&write access to on a script. If someone malicious gains access to your MikroTik they could potentially extract these credentials from the script to gain even further access into the network. Always ensure that you practice safe network security by restricting access as much as possible and performing device hardening with regular software updates & firewall rules. Reference docs:

MikroTik Scheduler:

MikroTik Scripting:

MikroTik Backup Script by fra81ita:

TheNetworkBerg
Автор

Thanks for the video!
As always, best explained and super informative!

floriangrill
Автор

Nice video. good practicle is to make skript in skript menu and call that script from shedule.

mangup
Автор

Hey, awesome content! Do you have any recommendations for doing l3hw offloading with bgp? I want to build a BGP based homelab, but I don't know which router to use and i can't spend a lot of money on it. If you learn routes with BGP will they work like static routes in that they will be programmed into the switch chip and be offloaded? If so, would the small 4 port SFP+ switch a good choice? I'm fine with basic ACLs

LampJustin
Автор

You should never use internal ID in script directly. Normally you would use Find to Find all ID by comment/name or other unique name. But since you like to start all containers, you can use :foreach and find to loop trough all ID and start them one bye one. :)

lakromani
Автор

Why is this even a thing? Why not just add the restart parameter? restart=unless-stopped?
Maybe it's more difficult to implement than it seems and it'll come in a later version.

ChristopherScanlan