show forwarding-options port-mirroring
Syntax
Release Information
Command introduced in Junos OS Release 9.6.
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
Related Topics
List of Sample Output
show forwarding-options port-mirroring terseshow 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@host> show forwarding-options port-mirroring
terseInstance Name Instance Id State &global_instance 1 up inst1 2 up
show forwarding-options port-mirroring detail
user@host> show forwarding-options port-mirroring
detailInstance Name: &global_instance
Instance Id: 1 State: up
Input parameters:
Rate: 10
Run-length: 4
Maximum-packet-length: 0
Output parameters:
Family: inet State: up Destination: inet_nhg
Family: vpls/bridge State: up Destination: vpls_nhg
Instance Name: inst1
Instance Id: 2 State: up
Input parameters:
Rate: 1
Run-length: 0
Maximum-packet-length: 200
Output parameters:
Family: inet State: up Destination: inet_nhg
Family: vpls/bridge State: down Destination: vpls_nhg_2
