Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

filter-profile

Syntax

filter-profile profile-name {counters {counter-name;}file filename;interval minutes;}

Hierarchy Level

[edit accounting-options]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Description

Create a profile to filter and collect packet and byte count statistics and write them to a file in the /var/log directory. To apply the profile to a firewall filter, you include the accounting-profile statement at the [edit firewall filter filter-name] hierarchy level. For more information about firewall filters, see the Junos Network Management Configuration Guide .

Options

profile-name—Name of the filter profile.

The remaining statements are explained separately.

Required Privilege Level

interface—To view this statement in the configuration.

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

Modified: 2015-06-30

Modified: 2015-06-30