Port SPAN traffic

am capturing the traffic from my core switch through a Mirror PORT/SPAN Port.

i found there are unicast traffic in it, according to theory if you are hanging to a switch you should not see the unicast traffic.

is it right? or its normal to have unicast traffic
osloboyAsked:
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.

Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
osloboyAuthor Commented:
Great thanks, let me rephrase the question

1)if you are listening (wireshark capture) to traffic while connecting directly to a SPAN/Mirrored Port in a Switch, should we see UniCast traffic or not?

2) can (Cisco)network admin drop/stop unicat packets to go to the SPAN/Mirrored Port?
Rick_O_ShayCommented:
In general you would see only non-unicast packets on a mirror port that isn't mirroring another device yet.
However, when a switch receives a packet it doesn't have a corresponding MAC table entry for, it will flood it to all ports in that VLAN because it doesn't know where it lives.

One example would be if a PC A doesn't know that PC B is down and sends a packet to PC B anyway the switch will send it to all ports in the VLAN.

Another example is when a router/L3 switch hasn't aged out the ARP entry for a device no longer available it will continue to forward packets to switches in that VLAN and in turn they will send it to all of their ports.

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
Get Cisco Certified in IT Security

There’s a high demand for IT security experts and network administrators who can safeguard the data that individuals, corporations, and governments rely on every day. Pursue your B.S. in Network Operations and Security and gain the credentials you need for this high-growth field.

Rick_O_ShayCommented:
Sorry I missed the second part of that question before sending.

I don't know of any way to filter out the unicast packets in this situation at the network device.

You could probably get what you want by filtering on the Wireshark, Sniffer or whatever tool you are using after capturing it.
nativevlanCommented:
1 You will see the traffic of the port that you monitoring. ie. if you are monitoring a web server port on a switch you will see the unicast http traffic that the server receives. So yes, you will unicast, multicast, broadcast traffic on pretty much any port that is connected to another device.
2 No, you will see all traffic, if you are using wireshark you can filter the traffic that is displayed during and after the capture. I was trying to find a way to filter unicast but only found the opposite...I'm not a wireshark expert though.
FrabbleCommented:
Generally, I would expect to see unicast traffic on an active switch port. What I wouldn't expect is to see unicast traffic for other devices not connected to that port - the reasons why it could happen given by Rick O Shay above.

If ports are being spanned and you are capturing at the destination, then you will see whatever traffic you have configured to monitor for those ports - this is what a port mirror is supposed to do.
osloboyAuthor Commented:
ok
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
Network Analysis

From novice to tech pro — start learning today.