[an error occurred while processing this directive][an error occurred while processing this directive]



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

Hierarchy Level

[edit accounting-options]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.


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 Interfaces Configuration Guide.


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.

Published: 2010-04-27

[an error occurred while processing this directive]