Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show services accounting flow-detail

Syntax

Description

Display information about the flows being processed by the accounting service.

Options

none

Display information about all flows.

detail | extensive | terse

(Optional) Display the specified level of output.

filters

(Optional) Filter the display output of the currently active flow records. The following filters query actively changing data structures and result in different results for multiple invocations:

  • destination-as—Display flow records filtered by destination autonomous system information.

  • destination-port—Display flow records filtered by destination port information.

  • destination-prefix—Display flow records filtered by destination prefix information.

  • input-snmp-interface-index—Display flow records filtered by SNMP input interface index information.

  • output-snmp-interface-index—Display flow records filtered by SNMP output interface index information.

  • proto—Display flow records filtered by protocol type.

  • source-as—Display flow records filtered by source autonomous system information.

  • source-port—Display flow records filtered by source port information.

  • source-prefix—Display flow records filtered by source prefix information.

  • tos—Display flow records filtered by type of service classification.

limit limit-value

(Optional) Limit the display output to the specified number of flows. The default is no limit.

name (* | all | service-name)

(Optional) Display information about the flows being processed. Use a wildcard character, specify all services, or provide a specific services name.

order (bytes | packets)

(Optional) Display the flow with the ordering of the highest number, either by byte count or by packet count.

Additional Information

When no PIC is active, or when no route record has been downloaded from the PIC, this command reports no flows, even though packets are being sampled. This command displays information about two concurrent sessions only. If a third session is attempted, the command pauses with no output until one of the previous sessions is completed.

Required Privilege Level

view

Output Fields

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

Table 1: show services accounting flow-detail Output Fields

Field Name

Field Description

Output Level

Service Accounting interface

Name of the service accounting interface.

All levels

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] hierarchy level.

All levels

Local interface index

Index counter of the local interface.

All levels

TOS

Type-of-service value from the IP header.

extensive

Input SNMP interface index

SNMP index of the interface on which the packet came in.

extensive

Output SNMP interface index

SNMP index of the interface on which the packet went out.

extensive

Source-AS

Source AS number.

extensive

Destination-AS

Destination AS number.

extensive

Protocol

Name of the protocol used for the packet flow from the corresponding source address.

All levels

Input interface

Interface on which the packets were received.

All levels

Output interface

Interface on which the packets were transmitted.

All levels

TCP flags

Number of TCP header flags detected in the flow.

extensive

Source address

Address where the flow originated.

All levels

Source port

Name of the source port.

All levels

Source prefix length

Source prefix length.

extensive

Destination address

Address where the flow is sent.

All levels

Destination prefix length

Destination prefix length.

extensive

Destination port

Name of the destination port.

All levels

Start time

Actual time when the packet in this aggregation was first seen.

detail extensive

End time

Actual time when the packet in this aggregation was last seen.

detail extensive

Packet count

Number of packets in the aggregation.

All levels

Byte count

Number of bytes in the aggregation.

All levels

Time since last active timeout

Amount of time elapsed since the last active timeout, in the format hh:mm:ss.

None specified

Packet count for last active timeout

Number of packets in the aggregation since the last active timeout.

None specified

Byte count for last active timeout

Number of bytes in the aggregation since the last active timeout.

None specified

Sample Output

show services accounting flow-detail

In this sample, the output is split into three sections, with ellipses (...) indicating where the sections are continued.

show services accounting flow-detail limit

In this sample, the output is split into three sections, with ellipses (...) indicating where the sections are continued.

show services accounting flow-detail name extensive

show services accounting flow-detail limit order bytes

The output of the following command is displayed over 141 columns, not the standard 80 columns. In this sample, the output is split into three sections, with ellipses (...) indicating where the sections are continued.

show services accounting flow-detail name detail source-port

Release Information

Command introduced before Junos OS Release 7.4.