vlan (Port Mirroring)
Syntax
vlan (vlan-id | vlan-name) { [OBSOLETE] no-tag;
Hierarchy Level
For platforms without ELS:
[edit ethernet-switching-options analyzer name input ingress], [edit ethernet-switching-options analyzer name output]
For platforms with ELS:
[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.