Junos OS

 View Only
last person joined: 15 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  Creating a SPAN port

     
    Posted 05-21-2018 06:52

    Hi,

     

    Could someone let me know the best way to configure a SPAN (Port-Mirroring) on an MX240 please?

     

    I have looked at the configs on the Juniper pages and some mention no bridge-id and others mention a bridge ID requirement.

     

    So, let's say we have a port - xe-1/0/0 and I want to monitor ingress and egress traffic on this port and send it to xe-1/1/0 for wireshark, what is the best way to configure this please?

     

    Thanks



  • 2.  RE: Creating a SPAN port
    Best Answer

     
    Posted 05-22-2018 02:55

    I guess I will just try some options and see what works. Here is one of the options (Basic):

     

    set interfaces xe-1/0/0 unit 0 family ethernet-switching

    set interfaces xe-1/1/0 unit 0 family ethernet-switching

    set forwarding-options analyzer test-monitor input ingress interface xe-1/0/0

    set forwarding-options analyzer test-monitor input egress interface xe-1/0/0

    set forwarding-options analyzer test-monitor output interface xe-1/1/0

     

    This will or should, give me the basics..... will let you know