Skip to content

Instantly share code, notes, and snippets.

@vherolf
Created April 4, 2018 21:03
Show Gist options
  • Save vherolf/84ebe8d4a4bcf094570eef3091465fbf to your computer and use it in GitHub Desktop.
Save vherolf/84ebe8d4a4bcf094570eef3091465fbf to your computer and use it in GitHub Desktop.
#!/bin/bash
## for cisco switches
## scan from network wall socket to find on with switch port it is connected
##
tcpdump -nn -vv ---interface=eno1 --snapshot-length=1500 -c 1 'ether[20:2] == 0x2000'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment