Community discussions

MikroTik App

Search found 5 matches

by LansoirThemtq
Fri Mar 03, 2023 6:59 am
Forum: Scripting
Topic: How to extract network variables?
Replies: 4
Views: 2174

Re: How to extract network variables?

I am not aware of any pre-existing script that accomplishes these specific tasks. However, you can use RouterOS scripting language to achieve this. Here is an example script that extracts the minimum and maximum usable hosts, as well as the network address with a value "n" added to it: # A...
by LansoirThemtq
Fri Mar 03, 2023 6:18 am
Forum: SwOS
Topic: inquire about the default behavior of the switch
Replies: 2
Views: 3067

inquire about the default behavior of the switch

As a beginner in MikroTik switch configuration, I would like to inquire about the default behavior of the switch in a specific scenario. I have set up VLANs on the switch, but I'm unsure what happens to communication on the switch if the router goes offline or is completely turned off. Will the conn...
by LansoirThemtq
Thu Mar 02, 2023 8:48 am
Forum: Scripting
Topic: speed values are not showing decimal places
Replies: 1
Views: 1076

speed values are not showing decimal places

Using the RouterOS API, I was able to retrieve the download and upload speed of a server. However, the speed values are not showing decimal places; for instance, 92.248428 is being saved as 92248428.000. Does anyone know how to resolve this issue? The code I have used is provided below: $API->write(...
by LansoirThemtq
Wed Feb 22, 2023 12:26 pm
Forum: SwOS
Topic: How to run SwOS on MikroTik CRS354?
Replies: 2
Views: 3259

How to run SwOS on MikroTik CRS354?

Once I learned about the switch, I had to have it, as I was familiar with MikroTik's environment and loved their home routers. However, after I acquired it, I realized that it only operated RouterOS, which was disappointing. I've been using it in production as my primary switch for some time now. Ho...
by LansoirThemtq
Wed Feb 15, 2023 8:32 am
Forum: Scripting
Topic: How to monitor interface status?
Replies: 1
Views: 1669

How to monitor interface status?

We're working on a script to monitor changes in the Interface Running status, and we want it to send an email alert to the Admin whenever the status changes from Running to Not Running, or vice versa. Can anyone offer assistance?