Comware Based
1825822 Members
2997 Online
109688 Solutions
New Discussion

traffic mirror vs port mirror ??

 
jacob600
Occasional Contributor

traffic mirror vs port mirror ??

Can someone  explain the difference in traffic mirroring vs port mirroring?

 

Also, what is this mirror-to-cpu command? when would I use it? Is it really sending traffic to the cpu? How?

 

 

mirror-to cpu
 
Syntax
mirror-to cpu

undo mirror-to cpu

View
Traffic behavior view

Default level
2: System level

Parameters
cpu: Mirrors traffic to the CPU.

Description
Use the mirror-to cpu command to configure the action of mirroring traffic to the CPU for the traffic behavior.

Use the undo mirror-to cpu command to remove the action.

By default, the action of mirroring traffic to the CPU is not configured for a traffic behavior.

In a traffic behavior, the action of mirroring traffic to an interface and the action of mirroring

 

2 REPLIES 2
mertdemi
Advisor

Re: traffic mirror vs port mirror ??

Hi Jacob,

 

With port mirroring you copy every packet passing through the interface.

With traffic mirroring you have the option to copy only selected traffic so your monitoring device does not need to proccess uninteresting traffic.

 

mirror-to-cpu copies interesting traffic to cpu. Honestly I did not have to use it so far in all my cases users did not want to copy everything from one port to another and they have used traffic mirroring.

 

also port mirroring is more scalable solution and with traffic mirroring has some limitations  like you can apply policy to one direction at the interface.

 

Jackwill
New Member

Re: traffic mirror vs port mirror ??

Port Mirroring, also known as SPAN (Switched Port Analyzer), is a method of monitoring network traffic. With port mirroring enabled, the switch sends a copy of all network packets seen on one port (or an entire VLAN) to another port, where the packet can be analyzed