Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new Portfile lldpd: LLDP Daemon and client
[lldpd](https://lldpd.github.io) is a daemon that implements LLDP and LLDP-MED. LLDP (Link Layer Discovery Protocol) is a link-local protocol—that is, it's limited to the physical Ethernet connection between one device and another—that devices use to exchange information about how they are connected, and what their capabilities are, from a Layer-1 and Layer-2 perspective. For example, say your Mac has a physical Ethernet connection that is plugged into a switch. If both sides support LLDP, the switch might tell you: * Its make, model, and OS. * The name of the switch, and its management IP address. * What type of Ethernet connections are supported (you may be on a port that can support 10-Gigabit Ethernet). * What VLAN you are on, and for tagged (802.11q) VLANs, what VLANs are being provided. It can be useful for sysadmins who are trying to figure out where an Ethernet cable goes (assuming you can unplug it): Plug one end into your Mac's Ethernet adapter, and within a minute you'll likely get the information. VoIP phones are prominent users of LLDP, identifying themselves as IP phones. Switches can react to this information by enabling VLAN tagging on a port, telling the phone which VLAN is to be used for voice traffic. These are examples of LLDP Media Endpoint Discovery (LLDP-MED). lldpd also implements several related protocols—such as the proprietary Cisco Discovery Protocol (CDP)—that have largely been supplanted by LLDP. There are three components: * `lldpd` is a daemon that connects to all supportable (Ethernet) interfaces, sending out LLDP messages and listening for incoming messages. It is launched via a LaunchDaemon. * `lldpctl` can be used to see what information is known about connected devices. * `lldpcli` can provide the same information as `lldpctl`, and can also be used to configure `lldpd`. Closes: https://trac.macports.org/ticket/50586 Closes: https://trac.macports.org/ticket/55122
- Loading branch information