Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

vlan (Port Mirroring)

Syntax

Hierarchy Level

For platforms without ELS:

For platforms with ELS:

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.