Blame man/man8/dcb-dcbx.8

Packit Bot 867fae
.TH DCB-DCBX 8 "13 December 2020" "iproute2" "Linux"
Packit Bot 867fae
.SH NAME
Packit Bot 867fae
dcb-dcbx \- show / manipulate port DCBX (Data Center Bridging eXchange)
Packit Bot 867fae
.SH SYNOPSIS
Packit Bot 867fae
.sp
Packit Bot 867fae
.ad l
Packit Bot 867fae
.in +8
Packit Bot 867fae
Packit Bot 867fae
.ti -8
Packit Bot 867fae
.B dcb
Packit Bot 867fae
.RI "[ " OPTIONS " ] "
Packit Bot 867fae
.B dcbx
Packit Bot 867fae
.RI "{ " COMMAND " | " help " }"
Packit Bot 867fae
.sp
Packit Bot 867fae
Packit Bot 867fae
.ti -8
Packit Bot 867fae
.B dcb dcbx show dev
Packit Bot 867fae
.RI DEV
Packit Bot 867fae
Packit Bot 867fae
.ti -8
Packit Bot 867fae
.B dcb dcbx set dev
Packit Bot 867fae
.RI DEV
Packit Bot 867fae
.RB "[ " host " ]"
Packit Bot 867fae
.RB "[ " lld-managed " ]"
Packit Bot 867fae
.RB "[ " cee " ]"
Packit Bot 867fae
.RB "[ " ieee " ]"
Packit Bot 867fae
.RB "[ " static " ]"
Packit Bot 867fae
Packit Bot 867fae
.SH DESCRIPTION
Packit Bot 867fae
Packit Bot 867fae
Data Center Bridging eXchange (DCBX) is a protocol used by DCB devices to
Packit Bot 867fae
exchange configuration information with directly connected peers. The Linux DCBX
Packit Bot 867fae
object is a 1-byte bitfield of flags that configure whether DCBX is implemented
Packit Bot 867fae
in the device or in the host, and which version of the protocol should be used.
Packit Bot 867fae
.B dcb dcbx
Packit Bot 867fae
is used to access the per-port Linux DCBX object.
Packit Bot 867fae
Packit Bot 867fae
There are two principal modes of operation: in
Packit Bot 867fae
.B host
Packit Bot 867fae
mode, DCBX protocol is implemented by the host LLDP agent, and the DCB
Packit Bot 867fae
interfaces are used to propagate the negotiate parameters to capable devices. In
Packit Bot 867fae
.B lld-managed
Packit Bot 867fae
mode, the configuration is handled by the device, and DCB interfaces are used
Packit Bot 867fae
for inspection of negotiated parameters, and can also be used to set initial
Packit Bot 867fae
parameters.
Packit Bot 867fae
Packit Bot 867fae
.SH PARAMETERS
Packit Bot 867fae
Packit Bot 867fae
When used with
Packit Bot 867fae
.B dcb dcbx set,
Packit Bot 867fae
the following keywords enable the corresponding configuration. The keywords that
Packit Bot 867fae
are not mentioned on the command line are considered disabled. When used with
Packit Bot 867fae
.B show,
Packit Bot 867fae
each enabled feature is shown by its corresponding keyword.
Packit Bot 867fae
Packit Bot 867fae
.TP
Packit Bot 867fae
.B host
Packit Bot 867fae
.TQ
Packit Bot 867fae
.B lld-managed
Packit Bot 867fae
The device is in the host mode of operation and, respectively, the lld-managed
Packit Bot 867fae
mode of operation, as described above. In principle these two keywords are
Packit Bot 867fae
mutually exclusive, but
Packit Bot 867fae
.B dcb dcbx
Packit Bot 867fae
allows setting both and lets the driver handle it as appropriate.
Packit Bot 867fae
Packit Bot 867fae
.TP
Packit Bot 867fae
.B cee
Packit Bot 867fae
.TQ
Packit Bot 867fae
.B ieee
Packit Bot 867fae
The device supports CEE (Converged Enhanced Ethernet) and, respecively, IEEE
Packit Bot 867fae
version of the DCB specification. Typically only one of these will be set, but
Packit Bot 867fae
.B dcb dcbx
Packit Bot 867fae
does not mandate this.
Packit Bot 867fae
Packit Bot 867fae
.TP
Packit Bot 867fae
.B static
Packit Bot 867fae
indicates the engine supports static configuration. No actual negotiation is
Packit Bot 867fae
performed, negotiated parameters are always the initial configuration.
Packit Bot 867fae
Packit Bot 867fae
.SH EXAMPLE & USAGE
Packit Bot 867fae
Packit Bot 867fae
Put the DCB engine into the "host" mode of operation, and use IEEE-standardized
Packit Bot 867fae
DCB interfaces:
Packit Bot 867fae
Packit Bot 867fae
.P
Packit Bot 867fae
# dcb dcbx set dev eth0 host ieee
Packit Bot 867fae
Packit Bot 867fae
Show what was set:
Packit Bot 867fae
Packit Bot 867fae
.P
Packit Bot 867fae
# dcb dcbx show dev eth0
Packit Bot 867fae
.br
Packit Bot 867fae
host ieee
Packit Bot 867fae
Packit Bot 867fae
.SH EXIT STATUS
Packit Bot 867fae
Exit status is 0 if command was successful or a positive integer upon failure.
Packit Bot 867fae
Packit Bot 867fae
.SH SEE ALSO
Packit Bot 867fae
.BR dcb (8)
Packit Bot 867fae
Packit Bot 867fae
.SH REPORTING BUGS
Packit Bot 867fae
Report any bugs to the Network Developers mailing list
Packit Bot 867fae
.B <netdev@vger.kernel.org>
Packit Bot 867fae
where the development and maintenance is primarily done.
Packit Bot 867fae
You do not have to be subscribed to the list to send a message there.
Packit Bot 867fae
Packit Bot 867fae
.SH AUTHOR
Packit Bot 867fae
Petr Machata <me@pmachata.org>