Technical Documentation

ratio

Syntax

ratio number;

Hierarchy Level

Release Information

Statement introduced in JUNOS 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 ratio of 1 mirrors all packets, and 2047 mirrors 1 out of every 2047 packets.

On EX8200 switches, you can set a ratio only for ingress packets.

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

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.


Published: 2009-10-08