Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show services flow-collector interface

    Syntax

    show services flow-collector interface (all | cp-fpc/pic/port)<detail | extensive | terse>

    Release Information

    Command introduced before Junos OS Release 7.4.

    Description

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

    Options

    all | cp-fpc/pic/port
    —

    Display 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 the Junos OS. The 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
    Flow collector interface: cp-6/1/0
    Interface state: Collecting flows
    Memory:
        Used: 51452732, Free: 440329088
    Input:
        Packets: 4384, per second: 0, peak per second: 156
        Bytes: 6659616, per second: 0, peak per second: 249695
        Flow records processed: 131070, per second: 0, peak per second: 4914
    Files:
        Files created: 1, per second: 0, peak per second: 0
        Files exported: 1, per second: 0, peak per second: 0
    Throughput:
        Uncompressed bytes: 13742307, per second: 0, peak per second: 593564
        Compressed bytes: 3786177, per second: 0, peak per second: 162826
    File Transfer:
        FTP bytes: 3786247, per second: 0, peak per second: 378620
        FTP files: 1, per second: 0, peak per second: 0
        FTP failure: 0
    Export channel: 0
        Current server: Primary
        Primary server state: OK, Secondary server state: OK
    Export channel: 1
        Current server: Primary
        Primary server state: Unknown, Secondary server state: OK
    
    Flow collector interface: cp-6/3/0
    Interface state: Collecting flows
    Memory:
        Used: 51452732, Free: 440329088
    Input:
        Packets: 0, per second: 0, peak per second: 0
        Bytes: 0, per second: 0, peak per second: 0
        Flow records processed: 0, per second: 0, peak per second: 0
    Files:
        Files created: 0, per second: 0, peak per second: 0
        Files exported: 0, per second: 0, peak per second: 0
    Throughput:
        Uncompressed bytes: 0, per second: 0, peak per second: 0
        Compressed bytes: 0, per second: 0, peak per second: 0
    File Transfer:
        FTP bytes: 70, per second: 0, peak per second: 6
        FTP files: 0, per second: 0, peak per second: 0
        FTP failure: 0
    Export channel: 0
        Current server: Primary
        Primary server state: Unknown, Secondary server state: OK
    Export channel: 1
        Current server: Primary
        Primary server state: Unknown, Secondary server state: OK
    

    show services flow-collector interface all extensive

    user@host> show services flow-collector interface all extensive
    Flow collector interface: cp-6/1/0
    Interface state: Collecting flows
    Memory:
        Used: 51452732, Free: 440329088
    Input:
        Packets: 4384, per second: 0, peak per second: 156
        Bytes: 6659616, per second: 0, peak per second: 249695
        Flow records processed: 131070, per second: 0, peak per second: 4914
    Allocation:
        Blocks allocated: 108, per second: 0, peak per second: 0
        Blocks freed: 108, per second: 0, peak per second: 10
        Blocks unavailable: 0, per second: 0, peak per second: 0
    Files:
        Files created: 1, per second: 0, peak per second: 0
        Files exported: 1, per second: 0, peak per second: 0
        Files destroyed: 1, per second: 0, peak per second: 0
    Throughput:
        Uncompressed bytes: 13742307, per second: 0, peak per second: 593564
        Compressed bytes: 3786177, per second: 0, peak per second: 162826
    Packet drops:
        No memory: 0, Not IP: 0
        Not IPv4: 0, Too small: 0
        Fragments: 0, ICMP: 0
        TCP: 0, Unknown: 0
        Not JUNOS flow: 0
    File Transfer:
        FTP bytes: 3786247, per second: 0, peak per second: 378620
        FTP files: 1, per second: 0, peak per second: 0
        FTP failure: 0
    Export channel: 0
        Current server: Primary
        Primary server state: OK, Secondary server state: OK
    Export channel: 1
        Current server: Primary
        Primary server state: Unknown, Secondary server state: OK
    
    Flow collector interface: cp-6/3/0
    Interface state: Collecting flows
    Memory:
        Used: 51452732, Free: 440329088
    Input:
        Packets: 0, per second: 0, peak per second: 0
        Bytes: 0, per second: 0, peak per second: 0
        Flow records processed: 0, per second: 0, peak per second: 0
    Allocation:
        Blocks allocated: 0, per second: 0, peak per second: 0
        Blocks freed: 0, per second: 0, peak per second: 0
        Blocks unavailable: 0, per second: 0, peak per second: 0
    Files:
        Files created: 0, per second: 0, peak per second: 0
        Files exported: 0, per second: 0, peak per second: 0
        Files destroyed: 0, per second: 0, peak per second: 0
    Throughput:
        Uncompressed bytes: 0, per second: 0, peak per second: 0
        Compressed bytes: 0, per second: 0, peak per second: 0
    Packet drops:
        No memory: 0, Not IP: 0
        Not IPv4: 0, Too small: 0
        Fragments: 0, ICMP: 0
        TCP: 0, Unknown: 0
        Not JUNOS flow: 0
    File Transfer:
        FTP bytes: 70, per second: 0, peak per second: 6
        FTP files: 0, per second: 0, peak per second: 0
        FTP failure: 0  
    Export channel: 0
        Current server: Primary
        Primary server state: Unknown, Secondary server state: OK
    Export channel: 1
        Current server: Primary
        Primary server state: Unknown, Secondary server state: OK

    show services flow-collector interface all terse

    user@host> show services flow-collector interface all terse
    Flow collector interface: cp-6/1/0
    Interface state: Collecting flows
      Packets     Bytes     Flows Uncompressed  Compressed     FTP bytes FTP files
                                         Bytes       Bytes
         4384   6659616    131070     13742307     3786177       3786247         1
    
    Flow collector interface: cp-6/3/0
    Interface state: Collecting flows
      Packets     Bytes     Flows Uncompressed  Compressed     FTP bytes FTP files
                                         Bytes       Bytes
            0         0         0            0           0            70         0

    show services flow-collector interface extensive

    user@host> show services flow-collector interface cp-5/2/0 extensive
    Flow collector interface: cp-5/2/0 
    Interface state: Collecting flows
    Memory:
         Used: 458311860, Free: 40810008
    Input:
         Packets: 922629, per second: 2069, peak per second: 3266
         Bytes: 1376559252, per second: 3096940, peak per second: 4880051
         Flow records processed: 25764957, per second: 42564, peak per second: 98124
    Allocation:
         Blocks allocated: 20862, per second: 31, peak per second: 72
         Blocks freed: 17161, per second: 40, peak per second: 202
         Blocks unavailable: 58786, per second: 652, peak per second: 1120
    Files:
         Files created: 52, per second: 0, peak per second: 0
         Files exported: 42, per second: 0, peak per second: 0
         Files destroyed: 42, per second: 0, peak per second: 0
    Throughput:
         Uncompressed bytes: 2592070401, per second: 7297307,
         peak per second: 8630023
         Compressed bytes: 659600068, per second: 1858458, peak per second: 2198471
    Packet drops:
         No memory: 58786, Not IP: 0
         Not IPv4: 0, Too small: 0
         Fragments: 0, ICMP: 0
         TCP: 0, Unknown: 0
         Not JUNOS flow: 0
    File Transfer:
         FTP bytes: 585981447, per second: 1313320, peak per second: 4857798
         FTP files: 48, per second: 0, peak per second: 0
         FTP failure: 8
    Export channel: 0
         Current server: Primary
         Primary server state: FTP error, Secondary server state: Not configured Export channel: 1
         Current server: Primary
         Primary server state: OK, Secondary server state: Not configured
    
    

    Published: 2013-03-14