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.
Packet-capture option may be a hidden command. Can you try typing it completely.
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too
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.