initial commit

This commit is contained in:
Wifinigel 2023-01-19 21:27:15 +00:00
commit c782dde326
61 changed files with 1457 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# ch8-03-for-create-vlan.rsc
# define the interface where we'd like to add a VLAN
# !! Set this to a valid interface name on your Mikrotik !!
:local InterfaceName "ether5";
# create a for loop with a step of 10
:for VlanId from=100 to=150 step=10 do={
:put ("Creating VLAN $VlanId on interface $InterfaceName");
:local VlanName ("vlan" . $VlanId);
/interface vlan add name=$VlanName vlan-id=$VlanId interface=$InterfaceName;
}