JUNOS 10.1 Network Interfaces Configuration Guide
accounting
accounting {
Syntax
}
[edit interfaces interface-name unit logical-unit-number family inet],
Hierarchy Level
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number
Statement introduced before JUNOS Release 7.4.
Release Information
Enable IP packet counters on an interface.
Description
The statements are explained separately.
interface—To view this statement in the configuration.
Required Privilege Level
interface-control—To add this statement to the configuration.
Related Topics
accounting-profile
Syntax
accounting-profile name;
[edit interfaces interface-name],
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number]
Statement introduced before JUNOS Release 7.4.
Release Information
Enable collection of accounting data for the specified physical or logical interface.
Description
Options
name
interface—To view this statement in the configuration.
Required Privilege Level
interface-control—To add this statement to the configuration.
Related Topics
950
accounting
destination-class-usage;
source-class-usage {
direction;
}
family inet]
Enabling Source Class and Destination Class Usage on page 220
—Name of the accounting profile.
Applying an Accounting Profile to the Physical Interface on page 142
Applying an Accounting Profile to the Logical Interface on page 169