Switch Packet Capture

  • 1
  • Question
  • Updated 4 years ago
  • Answered
How to run a packet capture for traffic on a specific port or wired client?
Photo of sbx

sbx

  • 28 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Jason Zhou

Jason Zhou

  • 18 Posts
  • 13 Reply Likes
I know a method to do this, maybe not the best way, but it works, hopes it helps.
1. connect one of switch's port to a LAN including a PC(or directly to the PC) that can run packet capture software(wireshark e.g.).
2. using this port to monitor other port's traffic with below commands:
a. monitor session 1
b. monitor session 1 destination interface eth1/x(the port connected to PC).
c. monitor session 1 source interface eth1/x both (the port you want to monitor)
d. monitor session 1 enable
then you can see all the traffic between the monitored port and its wired client through your monitoring PC.
Photo of sbx

sbx

  • 28 Posts
  • 0 Reply Likes
Hi

Thanks for the input. The problem about this is you need someone on site to do it. As we are talking about a distributed environment this method isn't the way to go. should be able to get input within Hive Manager.