Routing

last person joined: 4 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Port Mirroring On MX Platform

    Posted 09-25-2016 11:27

    Hi there, Can anyone please tell me how to  mirror all traffice recieved on a specific port and sent to another specific port.

    As uptill now i understand that we can apply mirroring instance on chassis level unto FPC but not specific PIC (port) slot.

    Our system is MX-960 with Junos Version 13.3 R1.

     



  • 2.  RE: Port Mirroring On MX Platform

     
    Posted 09-25-2016 20:04


  • 3.  RE: Port Mirroring On MX Platform

    Posted 09-25-2016 20:57

    The link provided is great which shows how to create a port mirroring instance up to PIC level,

    for instance I do
    MX-960# edit chassis fpc 0 pic 0

     

    but pic 0 again encompasses ports 0-9 , so how can I apply port mirroring instance in a way to do so for a single port.



  • 4.  RE: Port Mirroring On MX Platform

     
    Posted 09-25-2016 21:09


  • 5.  RE: Port Mirroring On MX Platform

    Posted 09-26-2016 10:38

    Hello,

    The shared link still doesn't narrow down to my simple senario, I just want all traffic from port Ge-0/0/3 to be mirrord to port Ge-0/0/1. Please share the configuration required to do so. The provided like shows creation of filters and next-hop groups while the forwarding option is also used in some cases. so please share the configurations for my senario thank you. 



  • 6.  RE: Port Mirroring On MX Platform
    Best Answer

    Posted 09-26-2016 10:49

    Hi Mannan,

     

    Below is the simple config you can test.

     

    set forwarding-options port-mirroring input rate 1000
    set forwarding-options port-mirroring family inet output interface ge-0/0/1.0 next-hop 1.1.1.2
    set firewall family inet filter PM term 1 then port-mirror
    set firewall family inet filter PM term 1 then accept
    set firewall family inet filter PM term 1 then port-mirror
    set interfaces ge-0/0/3 unit 0 family inet address 2.2.2.1/30
    set interfaces ge-0/0/3 unit 0 family inet filter input PM
    set interfaces ge-0/0/3 unit 0 family inet filter output PM
    set interfaces ge-0/0/1 unit 0 family inet address 1.1.1.1/30 arp 1.1.1.2 mac <destination-mac>

     

    Let me know if it works for you.



  • 7.  RE: Port Mirroring On MX Platform

    Posted 09-26-2016 13:22

    I have configured it remotely, seems to be working, but will know for sure once I am on site. Will let you know. this static arp is entry is what seemes to be the trick 



  • 8.  RE: Port Mirroring On MX Platform

    Posted 09-27-2016 00:33

    Hi Mannan,

     

    [KUDOS PLEASE! If you think I earned it!