SysTutorials

Linux Manual Pages › Section 8

nl-classid-lookup(8)

nl-classid-lookup – Lookup classid definitions

Synopsis

nl-classid-lookup [-hv] [-r] [–raw] name

Description

nl-classid-lookup searches the classid database for a matching entry. It is used to resolve qdisc/class names to classid values and vice versa.

Options

-h or –help
Print help text to console and exit.
-v or –version
Print versioning information to console and exit.
-r or –reverse
Do a reverse lookup. Lookup a classid and print its name.
–raw
Print the raw classid in hexadecimal format, do not pretty print it.

Usage

Resolve the qdisc/class name "interactive":

# nl-classid-lookup interactive

Lookup the name of classid 1:2:

# nl-classid-lookup -r 1:2

Files

/etc/libnl/classid

Author

Thomas Graf is the original author and current maintainer of libnl and libnl tools. Many people have contributed to it since.