Supported Platforms
Related Documentation
- M, MX, PTX, T Series
- Configuring Port Mirroring
- M, PTX, T Series
- Configuring Traffic Sampling
maximum-packet-length
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.6.
Statement introduced in Junos OS Release 12.1X48 for PTX Series Packet Transport Routers.
Description
Set the maximum length of the packet used for port mirroring or traffic sampling. Packets with lengths greater than the specified maximum are truncated.
![]() | Note: The maximum-packet-length statement is not supported on MX80 routers. |
Options
bytes—Maximum length (in bytes) of the mirrored packet or the sampled packet.
Range: 0 through 9216
Default: 0
For MX-Series devices with Modular Port Concentrators (MPCs), port-mirrored or sampled packets can be truncated (or clipped) to any length in the range of 1 to 255 bytes. Only 1 to 255 are valid values for packet truncation on these devices. For other devices, the range is from 0 to 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
- M, MX, PTX, T Series
- Configuring Port Mirroring
- M, PTX, T Series
- Configuring Traffic Sampling
Published: 2013-08-29
Supported Platforms
Related Documentation
- M, MX, PTX, T Series
- Configuring Port Mirroring
- M, PTX, T Series
- Configuring Traffic Sampling