Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

interface (Port Mirroring)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
interface (all | interface-name);

Hierarchy Level

For platforms without ELS:

content_copy zoom_out_map

For platforms with ELS:

content_copy zoom_out_map
[edit forwarding-options analyzer name input (egress | ingress)]
[edit forwarding-options analyzer name output]
[edit forwarding-options port-mirroring [instance name] family ethernet-switching output]

Description

Specify the interfaces for which ingressing traffic is mirrored. Specify the interface that mirrored traffic should be copied to (the output interface).

Options

all—Apply port mirroring to all interfaces on the switch (except the output interface). Mirroring a high volume of traffic can cause performance issues, so you should generally select specific input interfaces.

CAUTION:

Configuring all in a QFabric system causes all the access interfaces on all the nodes to be mirrored. Be cautious about using this option on a QFabric system.

interface-name—Apply port mirroring to the specified interface only.

Required Privilege Level

routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 11.1.

footer-navigation