dcb-apptrust8
Show / configure per-selector trust and trust order of the application priority table of the dcb (data center bridging) subsystem
Usage
dcb [OPTIONS]
apptrust
{COMMAND | help}
dcb apptrust
show
dev
DEV
[order]
dcb apptrust
set
dev
DEV
[order
SEL-LIST]
SEL-LIST :=
[SEL-LIST]
SEL
SEL :=
{ethtype | stream-port | dgram-port | port | dscp | pcp}
Overview
dcb apptrust is used to configure per-selector trust and trust order of the Application Priority Table, see dcb-app(8) for details on how to configure app table entries.
Selector trust can be used by the software stack or drivers (most likely the latter) when querying the APP table, to determine whether an APP entry should take effect. Additionally, the order of the trusted selectors dictates which selector should take precedence, in the case of multiple different APP table selectors being present.
Commands
show-
Displays all trusted selectors.
set-
Sets a new list of trusted selectors. An empty list is effectively the same as removing trust entirely.
Parameters
The following describes only the write direction, i.e. as used with the set command. For the show command, the parameter name is to be used as a simple keyword without further arguments. This instructs the tool to show the values of a given parameter.
- order SEL-LIST
-
SEL-LIST is a space-separated list of selector names. Possible selector values are:
ethtype,stream-port,dgram-port,port,dscp,andpcp
Example & usage
Set trust order to: dscp, pcp for eth0:
# dcb apptrust set dev eth0 order dscp pcp
Set trust order to: port (stream or dgram), pcp, ethtype for eth1:
# dcb apptrust set dev eth1 order port pcp ethtype
Show what was set:
# dcb apptrust show dev eth0
order: port pcp ethtype
Exit status
Exit status is 0 if command was successful or a positive integer upon failure.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.