From a9ccebf55d8d628c434a5cae7595e2cb9da252c4 Mon Sep 17 00:00:00 2001 From: elicro Date: Wed, 27 Mar 2024 22:00:48 +0000 Subject: [PATCH] Add bridge1-add-20-interfaces.rsc --- bridge1-add-20-interfaces.rsc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bridge1-add-20-interfaces.rsc diff --git a/bridge1-add-20-interfaces.rsc b/bridge1-add-20-interfaces.rsc new file mode 100644 index 0000000..d579141 --- /dev/null +++ b/bridge1-add-20-interfaces.rsc @@ -0,0 +1,7 @@ +{ + :local cont 0 + :while ($cont < 20) do={ + :set cont ($cont + 1) + /interface/bridge/port/add bridge=bridge1 interface="ether$cont" + } +}