Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show services accounting status

Syntax

show services accounting status <inline-jflow | name (* | all | service-name)>

Release Information

Command introduced before Junos OS Release 7.4.

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.

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

List of Sample Output

show services accounting status name (Monitoring PIC interface)
show services accounting status name (Service PIC interface)
show services accounting status inline-jflow fpc-slot slot-number (when both IPv4 and IPv6 are configured)
show services accounting status inline-jflow (MX80 Router when both IPv4 and IPv6 are configured)

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. (Available only when the inline-jflow fpc-slot slot-number option is used.)

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)

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)

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
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 slot-number (when both IPv4 and IPv6 are configured)

user@host> show services accounting status inline-jflow fpc-slot 5
FPC Slot: 5
    IPV4 export format: Version-IPFIX, IPV6 export format: Version-IPFIX
    VPLS export format: Not set
    IPv4 Route Record Count: 5, IPv6 Route Record Count: 7
    Route Record Count: 12, AS Record Count: 1
    Route-Records Set: Yes, Config Set: Yes

show services accounting status inline-jflow (MX80 Router when both IPv4 and IPv6 are configured)

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

Published: 2013-03-14

Published: 2013-03-14