How to show vlan tag with tcpdump

Add -e option.

Example

tcpdump -i eth0 -e icmp
Ethernet header information will be shown as the red line in the following figure. The valn tag is surrounded by the red rectangle.

No comments:

Post a Comment