Community discussions

MikroTik App
 
User avatar
jowe
just joined
Topic Author
Posts: 1
Joined: Wed May 17, 2023 9:53 am

Add untagged port range to vlan

Wed May 17, 2023 10:06 am

Hello,

I´m able to set the pvid for a port range like this:
:for i from=24 to=28 do={/interface bridge port set [find where interface="ether$i"] pvid=30}
I´m able to add a tagged port range hardcoded:
/interface bridge vlan set [find vlan-ids=30] tagged=ether1,ether2,ether3
How can I do the second statement in a loop like in the first example?

Thanks for your help.

kr Josef

Who is online

Users browsing this forum: Bing [Bot] and 23 guests