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

vlan (Port Mirroring)

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
vlan (vlan-id | vlan-name) {
    [OBSOLETE] no-tag;

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

When used in an input statement, specifies that traffic entering or exiting a VLAN should be mirrored. (You can include this statement in an ingress statement or egress statement within the input statement. It is not supported in an egress statement on all switches) When used in an output statement, specifies that mirrored traffic to be sent to a VLAN for remote monitoring.

On some switches, only one interface can be a member of the output (analyzer) VLAN. This limitation does not apply on the QFX10000 switch if traffic is mirrored on ingress. In this case, multiple QFX10000 interfaces can belong to the output VLAN, and traffic is mirrored to all of those interfaces. If traffic is mirrored on egress on a QFX10000 switch, only one interface can be a member of the analyzer VLAN.

Options

vlan-id—Numeric VLAN identifer.

vlan-name—Name of the VLAN.

no-tag—Specifies that remote mirrored packets are not tagged with the tag of the output (analyzer) VLAN.

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.

Optionoutput vlan added in Junos OS Release 12.1 for the QFX Series.

Optionno-tag added in Junos OS Release 15.1X53-D10 for QFX10000 switches.

footer-navigation