Created
April 4, 2018 21:03
-
-
Save vherolf/84ebe8d4a4bcf094570eef3091465fbf to your computer and use it in GitHub Desktop.
This file contains 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 | |
## 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