Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

instance

Syntax (Junos OS)

Syntax (Junos OS Evolved)

Hierarchy Level

Description

Configure inline-monitoring instance parameters. You can use these instances along with firewall filters to monitor different streams of traffic at different sampling rates from the same interface.

You can configure a maximum of sixteen (Junos OS) or seven (Junos OS Evolved) inline-monitoring instances with four collectors each.

Options

name

Name of instance.

collector name

Configure an collector for the inline-monitoring instance. See collector for more information.

controller

(Junos OS Evolved only) Configure inline-monitoring services for packet redirects to the P4 controller or to the Routing Engine. See controller for more information.

maximum-clip-length

Maximum packet length.

  • Range: 64 through 126 bytes (Junos OS)

    Range: 64 through 256 bytes (Junos OS Evolved)

  • Default: 126 bytes (Junos OS)

    Default: 128 bytes (Junos OS Evolved)

sampling-rate

(Junos OS Evolved) Rate at which the traffic is sampled. In Junos OS, you do not specify the sampling rate here; you specify the sampling rate at the [edit services inline-monitoring instance instance-name collector collector-name] hierarchy level.

For example, if you specify 1000, then 1 packet out of every 1000 packets is sampled.

  • Range: 1 through 32000000

  • Default: 1

template-name

Name of the template.

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS 19.4R1.

Statement introduced in Junos Evolved OS Release 22.2R1.