Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


request forwarding-options port-mirroring instance family self-mirror-start



Start the on-device packet capture (self-mirroring) of network packets to the CPU and to PCAP files.


family family-name

(Optional) Protocol family to which this command is applied.

instance instance-name Port-mirroring instance to which this command is applied.
self-mirror-start start-duration-seconds Duration in seconds before the start of the file recording (1–1800 seconds).

Required Privilege Level


Output Fields

When you enter this command, you are provided no feedback on the status of your request. You can enter the show forwarding-options port-mirroring self-mirror start command to verify the operation.

Sample Output

request forwarding-options port-mirroring instance I1 family inet self-mirror-start 900

Release Information

Command introduced in Junos OS Evolved Release 24.2R1.