OS Manuals

/usr/bin/nl-cls-add

Command line interface utils for libnl3

From libnl3-cli 3.12.0-r7 (os), captured 2026-11-05 by running nl-cls-add --help (exit 0). permalink

Usage: nl-cls-add [OPTIONS]... classifier [CONFIGURATION]...

OPTIONS
 -q, --quiet               Do not print informal notifications.
 -h, --help                Show this help text.
 -v, --version             Show versioning information.
     --update              Update classifier if it exists.
     --update-only         Only update classifier, never create it.
 -d, --dev=DEV             Network device the classifier should be attached to.
 -i, --id=ID               ID of new classifier (default: auto-generated)
 -p, --parent=ID           ID of parent { root | ingress | class-ID }
     --proto=PROTO         Protocol to match (default: all)
     --prio=PRIO           Priority (default: 0)
     --mtu=SIZE            Overwrite MTU (default: MTU of network device)
     --mpu=SIZE            Minimum packet size on the link (default: 0).
     --overhead=SIZE       Overhead in bytes per packet (default: 0).
     --linktype=TYPE       Overwrite linktype (default: type of network device)

CONFIGURATION
 -h, --help                Show help text of classifier specific options.

EXAMPLE
   $ nl-cls-add --dev=eth1 --parent=q_root basic --target c_www
Options (14)
OptionDescriptionSource
-q, --quietDo not print informal notifications.help
-h, --helpShow this help text.help
-v, --versionShow versioning information.help
--updateUpdate classifier if it exists.help
--update-onlyOnly update classifier, never create it.help
-d, --dev DEVNetwork device the classifier should be attached to.help
-i, --id IDID of new classifier (default: auto-generated)help
-p, --parent IDID of parent { root | ingress | class-ID }help
--proto PROTOProtocol to match (default: all)help
--prio PRIOPriority (default: 0)help
--mtu SIZEOverwrite MTU (default: MTU of network device)help
--mpu SIZEMinimum packet size on the link (default: 0).help
--overhead SIZEOverhead in bytes per packet (default: 0).help
--linktype TYPEOverwrite linktype (default: type of network device)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.