Skip to content

Instantly share code, notes, and snippets.

@elico
Created July 20, 2024 16:26
Show Gist options
  • Save elico/524dd94944747fd59e2f6536d35c1e38 to your computer and use it in GitHub Desktop.
Save elico/524dd94944747fd59e2f6536d35c1e38 to your computer and use it in GitHub Desktop.
{
:local BridgeName "switch1"
/interface bridge add name=$BridgeName
:for LoopCount from=1 to=24 do={
:put "working on: ether$LoopCount";
/interface bridge port add bridge=$BridgeName interface="ether$LoopCount"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment