Nettool Laptop

sudo apt install lldpd
sudo apt install cdpr 

sudo visudo

    %sudo    ALL=(ALL:ALL) NOPASSWD: ALL


# double check network interface name for the eth0 part of the desktop file

vi ~/Desktop/cdp.desktop

[Desktop Entry]
Exec=sudo cdpr -d eth0
Name=CDP
Path=/tmp/
StartupNotify=true
Type=Application
Terminal=true

vi ~/Desktop/cdp.desktop

[Desktop Entry]
Exec=watch sudo lldpcli show neighbors
Name=LLDP
Path=/tmp/
StartupNotify=true
Type=Application
Terminal=true





Comments