CRS - VLAN - Add untagged interfaces via script

search tag # rextended comma separated ethernet list

Shorter and clearer:

{
    /interface ethernet
    :local InterfaceList ""
    :local separator ""
    :foreach i,Interface in=[ find where default-name~"(combo|ether|sfp)*" ] do={
        :set InterfaceList "$InterfaceList$separator$[ get $Interface name ]"
        :if ($i = 0) do={ :set separator "," }
    }

    :log info $InterfaceList
}

And thanks for the hint to use “i”, I never stop discovery new things, thanks to all…