analyzer
Syntax
Routing
analyzer { analyzer-name { input { egress { interface (all | interface-name); vlan (vlan-id | vlan-name); } ingress { interface (all | interface-name); vlan (vlan-id | vlan-name); } output { interface interface-name; ip-address ip-address; routing-instance vlan (vlan-id | vlan-name); } } }
Interface
analyzer { analyzer-name { input { egress { bridge-domain bridge-domain-name; interface (all | interface-name); routing-instance { instance-name { bridge-domain bridge-domain-name; } } } ingress { bridge-domain bridge-domain-name; interface (all | interface-name); routing-instance { instance-name { bridge-domain bridge-domain-name; } vlan (vlan-id | vlan-name); } vlan (vlan-id | vlan-name); } maximum-packet-length bytes; rate number; } output { bridge-domain bridge-domain-name; interface interface-name; next-hop-group next-hop-group-name; routing-instance { instance-name { bridge-domain { bridge-domain-name; } } vlan (vlan-id | vlan-name); } vlan (vlan-id | vlan-name); } } }
Hierarchy Level
For platforms without ELS:
[edit ethernet-switching-options]
For platforms with ELS:
[edit forwarding-options]
Description
Configure port mirroring. You can create a total of four port-mirroring configurations on the QFX Series, subject to the following limits:
There can be no more than two configurations that mirror ingress traffic.
There can be no more than two configurations that mirror egress traffic.
Default
Port mirroring is disabled and Junos OS creates no default analyzers.
Options
all
—Mirror all the access interfaces.
Using this option does not cause the QSFP+ or management interfaces
to be mirrored.
Configuring the all
option 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.
analyzer-name
—Name of
the analyzer. The name can include as many as 125 characters; must
begin with a letter; and can include uppercase letters, lowercase
letters, numbers, dashes, and underscores. No other special characters
are allowed.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.
interface—To view this statement in the configuration.interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 11.1.
Option output vlan
added in Junos OS Release 12.1
for the QFX Series.
Option output ip-address
added in Junos OS Release
12.3 for the QFX Series for non-ELS platforms and added in 14.1X53-D10
for ELS platforms.
Statement introduced for the “Interface Privilege Level” in Junos OS Release 13.2X50-D10.