Knowledgebase
Sarail Net > Support Ticket > Knowledgebase

Search help:


Create multiple pppoe user, queue, Vlans a singel Command

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}
for i from=2018101 to=2018155 do={/ppp secret add name="$i" password=1234 profile=Ek-Desh-Ek-Rate-5Mbps service=pppoe }
 
Was this article helpful? yes / no
Related articles How to Block IP Address with .htaccess
How to Prioritize Zoom Traffic using MikroTik Router
How to Prioritize Whatsapp, Facebook & Instagram traffics using Mikrotik
How to Install Apache, MySQL, and PHP on CentOS 6.10
How to DDOS Protection in mikrotik
Article details
Article ID: 11
Category: Knowledgebase
Rating (Votes): Article rated 3.4/5.0 (15)

 
« Go back

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