Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

show services service-sets statistics jflow-log

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services service-sets statistics jflow-log
<interface interface-name> 
<service-set service-set-name> 
<brief | detail> 

Description

Display statistical information on the logs or records generated in flow monitoring format with optional filtering by interface and service set name..

Options

none

Display the statistical details on flow monitoring logs for NAT events for all services interfaces and all service sets.

brief

(Default) (Optional) Display abbreviated flow monitoring log statistics.

detail

(Optional) Display detailed flow monitoring log statistics.

interface interface-name

(Optional) Display the flow monitoring log statistics for the specified adaptive service interface. On M Series and T Series routers, interface-name can be ms-fpc/pic/port. It is supported only on MS-MICs and MS-MPCs.

service-set service-set name

(Optional) Display the flow monitoring log statistics for the specified named service-set.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services service-sets statistics jflow-log command. Output fields are listed in the approximate order in which they appear.

Table 1: show services service-sets statistics jflow-log Output Fields

Field Name

Field Description

Level of Output

Interface

Name of a services interface.

all

Rate limit

Maximum number of NAT error events for which records in flow monitoring format must be recorded.

all

Template records

Details of the template records in flow monitoring log messages.

all

Sent

Number of template records sent to a collector

all

Messages dropped

Number of template records dropped while transmission to a collector.

all

Data records

Details of the data records in flow monitoring log messages.

all

Sent

Number of data records sent to a collector.

all

Dropped

Number of data records dropped while transmission to a collector

all

Service set

Name of a service set.

all

Unresolvable collectors

Number of collectors that cannot be traced and be reached to export records for NAT events.

all

class name

Logs created for events for each of the following classes:

  • NAT44 Session logs—Details of logs created for NAT44 sessions

  • NAT64 Session logs—Details of logs created for NAT64 sessions

  • NAT44 BIB logs—Details of logs created for NAT44 binding information bases, which is a table of bindings kept by a NAT44. Each NAT44 has a BIB for each translated protocol.

  • NAT64 BIB logs—Details of logs created for NAT44 binding information bases, which is a table of bindings kept by a NAT64. Each NAT64 has a BIB for each translated protocol.

  • NAT Address Exhausted logs—Details of logs created for exhaustion of NAT addresses

  • NAT Port Exhausted logs—Details of logs created for exhaustion of NAT pool

  • NAT44 Quota Exceeded logs—Details of logs created when allocated quota is exceeded for NAT44 events

  • NAT64 Quota Exceeded logs—Details of logs created when allocated quota is exceeded for NAT64 events

  • NAT44 Address Bind logs—Details of logs generated for address bindings for NAT44 events

  • NAT64 Address Bind logs—Details of logs generated for address bindings for NAT64 events

  • NAT44 PBA logs—Details of logs generated for NAT44 port block allocation events

  • NAT64 PBA logs—Details of logs generated for NAT64 port block allocation events

The following information is displayed for flow monitoring log messages for each class of event that is logged:

  • Template records—Details of the template records in flow monitoring log messages

  • Sent—Number of template records sent to a collector

  • Dropped—Number of template records dropped while transmission to a collector

  • Data records—Details of the data records in flow monitoring log messages

  • Sent—Number of data records sent to a collector

  • Dropped—Number of data records dropped while transmission to a collector. Counts are provided for the drop reasons

  • socket send error—Number of times a socket was not opened for data transmission

  • no memory—Number of messages dropped because of insufficient memory

  • invalid data—Number of messages dropped because of invalid data in the records

  • above rate limit—The maximum number of flow monitoring log messages per second was exceeded.

detail

Sample Output

show services service-sets statistics jflow-log brief

content_copy zoom_out_map
user@host> show services service-sets statistics jflow-log brief
Interface: ms-5/0/0
  Rate limit: 1000
  Template records:
    Sent: 36
    Dropped: 0
  Data records:
    Sent: 2
    Dropped: 0

    Service-set: sset_44
      Unresolvable collectors: 0
      Template records:
        Sent: 36
        Dropped: 0
      Data records:
        Sent: 2
        Dropped: 0

show services service-sets statistics jflow-log detail

content_copy zoom_out_map
user@host> show services service-sets statistics jflow-log detail
Interface: ms-5/0/0
  Rate limit: 1000
  Template records:
    Sent: 48
    Dropped: 0
  Data records:
    Sent: 4
    Dropped: 0

    Service-set: sset_44
      Unresolvable collectors: 0
      Template records:
        Sent: 48
        Dropped: 0
      Data records:
        Sent: 4
        Dropped: 0
      NAT44 Session logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 4
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 Session logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT44 BIB logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 BIB logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT Address Exhausted logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT Port Exhausted logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT44 Quota Exceeded logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 Quota Exceeded logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT44 Address Bind logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 Address Bind logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT44 PBA logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 PBA logs:
        Template records:
          Sent: 4
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)

show services service-sets statistics jflow-log service-set

content_copy zoom_out_map
user@host> show services service-sets statistics jflow-log service-set sset_44
Interface: ms-5/0/0

    Service-set: sset_44
      Unresolvable collectors: 0
      Template records:
        Sent: 72
        Dropped: 0
      Data records:
        Sent: 4
        Dropped: 0

show services service-sets statistics jflow-log service-set detail

content_copy zoom_out_map
user@host> show services service-sets statistics jflow-log service-set sset_44 detail 
Interface: ms-5/0/0

    Service-set: sset_44
      Unresolvable collectors: 0
      Template records:
        Sent: 84
        Dropped: 0
      Data records:
        Sent: 4
        Dropped: 0
      NAT44 Session logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 4
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 Session logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT44 BIB logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 BIB logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT Address Exhausted logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT Port Exhausted logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT44 Quota Exceeded logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 Quota Exceeded logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT44 Address Bind logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 Address Bind logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT44 PBA logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)
      NAT64 PBA logs:
        Template records:
          Sent: 7
          Dropped: 0 (socket send error: 0, no memory: 0)
        Data records:
          Sent: 0
          Dropped: 0 (invalid data: 0, no memory: 0, above rate limit: 0)

Release Information

Command introduced in Junos OS Release 15.1.

footer-navigation