lldpad - Link Layer Discovery Protocol (LLDP) agent daemon
lldpad [-h] [-v] [-V] [-d] [-k] [-p]
[-s] [-f filename]
Executes the LLDP protocol for supported network interfaces. The list of TLVs
currently supported are:
- IEEE 802.1AB Mandatory TLVs
- IEEE 802.1AB Basic Management TLVs
- IEEE 802.3 Organizationally Specific TLVs
- LLDP-MED Organizationally Specific TLVs
- Data Center Bridging capabilities exchange protocol (DCBX)
- Edge Virtual Bridging (EVB) TLVs
Capabilities of lldpad
- Transmission of LLDP PDUs containing enabled TLVs from
- Reception of LLDP PDUs from enabled ports.
- Operation of the DCBX protocol for interfaces which support
the DCB rtnetlink interface. This includes operation of the DCBX state
machines above LLDP and corresponding configuration of the DCB parameters
of the network interface. Supported DCB features are: Extended
Transmission Selection, Priority Flow Control and the FCoE
- Configuring the DCB settings of the network driver based on
the operation of DCBX.
- Provides a multi-channel interface for client applications
to query and configure features. Events are also generated on the client
interface to inform clients of changes. The lldpad package includes two
clients: lldptool for general LLDP agent management and dcbtool for DCB
supports the versions of the DCB capabilities exchange (DCBX)
protocol listed as follows:
- version 1 - also known as CIN DCBX
- version 2 - also known as CEE DCBX
- IEEE DCBX
- See the IEEE 802.1Qaz-2011 specification for details.
IEEE DCBX is the default DCBX mode for a DCB capable interface so the default
and configured IEEE DCBX TLVs will be transmitted when the interface comes up.
can be globally configured to support one of the legacy DCBX
versions (CIN or CEE). If the remote LLDP agent does not transmit any IEEE
DCBX TLVs and does transmit a legacy DCBX TLV which matches the configured
legacy DCBX version, then the DCBX mode will drop back to legacy DCBX mode. It
will not transition back to IEEE DCBX mode until the next link reset. If
has dropped back to legacy DCBX mode for a given interface and
the daemon is stopped and restarted, the legacy DCBX mode for that interface
will be used instead of starting out in IEEE DCBX mode. This behavior only
applies to the case where lldpad
is restarted and is not persistent
across a system reboot.
for information on how to globally configure which legacy
version of DCBX lldpad
for information on how to reset the DCBX mode of an
interface back to default (starts out in IEEE DCBX mode).
also supports edge virtual bridging as currently under
specification in the IEEE 802.1Qb working group.
has the following command line options:
- show usage information
- -f filename
- use the specified file as the configuration file instead of
the default file: /var/lib/lldpad/lldpad.conf lldpad expects the
directory of the configuration file to exist, but if the configuration
file does not exist, then a default configuration file will be created.
lldpad creates and maintains the contents of the configuration file.
Configuration should be performed by using lldptool or dcbtool.
- run lldpad as a daemon
- show lldpad version
- set lldpad debugging level. Uses syslog debug levels see
syslog.2 for details.
- used to terminate the first instance of lldpad that was
started (e.g. from initrd). Once lldpad -k has been invoked and lldpad has
been restarted, subsequent invocations of lldpad -k will not terminate
- remove lldpad state records from shared memory
- do not create PID file /var/run/lldpad.pid on startup
On termination, lldpad does not undo any of the configurations that it has set.
This approach minimizes the risk of restarting the daemon to perform a
software update, or of having storage issues during shutdown. Ongoing
operation of network interfaces that had been controlled by lldpad may result
in unexpected behavior.
lldpad - LLDP agent daemon with DCBX support
Copyright(c) 2007-2012 Intel Corporation. Portions of lldpad are based on:
- (c) 2004-2008, Jouni Malinen <email@example.com>
This program is free software; you can redistribute it and/or modify it under
the terms and conditions of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
St - Fifth Floor, Boston, MA 02110-1301 USA.
The full GNU General Public License is included in this distribution in the file
Contact Information: open-lldp Mailing List