Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show services accounting flow

Syntax

Description

Display active flow statistics.

Options

none

Display active flow statistics for all service instances.

logical-system (all | logical-system)

(Optional) Display active flow statistics for the specified logical system or all logical systems on the device.

inline-jflow (fpc-slot slot-number)

(Optional) Display inline flow statistics for the specified FPC.

For PTX Series, starting in Junos OS Evolved Release 21.2R1 and Junos OS Release 21.3R1, every sampled packet is considered to be a flow. When the sampled packet is received, the flow is created and immediately timed out as inactive, and the software exports a record to the collector. Therefore, when you specify this option, the command now displays 0 for all of the various Active Flows and Timed Out fields. The values of the various Total Flows fields are now equal to their respective Flow Packets field values. The values of the various Flows Inactive Timed Out fields are now equal to their respective Flow Packets field values.

name (* | all | service-name)

(Optional) Display services accounting active flow statistics. Use a wildcard character, specify all services, or provide a specific service name.

Required Privilege Level

view

Output Fields

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

Table 1: show services accounting flow Output Fields

Output Field

Output Field Description

Service Accounting interface

Name of the service accounting interface.

Local interface index

Index counter of the local 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.

Flow Information

FPC Slot

Slot number of the FPC for which the flow information is displayed. (Available only when the inline-jflow fpc-slot slot-number option is used.)

Flow packets

Number of packets received by an operational PIC.

Flow bytes

Number of bytes received by an operational PIC.

Flow packets 10-second rate

Number of packets per second handled by the PIC and displayed as a 10-second average.

Flow bytes 10-second rate

Number of bytes per second handled by the PIC and displayed as a 10-second average.

Active flows

Number of currently active flows tracked by the PIC.

Total flows

Total number of flows received by an operational PIC.

Flows exported

Total number of flows exported by an operational PIC.

Flows packets exported

Total number of cflowd packets exported by an operational PIC.

Flows inactive timed out

Total number of flows that are exported because of inactivity.

Flows active timed out

Total number of long-lived flows that are exported because of an active timeout.

Sample Output

show services accounting flow (Flow Aggregation v5/v8 Configuration)

show services accounting flow (Flow Aggregation v9 Configuration)

show services accounting flow name

show services accounting flow name all

show services accounting flow (Multiple Sampling Instances)

show services accounting flow inline-jflow fpc-slot (for IPv4 Flow)

show services accounting flow inline-jflow fpc-slot (with IPv4, IPv6, VPLS, and Bridge Configuration)

show services accounting flow inline-jflow (MX80 Router with IPv4 and IPv6 Configuration)

show services accounting flow inline-jflow fpc-slot (PTX1000 Router When Both IPv4 and IPv6 Are Configured)

show services accounting flow inline-jflow (Junos OS Evolved 21.2R1 and later, for a PTX10003 router)

show services accounting flow inline-jflow (SRX Series When IPv4 is configured)

Release Information

Command introduced before Junos OS Release 7.4.

Junos OS Release 10.0 added the capability to display output from multiple sampling instances.