Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show forwarding-options port-mirroring

    Syntax

    show forwarding-options port-mirroring <terse | detail> <instance-name>

    Release Information

    Command introduced in Junos OS Release 9.6.

    Statement introduced in Junos OS Release 12.3R2 for EX Series switches.

    Hierarchy level [edit forwarding-options] introduced in Junos OS Release 13.2X50-D10 (ELS).

    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

    List of Sample Output

    show forwarding-options port-mirroring terse
    show forwarding-options port-mirroring detail

    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

    Sample Output

    show forwarding-options port-mirroring terse

    user@switch> show forwarding-options port-mirroring terse
    Instance Name			     Instance Id    State
    &global_instance		     1		    up
    inst1				     2		    up
    

    show forwarding-options port-mirroring detail

    user@switch> show forwarding-options port-mirroring detail
    Instance Name: &global_instance		     
    Instance Id: 1		    State: up
      Input parameters:
         Rate:		    1
         Run-length:	    0
         Maximum-packet-length: 0
      Output parameters:
         Family: ethernet-switching  State: up     Destination: ge-0/0/10.0	
    
    Instance Name: inst1
    Instance Id: 2		    State: up
      Input parameters:
         Rate:		    1
         Run-length:	    0
         Maximum-packet-length: 0
      Output parameters: 
         Family: ethernet-switching  State: down   Destination: ge-0/0/10.0
    

    Modified: 2016-08-15