Configuring the Interface Profile
An interface profile specifies the information collected and written to a log file. You can configure a profile to collect error and statistic information for input and output packets on a particular physical or logical interface.
To configure an interface profile, include the
interface-profilestatement at the[edit accounting-options]hierarchy level:[edit accounting-options]interface-profileprofile-name{fields {field-name;} filefilename;intervalminutes;}Each accounting profile must have a unique
profile-name. To apply a profile to a physical or logical interface, include theaccounting-profilestatement at either the[edit interfacesinterface-name]or the[edit interfacesinterface-nameunitnumber]hierarchy level. You can also apply a accounting profile at the [edit firewall familyfamily-typefilterfilter-name] hierarchy level. For more information, see the JUNOS Policy Framework Configuration Guide.To configure an interface profile, you perform the tasks described in the following sections: