Knowledgebase
INFO ISP > Support Ticket > Knowledgebase

Search help:


Create multiple queue & Vlans a singel Command on Mikrotik router

Solution

How to create multiple queue & Vlans a singel command on Mikrotik

Here is the simple command to add all IP in MikroTik simple queue. In the MikroTik terminal, just run the following code. But before copy and paste the code, first copy the code in a notepad and change the IP address range and bandwidth values as you want based on your policy. Then run that command inside MikroTik terminal.

for x from 1 to 254 do={/queue simple add name="queue-$x" max-limit=3M/3M target="192.168.77.$x"}
:for x from=3541 to=3544 do={interface vlan add name=("$x-PPPoE") vlan-id=$x interface=ether4}
 
Was this article helpful? yes / no
Related articles How to Prioritize Zoom Traffic using MikroTik Router
How to Prioritize Whatsapp, Facebook & Instagram traffics using Mikrotik
How to DDOS Protection in mikrotik
How to Install Apache, MySQL, and PHP on CentOS 6.10
Install ISPConfig on CentOS 6
Article details
Article ID: 11
Category: Knowledgebase
Views: 329
Rating (Votes): Article rated 3.3/5.0 (14)

 
« Go back

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies