Last active
February 22, 2025 06:53
-
-
Save NathanAdhitya/ae4938cabb336bfefa4a04d996dc9601 to your computer and use it in GitHub Desktop.
Debian (and derivatives) quick lldpd idempotent setup script. Set interfaces to en* only and enable other protocols. Tested on Proxmox VE 8.3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Credits: https://github.com/abdellbar1/ProxLLDPConfig | |
apt-get update | |
apt-get install -y lldpd | |
echo 'DAEMON_ARGS="-c -s -e"' > /etc/default/lldpd | |
echo 'configure system interface pattern en*' > /etc/lldpd.d/if.conf | |
systemctl restart lldpd | |
systemctl enable lldpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment