Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

ratio

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Description

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.

Default

1

Options

number—The number of packets in the sample, out of which 1 packet is mirrored.

Range: 1 through 2047

Default: 1

Required Privilege Level

system—To view this statement in the configuration.

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