Linux command
lldpctl 命令
安全
May affect permissions or system state. Check the target first.
命令示例
Example
sudo lldpctl
Example
lldpctl --help
说明
lldpctl displays Link Layer Discovery Protocol (LLDP) information collected by the lldpd daemon. LLDP is used by network devices to advertise their identity, capabilities, and neighbors on a local network.
参数
- -f FORMAT
- Output format: plain, xml, json, keyvalue
- -a
- Show all interfaces including hidden
- -C PATTERN
- Configure specific settings
- -L LOCATION
- Set location information
- -h, --help
- Display help information
FAQ
What is the lldpctl command used for?
lldpctl displays Link Layer Discovery Protocol (LLDP) information collected by the lldpd daemon. LLDP is used by network devices to advertise their identity, capabilities, and neighbors on a local network.
How do I run a basic lldpctl example?
Run `sudo lldpctl` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f FORMAT do in lldpctl?
Output format: plain, xml, json, keyvalue