Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show services accounting packet-size-distribution



Display a packet size distribution histogram.



Display a packet size distribution histogram of all accounting services.

name (* | all | service-name)

(Optional) Display a packet size distribution histogram. Use a wildcard character, specify all services, or provide a specific services name.

Required Privilege Level


Output Fields

Table 1 lists the output fields for the show services accounting packet-size-distribution command. Output fields are listed in the approximate order in which they appear.

Table 1: show services accounting packet-size-distribution Output Fields

Field Name

Field Description

Service Accounting interface

Name of the service accounting interface.

Service name

Name of a service that was configured at the [edit-forwarding-options accounting] hierarchy level. The default display, (default sampling), indicates the service was configured at the [edit-forwarding-options sampling-level] hierarchy level.

Local interface index

Index counter of the local interface.

Range start

Smallest packet length (in bytes) to count.

Range end

Largest packet length (in bytes) to count.

Number of packets

Count of packets detected in the size between Range start and Range end.

Percentage packets

Percentage of the total number of packets that are in this size range.

Sample Output

show services accounting packet-size-distribution name

Release Information

Command introduced before Junos OS Release 7.4.