TechLibrary

Navigation Back up to About Overview

sampling

Syntax

sampling {disable;input {max-packets-per-second number;maximum-packet-length bytes;rate number;run-length number;}family (inet | inet6 | mpls) {output {aggregate-export-interval 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;}}}extension-service service-name;file filename filename <disable> <files number> <stamp | no-stamp> <size  bytes> <world-readable | no-world-readable>;flow-active-timeout seconds;flow-inactive-timeout seconds;flow-server host-name {aggregation;autonomous-system-type (origin | peer);(local-dump | no-local-dump);port number;source-address address;version (5 | 8);version9;}input interface-name {engine-id number;engine-type number;source-address address;}}traceoptions {file filename <files  number> < bytes> <world-readable | no-world-readable>;}}

Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Description

Configure traffic sampling.

The statements are explained separately.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2011-07-29