Fwconsole enable/disable all trunks at once

Is there an option to enable/disable all the trunks with fwconsole at once?

Everything works fine with the individual trunks but I’m wondering what should be the bulk syntax for the command (if any).

As far as I know it’s unsupported. You must do them one by one:

fwconsole trunks --disable 1

You could parse the output of

fwconsole trunks --list 

and then script it. If scripting, note there are --xml and --json tags that will simplify parsing. See:

fwconsole trunks --help
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.