Statement introduced in Junos OS Release 9.0 for EX Series switches.
Configure port mirroring to copy a sampling of packets, by setting a ratio of 1:x. A value of 1 for x mirrors every packet, and 2047 mirrors 1 out of every 2047 packets.
On EX8200 switches, you can set a ratio only for ingress packets.
On EX4500 switches, if you configure a ratio for any one of the port-based analyzers, that ratio automatically applies to all port-based analyzers.
number—The number of packets in the sample, out of which 1 packet is mirrored.
Range: 1 through 2047
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.