Monday, August 2, 2021

CDP with tcpdump - How to tell between "trunk" or "access" port?

I am currently using `tcpdump -nv -s 1500 ether dst 01:00:0c:cc:cc:cc -c 1 -i eth0` to get CDP information from a connected ethernet cable. But, it seems that the output is the same, whether the port is set to access on vlan 5, or trunk with native vlan 5.

How can I tell if connected to a Trunk (.1q) or Access port?



No comments:

Post a Comment