CDP / LLDP Fun

Problem: You want to know which switch and what port your Linux machine is connected to? Solution: If the switch does CDP (all Cisco switches do), it tells you a lot of information. Tcpdump can capture and show this information. # tcpdump -i eth0 -n -v -s 1500 -c 1 ‘ether[20:2] == 8192’ tcpdump: listening […]

CDP / LLDP Fun Read More ยป