Junos OS

 View Only
last person joined: 8 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  MX router packet capture?

    Posted 02-18-2015 21:34

    I was trying to do the packet capture on one of the interfaces.

     

    However I found that in [edit forwarding-options], there is no pakcet-capture option.

     

    Then I tried with [edit forwarding-options sampling], I was able to sample the packet, but the output was in ASCII format.

    Is there any way we can get the output of sampling in pcap format readable by programs like wireshark etc.


    #mx
    #pcap
    #packet-capture


  • 2.  RE: MX router packet capture?

     
    Posted 02-21-2015 20:56

    Hi sumit.trehan,

     

    Packet-capture option may be a hidden command. Can you try typing it completely.

     

    https://www.juniper.net/documentation/en_US/junos13.1/topics/usage-guidelines/policy-configuring-packet-capture.html

     

    Thanks,

    Suraj

    Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too



  • 3.  RE: MX router packet capture?
    Best Answer

    Posted 04-15-2015 10:04

    I finally found an alternate way to capture packets.

    I used port-mirroring i.e. mirroring all the traffic to a port which is connected to a traffic analyser.



  • 4.  RE: MX router packet capture?

     
    Posted 04-15-2015 10:32
    Thats Great 😊

    Regards,
    Suraj