Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

interface-profile

Syntax

Hierarchy Level

Description

Create a profile to filter and collect error and packet statistics and write them to a file in the /var/log directory. You can specify an interface profile for either a physical or a logical interface.

Options

profile-name

Name of the interface 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.