Public | Automated Build

Last pushed: a month ago
Short Description
docker container with LLDP server and utils
Full Description

lldpd-docker

docker container with LLDP server and utils

Based on LLDP daemon implementation by Vincent Bernat bernat@luffy.cx
https://vincentbernat.github.io/lldpd/

This container needs full access to the network interfaces (--net=host) and must run in privileged mode (--privileged) to be able to send and receive LLDP packets from neighbors. It also needs --uts=host option to properly access host information data.

Instead of using --privileged, you can specify --cap-add=NET_ADMIN --cap-add=NET_RAW options.

By default LLDP packets are sent every 30 seconds, so you might not see neighbors immediately.

Usage:

docker run -d --restart always --net=host --uts=host --privileged --name lldpd kciepluc/lldpd-docker

CLI

There is also built-in CLI which can be used to inspect some statistics and list neighbors:

docker exec -it lldpd lldpcli

Useful CLI commands:

show statistics
show neighbors

For documentation and more information about lldpd and lldpcli please go to: https://vincentbernat.github.io/lldpd/

Docker Pull Command
Owner
kciepluc
Source Repository