interface (Port Mirroring)
Syntax
interface (all | interface-name);
Hierarchy Level
For platforms without ELS:
[edit ethernet-switching-options analyzer name input (egress | 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
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.
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.