Difference between revisions of "Setting up a mirrored port"

From WTFwiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
Make sure the output port is a generic port, no vlans and or VOIP/tagging.
 
Make sure the output port is a generic port, no vlans and or VOIP/tagging.
<code>
+
 
 +
Step 2;
 +
<pre>
 
[edit ethernet-switching-options]
 
[edit ethernet-switching-options]
 
+  analyzer port-mirror {
 
+  analyzer port-mirror {
Line 27: Line 29:
  
 
set ethernet-switching-options analyzer port-mirror output interface ge-0/0/22
 
set ethernet-switching-options analyzer port-mirror output interface ge-0/0/22
</code>
+
</pre>
  
 
That should do the trick!
 
That should do the trick!
 +
 +
Step 3;
 +
Watch youtube..

Latest revision as of 09:46, 29 July 2019

Below will show you how to setup port-mirroring;

Step 1;

Make sure the output port is a generic port, no vlans and or VOIP/tagging.

Step 2;

[edit ethernet-switching-options]
+   analyzer port-mirror {
+       input {
+           ingress {
+               interface ge-0/0/22.0;
+           }
+           egress {
+               interface ge-0/0/22.0;
+           }
+       }
+       output {
+           interface {
+               ge-0/0/21.0;
+           }
+       }
+   }

set ethernet-switching-options analyzer port-mirror input egress interface ge-0/0/22
set ethernet-switching-options analyzer port-mirror input ingress interface ge-0/0/22


set ethernet-switching-options analyzer port-mirror output interface ge-0/0/22

That should do the trick!

Step 3; Watch youtube..