Created
October 14, 2017 17:55
-
-
Save mdpuma/49ee0e1938ff887c2c299cf076dd755a to your computer and use it in GitHub Desktop.
tcpdump filter traffic by vlan (live)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # reference https://serverfault.com/questions/544651/vlan-tags-not-shown-in-packet-capture-linux-via-tcpdump | |
| tcpdump -i eth0 -Uw - arp | tcpdump -en -r - vlan 804 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment