Navigation
Related Documentation
- M, MX, T Series
- Applying Filters to Forwarding Tables
- M, T Series
- Configuring Active Flow Monitoring Using Version 9
- M, MX, PTX, T Series
- Configuring Flow Aggregation (cflowd)
- Configuring Port Mirroring
- M, PTX, T Series
- Tracing Traffic-Sampling Operations
sampling (Forwarding Options)
Syntax
sampling {disable;sample-once;family (inet | inet6 | mpls) {disable;output {aggregate-export-interval seconds;extension-service service-name;file {disable;filename filename;files number;size bytes;(stamp | no-stamp);(world-readable | no-world-readable);}flow-active-timeout seconds;flow-inactive-timeout seconds;flow-server hostname {aggregation {autonomous-system;destination-prefix;protocol-port;source-destination-prefix {caida-compliant;}source-prefix;}autonomous-system-type (origin | peer);(local-dump | no-local-dump);port port-number;source-address address;version format;version9 {template template-name;}}interface interface-name {engine-id number;engine-type number;source-address address;}}}input {max-packets-per-second number;maximum-packet-length bytes;rate number;run-length number;}instance instance-name {disable;family (inet | inet6 | mpls) {disable;output {aggregate-export-interval seconds;extension-service service-name;flow-active-timeout seconds;flow-inactive-timeout seconds;flow-server hostname {aggregation {autonomous-system;destination-prefix;protocol-port;source-destination-prefix {caida-compliant;}source-prefix;}autonomous-system-type (origin | peer);(local-dump | no-local-dump);port port-number;source-address address;version format;version-ipfix {template template-name;}version9 {template template-name;}}inline-jflow {source-address address;flow-export-rate rate;}interface interface-name {engine-id number;engine-type number;source-address address;}}}input {max-packets-per-second number;maximum-packet-length bytes;rate number;run-length number;}}traceoptions {no-remote-trace;file filename <files number> <size bytes> <match expression> <world-readable | no-world-readable>;}}
Hierarchy Level
[edit forwarding-options]
Release Information
Statement introduced before Junos OS Release 7.4.
Description
Configure traffic sampling.
The statements are explained separately.
Usage Guidelines
See Configuring Traffic Sampling.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Related Documentation
- M, MX, T Series
- Applying Filters to Forwarding Tables
- M, T Series
- Configuring Active Flow Monitoring Using Version 9
- M, MX, PTX, T Series
- Configuring Flow Aggregation (cflowd)
- Configuring Port Mirroring
- M, PTX, T Series
- Tracing Traffic-Sampling Operations
Published: 2012-12-04
Related Documentation
- M, MX, T Series
- Applying Filters to Forwarding Tables
- M, T Series
- Configuring Active Flow Monitoring Using Version 9
- M, MX, PTX, T Series
- Configuring Flow Aggregation (cflowd)
- Configuring Port Mirroring
- M, PTX, T Series
- Tracing Traffic-Sampling Operations