Usage of Traffic Monitoring toos in Cisco switch

I have used Wireshark tool in a Virtual environment (GNS) where you can click between two links and run Wireshark.
However with physical switches it is different

Let's say you want to capture traffic going from a user PC going to Domain Controller.
You have a laptop with Wireshark tool on it, so where do you plug your Laptop to ? I believe on any available access port on the switch where user PC is plugged to. (Correct me if I am wrong), then connect to the management interface of the switch from the laptop using SSH for instance , then you need to configure the port where the laptop is plugged to as the source of the traffic and the port where the Domain Controller is plugged to as the destination
Well, I am not sure exactly how it should be configured, but I would an Expert to explain it clearly..

Thanks
jskfanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JustInCaseCommented:
In real world you will need to need to configure switch for Switched Port Analyzer (SPAN) or Remote SPAN (RSPAN), so all traffic from some port (or VLAN) that you want to capture traffic is also sent to port where you attach your host with Wireshark.
Difference between SPAN and RSPAN is where listening device is placed, with SPAN device is in the same switch, and with RSPAN is in the different switch than the port you are listening.

Nice explanation you can find in this Cisco's article with list of what SPAN options is supported on some Cisco series of switches. You can find article for each specific switch how to configure SPAN and RSPAN and list of limitations for specific switch.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jskfanAuthor Commented:
Thank you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.