routeros-create-vlans-range/bridge1-add-20-interfaces.rsc

8 lines
160 B
Plaintext
Raw Permalink Normal View History

2024-03-28 00:00:48 +02:00
{
:local cont 0
:while ($cont < 20) do={
:set cont ($cont + 1)
/interface/bridge/port/add bridge=bridge1 interface="ether$cont"
}
}