lldpd

Langue: en

Version: 305016 (debian - 07/07/09)

Section: 8 (Commandes administrateur)


BSD mandoc

NAME

lldpd - LLDP daemon

SYNOPSIS

[-dvxcsei ] [-m management ] [-p probe time ] [-M class ]

DESCRIPTION

is a daemon able to receive and send LLDP frames. The Link Layer Discovery Protocol is a vendor-neutral Layer 2 protocol that allows a network device to advertise its identity and capabilities on the local network.

also implements an SNMP subagent using AgentX protocol to interface to a regular SNMP agent like Net-SNMP. To enable this subagent, you need something like that in your snmpd.conf5:

 master agentx
 

This daemon implements both reception and sending. It will collect various information to send LLDP frames to all Ethernet interfaces, including management address, speed and VLAN names.

The options are as follows:

-d
Do not daemonize. If this option is specified, will run in the foreground and log to stderr This option can be specified many times to increase verbosity.
-v
Listen on VLAN as well. This option might be needed if your equipment send frames on VLAN instead of physical interface. This option enables to receive frames on VLAN interfaces as well. If you don't need this option, do not set it.
-x
Enable SNMP subagent With this option, will enable an SNMP subagent using AgentX protocol. This allows to get information about local system and remote systems through SNMP.
-c
Enable the support of CDP protocol to deal with Cisco routers that do not speak LLDP.
-f
Enable the support of FDP protocol to deal with Foundry routers that do not speak LLDP.
-s
Enable the support of SONMP protocol to deal with Nortel routers and switches that do not speak LLDP.
-e
Enable the support of EDP protocol to deal with Extreme routers and switches that do not speak LLDP.
-m management
Specify the management address of this system. only sends one management address. It will use the first one that it finds or the one that you specify with this option. This option can use wildcards.
-p probe time
Specify the time to wait (in seconds) before accepting a given protocol. This time will be used by to detect false positives like SONMP frames running through a switch only supporting CDP. This value is only used when multiple protocols are enabled.
-M class
Enable emission of LLDP-MED frame. The class should be one of the following value:
1
Generic Endpoint (Class I)
2
Media Endpoint (Class II)
3
Communication Device Endpoints (Class III)
4
Network Connectivity Device
-i
Disable LLDP-MED inventory TLV transmission. will still receive (and publish using SNMP if enabled) those LLDP-MED TLV but will not send them. Use this option if you don't want to transmit sensible information like serial numbers.

FILES

/var/run/lldpd.socket
Unix-domain socket used for communication with lldpctl(8).

SEE ALSO

lldpctl(8), snmpd(8)

HISTORY

The program is inspired from a preliminary work of Reyk Floeter.

AUTHORS

An -nosplit The program was written by An Pierre-Yves Ritschard Aq pyr@openbsd.org , and An Vincent Bernat Aq bernat@luffy.cx .