For MX Series routers with Modular Port Concentrators (MPCs), port-mirrored or sampled
packets can be truncated (or clipped) to any length in the range of 1 through 255
bytes. For other devices, the range is from 0 through 9216. A maximum-packet-length
value of zero represents that truncation is disabled, and the entire packet is mirrored
or sampled.
Required Privilege
Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Related
Documentation
• Configuring Port Mirroring
• Configuring Traffic Sampling
mirror-once
Syntax mirror-once;
Hierarchy Level [edit forwarding-options port-mirroring]
Release Information Statement introduced in Junos OS Release 9.3 (MX Series routers only).
Support extended to M120 routers in Junos OS Release 9.5.
Statement introduced in Junos OS Release 12.1X48 for PTX Packet Transport Routers.
Description Configure the router to mirror packets only once. This feature is useful if you configure
port mirroring on both ingress and egress interfaces, which could result in the same packet
being mirrored twice.
Required Privilege
Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Related
Documentation
• Configuring Port Mirroring
107Copyright © 2016, Juniper Networks, Inc.
Chapter 12: Configuration Statements