Log Command Reference
Page 250 7705 SAR OS System Management Guide
Only one record may be configured in a single accounting policy.
The no form of the command removes the record type from the policy.
Default No accounting record is defined.
Parameters record-name — the accounting record name
The following table lists the accounting record names available and the default collection
interval.
to file
Syntax to file file-id
Context config>log>accounting-policy policy-id
This command specifies the destination for the accounting records selected for the accounting policy.
Default No destination is specified.
Parameters file-id — the file-id option specifies the destination for the accounting records asociated with this
accounting policy. The characteristics of the file-id, such as rollover and retention intervals, must
have already been defined in the config>log>file-id context. A file-id can only be used once.
The file is generated when the file ID is referenced. This command identifies the type of
accounting file to be created. If the to command is executed while the accounting policy is in
operation, then it becomes active during the next collection interval.
Values 1 to 99
Note: Collecting excessive statistics can adversely affect the CPU utilization and
take up large amounts of storage space.
Record Type Accounting Record Name Default Interval
1 service-ingress-octets 5 minutes
2 service-egress-octets 5 minutes
3 service-ingress-packets 5 minutes
4 service-egress-packets 5 minutes