Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show services flow-collector interface

 

Syntax

Release Information

Command introduced before Junos OS Release 7.4.

Description

(M40e, M160, and M320 Series routers and T Series routers only) Display overall statistics for the flow collector application.

Options

noneDisplay statistics for flow collector applications on all interfaces.
all | cp-fpc/pic/portDisplay statistics for flow collector applications on all interfaces or for the specified interface.
detail | extensive | terse(Optional) Display the specified level of output.

Required Privilege Level

view

List of Sample Output

show services flow-collector interface all detail

show services flow-collector interface all extensive

show services flow-collector interface all terse

show services flow-collector interface extensive

Output Fields

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

Table 1: show services flow-collector interface Output Fields

Output Field

Output Field Description

Level of Output

Flow collector interface

Name of the flow collector interface.

All levels

Interface state

Collecting flow state for the interface.

All levels

Packets

Total number of packets received.

none specified

Flows Uncompressed Bytes

Total uncompressed data size for all files created on this PIC.

none specified

Compressed Bytes

Total compressed data size for all files created on this PIC.

none specified

FTP bytes

Total number of bytes transferred to the FTP server, including those dropped during transfer.

none specified

FTP files

Total number of FTP transfers attempted by the server.

none specified

Memory

Bytes used on the PIC and bytes free.

detail extensive

Input

Incoming flow collector packet statistics:

  • Packets—Number of packets received on the unit.

    • per second—Average number of packets per second.

    • peak per second—Peak number of packets per second.

  • Bytes—Number of bytes received on the unit.

    • per second—Average number of bytes per second.

    • peak per second—Peak number of bytes per second.

  • Flow records processed—Number of records in the flow collector packets that were processed by the flow-collector interface.

    • per second—Average number of flow records processed per second.

    • peak per second—Peak number of flow records per second.

detail extensive

Allocation

Data block statistics:

  • Blocks allocated—Total number of data blocks (containing flow records) allocated to the files created on this PIC.

    • per second—Average number of blocks allocated per second.

    • peak per second—Peak number of blocks allocated per second.

  • Blocks freed—Total number of data blocks freed.

    • per second—Average number of blocks freed per second.

    • peak per second—Peak number of blocks freed per second.

  • Blocks unavailable—Total number of data block requests denied, typically because of a memory shortage.

    • per second—Average number of blocks unavailable per second.

    • peak per second—Peak number of blocks unavailable per second.

extensive

Files

File statistics, incremented since the PIC last booted:

  • Files created—Total number of files created on this PIC.

  • Files exported— Number of files successfully created and exported.

  • Files destroyed—(extensive output only) Number of files successfully exported and files dropped by the flow collection interface.

detail extensive

Throughput

Throughput statistics:

  • Uncompressed bytes—Total uncompressed data size for all files created on this PIC.

    • per second—Average number of uncompressed bytes per second.

    • peak per second—Peak number of uncompressed bytes per second.

  • Compressed bytes—Total compressed data size for all files created on this PIC.

    • per second—Average number of compressed bytes per second.

    • peak per second—Peak number of compressed bytes per second.

detail extensive

Packet drops

Number of packets dropped for the following causes:

  • No memory—Packets dropped because of insufficient memory.

  • Not IP—Packets dropped because they are not IP packets.

  • Not IPv4—Packets dropped because they are not IP version 4 packets.

  • Too small—Packets dropped because each packet was smaller than the size reported in its header.

  • Fragments—Packets dropped because of fragmentation. Fragments are not reassembled.

  • ICMP—Packets dropped because they are not ICMP packets.

  • TCP—Packets dropped because they are not TCP packets.

  • Unknown—Packets dropped because of undetermined causes.

  • Not Junos flow—Packets dropped because they are not interpreted by Junos OS. Junos OS interprets only IPv4, UDP cflowd version 5 packets.

extensive

File transfer

File transfer statistics:

  • FTP bytes—Total number of bytes transferred to the FTP server, including those dropped during transfer.

  • FTP files—Total number of FTP transfers attempted by the server.

  • FTP failure—Total number of FTP failures encountered by the server.

detail extensive

Flow collector interface

Physical interface acting as a flow collector.

detail

Export channel

Export channel 0 is unit 0. Export channel 1 is unit 1. Flow receive channel is unit 2. Server status statistics are the following:

  • Current server Primary or Secondary—Current FTP server being used. Value is

  • Primary server state—State of the server:

    • OK—Server is operating without problems.

    • FTP error—Server encountered an FTP protocol error while sending files.

    • Network error—Flow-collector interface has errors when contacting the primary FTP server.

    • Unknown—First file transfer has not been sent to the primary server.

  • Secondary server state—State of the server:

    • OK—Server is operating without errors.

    • FTP error—Server encountered an FTP protocol error while sending files.

    • Network error—Flow-collector interface has errors when contacting the secondary FTP server.

    • Unknown—First file transfer has not been sent to the secondary server.

  • Not configured—Secondary server is not configured.

detail extensive

Sample Output

show services flow-collector interface all detail

user@host> show services flow-collector interface all detail

show services flow-collector interface all extensive

user@host> show services flow-collector interface all extensive

show services flow-collector interface all terse

user@host> show services flow-collector interface all terse

show services flow-collector interface extensive

user@host> show services flow-collector interface cp-5/2/0 extensive