[Contents][Prev][Next][Index][Report an Error]

file

See the following sections:

file (Sampling)

Syntax

file {
disable;
filename filename;
files number;
size bytes;
(stamp | no-stamp);
(world-readable | no-world-readable);
}

Hierarchy Level

[edit forwarding-options sampling output]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Collect the traffic samples in a file.

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.

file (Trace Options)

Syntax

file filename <files number <size bytes> <world-readable | no-world-readable>;

Hierarchy Level

[edit forwarding-options port-mirroring traceoptions],
[edit forwarding-options sampling traceoptions]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Configure information about the files that contain trace logging information.

Options

filename—The name of the file containing the trace information.

Default: /var/log/sampled

The remaining statements are explained separately.

Usage Guidelines

See Tracing Traffic Sampling Operations.

Required Privilege Level

interface—To view this statement in the configuration.

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


[Contents][Prev][Next][Index][Report an Error]