- filter-profile profile-name {
-
-
counters {
-
counter-name;
- }
-
file filename;
-
interval minutes;
- }
- [edit accounting-options]
Statement introduced before JUNOS Release 7.4.
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 on firewall filters, see the JUNOS Network Interfaces Configuration Guide.
profile-name—Name of the filter profile.
The remaining statements are explained separately.
See Configuring the Filter Profile.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.