Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


sampling (Interfaces)


Hierarchy Level


Configure the direction of traffic to be sampled.


direction can be one of the following:

input—Configure at least one expected ingress point.

output—Configure at least one expected egress point.

input output—On a single interface, configure at least one expected ingress point and one expect egress point.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.