# ip flow-sampling-mode packet-interval

#### Syntax

ip flow-sampling-mode packet-interval intervalValue

no ip flow-sampling-mode packet-interval

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Defines the sampling interval for an interface that is running J-Flow. Even though each flow is sampled, the flow sample is not necessarily cached because of system constraints. The no version returns the sampling interval to the default value.

| Note: For interfaces on the ES2 10G LM with either the ES2-S1 GE-8 IOA or the ES2-S2 10GE PR IOA on E120 routers and E320 routers, J-Flow adjusts the maximum sampling interval to 8,388,608 (decimal equivalent of 0x800000) and changes the sampling interval to the closest integer that is a power of two and that is less than or equal to the configured value.

#### Options

- intervalValue—Sampling interval, in the range 1–4000000000 packets; default value is 4000000000

#### Mode

Global Configuration