Capture LLDPand CDP packets using tcpdump

tcpdump -vv -s1500 -c1 ‘ether proto 0x88cc’ -ni eth0

tcpdump -vv -s1500 -c1 ‘ether[20:2] == 0x2000’ -ni eth0


Quick guide to tmux

I resisted tmux for a long time until today because screen has everything I need and I was afraid of having to remember more key strokes and commands. I gave tmux a try today and I think I am going to like it.

Start new tmux session
tmux new

Exit session. This will end the session

Detach from the session. The session will keep running
^b d

Hit ^b, release and then hit d)

List existing tmux sessions
tmux ls

Attach a session
tmux attach-session -t
tmux a -t
Continue reading