Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This guide provides detailed instructions on how to set up the Link Layer Discov

![screenshot](img1.png)

<img width="764" height="559" alt="image" src="https://github.com/user-attachments/assets/4d7f9ba4-6a9f-41b1-8705-123bc95b9928" />


## Prerequisites

Before starting, ensure that you have administrative access to your Proxmox server and are familiar with basic Linux command line operations.
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ echo "Restarting lldpd service..."
sudo systemctl restart lldpd

echo "Configuring lldpd to monitor all interfaces matching '*' pattern..."
sudo lldpcli configure system interface pattern *
sudo lldpcli configure system interface pattern en*

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment above with the single quotes is correct
sudo lldpcli configure system interface pattern '*'


# Assuming the update_interface_desc.sh is in the same directory as install.sh
# Copy the update_interface_desc.sh script to /usr/local/bin
Expand Down
2 changes: 1 addition & 1 deletion update_interface_desc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ cp $INTERFACES_FILE $TEMP_FILE
log "Backed up current interfaces file."

# Configure lldpcli to only monitor en* interfaces
lldpcli configure system interface pattern en*
/usr/sbin/lldpcli configure system interface pattern en*
log "Configured lldpcli to monitor interfaces matching 'en*' pattern."

# Function to update interface description
Expand Down