Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

class-usage-profile

Syntax

Hierarchy Level

Description

Create a class usage profile, which is used to log class usage statistics to a file in the /var/log directory. The class usage profile logs class usage statistics for the configured source classes on every interface that has destination-class-usage configured.

For information about configuring source classes, see the Junos Routing Protocols Configuration Guide. For information about configuring source class usage, see the Junos Network Management Configuration Guide.

Options

profile-name

Name of the destination class profile.

start-time time

(Optional) Specify the start time in yyyy-mm-dd.hh:mm local time format for the accounting profile. Sometimes, if the time at which the records are written to the accounting file is beyond the transfer interval window of the file, drifting of accounting records occurs. To prevent drifting and to have predictable timestamps of when accounting data is written to an accounting file, we can specify the start time option for the accounting profile.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.