1DEVLINK(8)                           Linux                          DEVLINK(8)
2
3
4

NAME

6       devlink - Devlink tool
7

SYNOPSIS

9       devlink [ OPTIONS ] OBJECT { COMMAND | help }
10
11
12       OBJECT := { dev | port | monitor }
13
14
15       OPTIONS := { -V[ersion] | -n[no-nice-names] } -j[json] } -p[pretty] }
16
17

OPTIONS

19       -V, --Version
20              Print the version of the devlink utility and exit.
21
22
23       -n, --no-nice-names
24              Turn off printing out nice names, for example netdevice ifnames
25              instead of devlink port identification.
26
27
28       -j, --json
29              Generate JSON output.
30
31
32       -p, --pretty
33              When combined with -j generate a pretty JSON output.
34
35
36   OBJECT
37       dev    - devlink device.
38
39
40       port   - devlink port.
41
42
43       monitor
44              - watch for netlink messages.
45
46
47   COMMAND
48       Specifies the action to perform on the object.  The set of possible
49       actions depends on the object type.  As a rule, it is possible to show
50       (or list ) objects, but some objects do not allow all of these opera‐
51       tions or have some additional commands. The help command is available
52       for all objects. It prints out a list of available commands and argu‐
53       ment syntax conventions.
54
55       If no command is given, some default command is assumed.  Usually it is
56       list or, if the objects of this class cannot be listed, help.
57
58

EXIT STATUS

60       Exit status is 0 if command was successful or a positive integer upon
61       failure.
62
63

SEE ALSO

65       devlink-dev(8), devlink-port(8), devlink-monitor(8), devlink-sb(8),
66
67

REPORTING BUGS

69       Report any bugs to the Network Developers mailing list <net‐
70       dev@vger.kernel.org> where the development and maintenance is primarily
71       done.  You do not have to be subscribed to the list to send a message
72       there.
73
74

AUTHOR

76       Jiri Pirko <jiri@mellanox.com>
77
78
79
80iproute2                          14 Mar 2016                       DEVLINK(8)
Impressum