[Contents] [Prev] [Next] [Index] [Report an Error]


Minimum Accounting Options Configuration

To enable accounting options on the router, you must perform at least the following tasks:

Apply an interface profile to a physical or logical interface by including the accounting-profile statement at either the [edit interfaces interface-name] or the [edit interfaces interface-name unit number] hierarchy level. For more information on interface profiles, see the JUNOS Network Interfaces and Class of Service Configuration Guide.

[edit interfaces]
interface-name {
    accounting-profile profile-name;
    unit number {
        accounting-profile profile-name;
    }
}

NOTE: You do not apply destination class profiles to interfaces. Although the interface needs to have the destination-class-usage statement configured, the destination class profile automatically finds all interfaces with the destination class configured.

Apply a filter profile to a firewall filter by including the accounting-profile statement at the [edit firewall filter filter-name] hierarchy level:

[edit firewall]
filter filter-name {
    accounting-profile profile-name; 
}

You do not need to apply the Routing Engine profile to an interface because the statistics are collected on the Routing Engine itself.


[Contents] [Prev] [Next] [Index] [Report an Error]