nmstate-autoconf(8)
π NAME π
okay so bestie, gather round β nmstate-autoconf is the nmstate command line tool that just automatically configures your network state using LLDP information. no cap, it does the whole thing for you β¨ (this manual page is nmstate-autoconf(8) btw, iykyk π)
πΈ SYNOPSIS πΈ
nmstate-autoconf [INTERFACE_NAME] [--dry-run]
π¦ DESCRIPTION π¦
nmstate-autoconf is a command line tool that uses libnmstate in order to configure the network state automatically using LLDP information. it's giving "experimental era" though β this tool is experimental only, no cap π
so what happens? nmstate-autoconf will identify the interfaces connected to a VLAN and unify them in a bond interface. then, on top of that, a vlan interface gets created. two-for-one, iconic π
the bond state will be the following one:
- name: bond50
type: bond
state: up
link-aggregation:
mode: balance-rr
port:
- enp4s0
- enp4s0d1
and the host VLAN state will be the following one:
- name: prod-net
type: vlan
state: up
vlan:
base-iface: bond50
id: 50
see? slay. π«Ά
now, for multiple interface names, use a comma to separate them. you can also use patterns for interface names:
*matches everything?matches any single character[seq]matches any character in seq[!seq]matches any character not in seq
for example, to enable LLDP auto configuration on all interfaces starts with eth:
nmstate-autoconf eth\*
# The backslash is required to stop shell expanding '*' to file
# names.
β οΈ yes the backslash is doing real work there β it stops your shell from expanding * to file names. don't skip it bestie π
β¨ OPTIONS β¨
--dry-run,-dβ generate the network state that is going to be applied and print it out. it won't apply any changes in the host π literally just a vibe check before the real thing.
π LIMITATIONS π
- this tool is experimental only π
- it is not possible to configure automatically bond or vlan options. not me finding out the limits π
π BUG REPORTS π
report bugs on nmstate GitHub issues <https://github.com/nmstate/nmstate>. fr fr, that's the spot π
π COPYRIGHT π
license Apache-2.0 <https://www.apache.org/licenses/LICENSE-2.0> β iconic legally-mandated behavior π
π SEE ALSO π
okay that's the whole page bestie! π this was nmstate-autoconf from version 2.2.62, dated October 16, 2026 β go forth and auto-configure, you absolute main character ππ
π¦ where this page comes from
- centos-stream 10: nmstate 2.2.62-4.el10 Β· Apache-2.0 AND LGPL-2.1-or-later
- centos-stream 9: nmstate 2.2.62-3.el9 Β· LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms