Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

port-mirroring

Syntax: MX Series and PTX Series Routers, M120 and M320

Syntax: QFX Series Switches, EX4600 and NFX Series Devices

Syntax: OCX1100

Hierarchy Level

Description

Create a port-mirroring configuration. Specify the address family, rate, run length, interface, and next-hop address for sending copies of packets to an analyzer.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

family vpls statement introduced in Junos OS Release 9.3 (MX Series routers only); support extended to M7i, M10, M120, and M320 routers in Junos OS Release 9.5.

instance port-mirroring-instance-name statement introduced in Junos OS Release 9.3 (MX Series routers only); support extended to M120 and M320 routers in Junos OS Release 9.5.

mirror-once statement introduced in Junos OS Release 9.3 (MX Series routers only); support extended to M120 routers in Junos OS Release 9.5.

family ccc statement introduced in Junos OS Release 9.6 (M120 and M320 routers only).

family inet6 and next-hop-group statements introduced in Junos OS Release 14.2 (MX Series routers only).