OS Manuals

/usr/bin/nl-neigh-add

Command line interface utils for libnl3

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

Usage: nl-neigh-add [OPTION]... NEIGHBOUR

Options
     --update-only     Do not create neighbour, updates exclusively
     --create-only     Do not update neighbour if it exists already.
 -q, --quiet           Do not print informal notifications
 -h, --help            Show this help
 -v, --version         Show versioning information

Neighbour Options
 -a, --addr=ADDR       Destination address of neighbour
 -l, --lladdr=ADDR     Link layer address of neighbour
 -d, --dev=DEV         Device the neighbour is connected to
     --state=STATE     Neighbour state, (default = permanent)

Example
  nl-neigh-add --create-only --addr=10.0.0.1 --dev=eth0 \
               --lladdr=AA:BB:CC:DD:EE:FF
Options (9)
OptionDescriptionSource
--update-onlyDo not create neighbour, updates exclusivelyhelp
--create-onlyDo not update neighbour if it exists already.help
-q, --quietDo not print informal notificationshelp
-h, --helpShow this helphelp
-v, --versionShow versioning informationhelp
-a, --addr ADDRDestination address of neighbourhelp
-l, --lladdr ADDRLink layer address of neighbourhelp
-d, --dev DEVDevice the neighbour is connected tohelp
--state STATENeighbour state, (default = permanent)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.