Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show services accounting status

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services accounting  status 
<inline-jflow fpc-slot slot-number | name (* | all | service-name)>

Description

Display available Physical Interface Cards (PICs) for accounting services.

Options

none

Display available PICs for all accounting services.

inline-jflow fpc-slot slot-number

(Optional) Display inline flow accounting status for the specified FPC. For a two-member MX Series Virtual Chassis or EX9200 Virtual Chassis, the primary router or switch uses FPC slot numbers 0 through 11 with no offset; the backup router or switch uses FPC slot numbers 12 through 23, with an offset of 12.

name (* | all | service-name)

(Optional) Display available PICs. Use a wildcard character, specify all services, or provide a specific services name.

Required Privilege Level

view

Output Fields

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

Table 1: show services accounting status Output Fields

Field

Field Description

Service Accounting interface

Name of the service accounting 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.

FPC Slot

Slot number of the FPC for which the flow information is displayed.

Local interface index

Index counter of the local interface.

Interface state

Accounting state of the passive monitoring interface.

  • Accounting—PIC is actively accounting.

  • Disabled—PIC has been disabled from the CLI.

  • Not accounting—PIC is up but not accounting. This can happen while the PIC is coming online, or when the PIC is up but has no logical unit configured under the physical interface.

  • Unknown

Group index

Integer that represents the monitoring group of which the PIC is a member. Group index is a mapping from the group name to an index. It is not related to the number of monitoring groups.

Export interval (in seconds)

Configured export interval for cflowd records, in seconds.

Export format

Configured export format.

Protocol

Protocol the PIC is configured to monitor.

Engine type

Configured engine type that is inserted in output cflowd packets.

Engine ID

Configured engine ID that is inserted in output cflowd packets.

Route Record Count

Number of routes recorded.

AS Record Count

Number of autonomous systems recorded.

Route Records Set

Status of route recording; whether routes are recorded or not.

Configuration Set

Status of monitoring configuration; whether monitoring configuration is set or not.

Sample Output

show services accounting status name (Monitoring PIC Interface)

content_copy zoom_out_map
user@host> show services accounting status name count1  
Service Accounting interface: mo-2/0/0, Local interface index: 468
Service name: count1
Interface state: Accounting
  Group index: 0
  Export interval (in seconds): 60, Export format: cflowd v8
  Protocol: IPv4, Engine type: 55, Engine ID: 5

Sample Output

show services accounting status name (Service PIC Interface)

content_copy zoom_out_map
user@host> show services accounting status name  
Service Accounting interface: sp-0/1/0
Interface state: Accounting
  Export format: 9, Route record count: 0
  IFL to SNMP index count: 7, AS count: 0
  Configuration set: Yes, Route record set: No, IFL SNMP map set: Yes

content_copy zoom_out_map
Service Accounting interface: sp-1/0/0
Interface state: Accounting
  Export format: 9, Route record count: 33
  IFL to SNMP index count: 7, AS count: 1
  Configuration set: Yes, Route record set: Yes, IFL SNMP map set: Yes

show services accounting status inline-jflow fpc-slot (When IPv4, IPv6 and Bridge Family Are Configured)

content_copy zoom_out_map
user@host> show services accounting status inline-jflow fpc-slot 0 
FPC Slot: 0
     IPV4 export format: Version-IPFIX, IPV6 export format: Not set
     BRIDGE export format: Version-IPFIX, MPLS export format: Version-IPFIX
     IPv4 Route Record Count: 31, IPv6 Route Record Count: 0, MPLS Route Record Count: 13
     Route Record Count: 44, AS Record Count: 1
     Route-Records Set: Yes, Config Set: Yes
     Service Status: PFE-0: Steady PFE-1: Steady
     Using Extended Flow Memory?: PFE-0: No PFE-1: No
     Flex Flow Sizing ENABLED?: PFE-0: No PFE-1: No
     IPv4 MAX FLOW Count: 1024, IPv6 MAX FLOW Count: 512
     BRIDGE MAX FLOW Count: 1024, MPLS MAX FLOW Count: 1024
     MAX Flow Table size: 15

show services accounting status inline-jflow (MX80 Router When Both IPv4 and IPv6 )

content_copy zoom_out_map
user@host> show services accounting status inline-jflow

Status information
		  TFEB Slot: 0
    Export format: IP-FIX
    IPv4 Route Record Count: 6, IPv6 Route Record Count: 8
    Route Record Count: 14, AS Record Count: 1
    Route-Records Set: Yes, Config Set: Yes

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

content_copy zoom_out_map
user@host> show services accounting status inline-jflow fpc-slot 0
Status information
FPC Slot: 0
IPV4 export format: Version-IPFIX, IPV6 export format: Version-IPFIX
MPLS export format: Not set
IPv4 Route Record Count: 23, IPv6 Route Record Count: 3, MPLS Route Record Count: 0
Route Record Count: 26, AS Record Count: 1
Route-Records Set: Yes, Config Set: Yes

show services accounting status inline-jflow (SRX Series Firewalls When Both IPv4 and IPv6 Are Configured)

content_copy zoom_out_map
user@host> show services accounting status inline-jflow 
Status information
    FPC Slot: 0
    IPV4 export format: Version9, IPV6 export format: Version9
    BRIDGE export format: Not set, MPLS export format: Not set
    IPv4 Route Record Count: 24, IPv6 Route Record Count: 0, MPLS Route Record Count: 0
    Route Record Count: 24, AS Record Count: 1
    Route-Records Set: Yes, Config Set: Yes
    Service Status: PFE-0: Steady 
    Using Extended Flow Memory?: PFE-0: No 
    Flex Flow Sizing ENABLED?: PFE-0: No 
    IPv4 MAX FLOW Count: 0, IPv6 MAX FLOW Count: 0
    BRIDGE MAX FLOW Count: 0, MPLS MAX FLOW Count: 0

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation