Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

port-mirroring

Syntax

port-mirroring {input {maximum-packet-lengthbytesrate rate;run-length number;}family any {output {(next-hop-group group-name | interface interface-name);}}family inet {output {interface interface-name {next-hop address;}no-filter-check;}}instance instance-name {input {rate rate;maximum-packet-length number;}family any {output {(next-hop-group group-name | interface interface-name);}}family inet {output {next-hop-group group-name;}}}traceoptions {file filename <files number> <size bytes> <world-readable | no-world-readable>;}}

Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement family any introduced in Junos OS Release 13.2.

Description

Specify the input, output, and traceoptions properties for sending copies of packets to an analyzer.

Note: Option run-length is not supported on MX Series routers with MPCs.

The statements are explained separately.

Usage Guidelines

See Configuring Port Mirroring.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2013-07-19

Supported Platforms

Published: 2013-07-19