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

file

See the following sections:

file (Helpers Trace Options)

Syntax

file filename {
files number;
size (Sampling) bytes;
}

Hierarchy Level

[edit forwarding-options helpers traceoptions]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Configure information about the DNS and TFTP packet-forwarding files that contain trace logging information.

Options

filename—Name of the file containing the trace information.

Default: /var/log/sampled

The remaining statements are explained separately.

Usage Guidelines

See Tracing BOOTP, DNS, and TFTP Forwarding Operations.

Required Privilege Level

interface—To view this statement in the configuration.

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

file (Packet Capture)

Syntax

file {
filename file-name;
files number;
size number;
}

Hierarchy Level

[edit forwarding-options packet-capture]

Release Information

Statement introduced in JUNOS Release 7.5.

Description

Enable packet capture to a file.

Options

The statements are explained separately.

Usage Guidelines

See Configuring Packet Capture.

Required Privilege Level

interface—To view this statement in the configuration.

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

file (Sampling)

Syntax

file {
disable;
filename filename;
files number;
size (Sampling) 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 Output.

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 (Sampling) 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]