Cisco CDP tcpdump

Da Emigar.
Jump to navigation Jump to search

CDP

tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'

LLDP

tcpdump -i eth0 -s 1500 -XX -c 1 'ether proto 0x88cc'

LLDP & CDP

tcpdump -v -s 1500 -c 1 '(ether[12:2]=0x88cc or ether[20:2]=0x2000)'

Fonti: