Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show forwarding-options port-mirroring

Syntax

Description

Display current state of port-mirroring instances.

Options

terse | detail

(Optional) Display the specified level of output.

instance-name

(Optional) Display a single port-mirroring instance.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show forwarding-options port-mirroring command. Output fields are listed in the approximate order in which they appear.

Table 1: show forwarding-options port-mirroring Output Fields

Field Name

Field Description

Level of Output

Instance Name

Name of port-mirroring instance.

All levels

Instance Id

Instance identification number.

All levels

State

Instance state, either up or down.

All levels

Input parameters

Rate

Rate (ratio of packets sampled).

detail

Run-length

Run length (number of consecutive packets sampled).

detail

Maximum-packet-length

Maximum packet length.

detail

Output parameters

Family

Protocol family.

detail

State

Instance state, either up or down.

detail

Destination

Destination (next-hop group name).

detail

Next-hop

IP address of the next hop to the destination.

detail

Parameters (self-mirror)

Parameters for self-mirror :
  • filename of PCAP file

  • family : family-name

  • size : file-size

  • packet count : number of mirrored packets saved in file

  • total bytes written : count

  • start record time : time

  • stop record time : time

  • duration (seconds) : seconds

  • rate : number

  • run-length : number

  • mode : write mode (circular | linear)

  • self mirror state : recording state (inactive | active | recording)

 

Sample Output

show forwarding-options port-mirroring terse

show forwarding-options port-mirroring detail

show forwarding-options port-mirroring self-mirror

show forwarding-options port-mirroring self-mirror statistics

show forwarding-options port-mirroring self-mirror start

show forwarding-options port-mirroring self-mirror stop

Release Information

Command introduced in Junos OS Release 9.6.