xops firewall list
Command usage and available options are listed below. Check --help for options supported by your installed version.
text
List rules
Usage:
xops firewall list [flags]
Flags:
-h, --help help for list
Global Flags:
--color string ANSI color output (auto=detect pipe/redirect, never=disable, always=force enable)
--debug Enable debug mode (equivalent to --log-level=debug)
--exclude strings Exclude specified hosts (supports Node ID / alias / IP / User@Host, comma separated or specified multiple times)
-H, --host string Target host(s) / alias, comma separated
-I, --ifile string Host list file (one host/alias per line)
--lang string Interface language (zh/en)
--log-level string Set internal diagnostic log level (debug, info, warn, error)
-w, --password string SSH password
--proto string Protocol type (tcp/udp) (default "tcp")
--reload Reload after operation
-r, --remove Remove rule
-t, --tag strings Target tags, comma separated or specified multiple times
--task int Number of parallel tasks (default 1)
-u, --user string SSH username
-z, --zone string Firewall zone (firewalld only)