Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   bridge    ( 8 )

показывать / управлять адресами моста и устройствами (show / manipulate bridge addresses and devices)

Параметры (Options)

-V, -Version
              print the version of the bridge utility and exit.

-s, -stats, -statistics output more information. If this option is given multiple times, the amount of information increases. As a rule, the information is statistics or some time values.

-d, -details print detailed information about bridge vlan filter entries or MDB router ports.

-n, -net, -netns <NETNS> switches bridge to the specified network namespace NETNS. Actually it just simplifies executing of:

ip netns exec NETNS bridge [ OPTIONS ] OBJECT { COMMAND | help }

to

bridge -n[etns] NETNS [ OPTIONS ] OBJECT { COMMAND | help }

-b, -batch <FILENAME> Read commands from provided file or standard input and invoke them. First failure will cause termination of bridge command.

-force Don't terminate bridge command on errors in batch mode. If there were any errors during execution of the commands, the application return code will be non zero.

-c[color][={always|auto|never} Configure color output. If parameter is omitted or always, color output is enabled regardless of stdout state. If parameter is auto, stdout is checked to be a terminal before enabling color output. If parameter is never, color output is disabled. If specified multiple times, the last one takes precedence. This flag is ignored if -json is also given.

-j, -json Output results in JavaScript Object Notation (JSON).

-p, -pretty When combined with -j generate a pretty JSON output.

-o, -oneline output each record on a single line, replacing line feeds with the '\' character. This is convenient when you want to count records with wc(1) or to grep(1) the output.