Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show services accounting aggregation

 

Syntax

Release Information

Command introduced before Junos OS Release 7.4.

Description

Display information about the aggregated active flows being processed by the accounting service.

Options

aggregation-type <aggregation-value>Display information for the specified aggregation type and optional value:
  • as <source-as-value | destination-as-value | input-snmp-interface-index-value | output-snmp-interface-index-value>—Aggregate by autonomous system (AS).

  • destination-prefix <destination-prefix-value | destination-as-value | output-snmp-interface-index-value>—Aggregate by destination prefix.

  • protocol-port <protocol-value | source-port-value | destination-port-value>—Aggregate by protocol and port.

  • source-destination-prefix <source-prefix-value | destination-prefix-value | destination-as-value | source-as-value | input-snmp-interface-index-value | output-snmp-interface-index-value>—Aggregate by source and destination prefix.

  • source-prefix <source-prefix-value | source-as-value | input-snmp-interface-index-value>—Aggregate by source prefix.

detail | extensive | terse(Optional) Display the specified level of output.
limit limit-value(Optional) Limit the display output to the specified number of flows. The default is no limit.
name service-name(Optional) Display information about the aggregated flows for a specified service name.
order (bytes | packets)(Optional) Display the flow with the ordering of the highest number, either by byte count or by packet count.

Additional Information

For information about aggregation configuration options, see the Junos OS Services Interfaces Library for Routing Devices.

Required Privilege Level

view

List of Sample Output

show services accounting aggregation protocol-port detail

show services accounting aggregation source-destination-prefix

show services accounting aggregation source-destination- prefix order packet detail

show services accounting aggregation source-destination- prefix extensive limit

show services accounting aggregation source-destination-prefix name terse

Output Fields

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

Table 1: show services accounting aggregation Output Fields

Field Name

Field Description

Service Accounting interface

Name of the service accounting interface.

Local interface index

Index corresponding to 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.

Protocol

Protocol identifier and number.

Source Port

Source port identifier and number.

Destination Port

Destination port identifier and number.

Source-AS

Source autonomous system (AS) number.

Destination-AS

Destination AS number.

Source Prefix

Source prefix.

Destination Prefix

Destination prefix.

Source address

Source address.

Source prefix length

Source prefix length.

Destination address

Destination address.

Destination prefix length

Destination prefix length.

Input SNMP interface index

SNMP index of the interface the packet came in on.

Output SNMP interface index

SNMP index of the interface the packet went out on.

Start time

Actual time when the packet in this aggregation was first seen.

End time

Actual time when the packet in this aggregation was last seen.

Flow count

Number of flows in the aggregation.

Packet count

Number of packets in the aggregation.

Byte count

Number of bytes in the aggregation.

Sample Output

show services accounting aggregation protocol-port detail

user@host> show service accounting aggregation protocol-port detail

show services accounting aggregation source-destination-prefix

user@host> show service accounting aggregation source-destination-prefix

show services accounting aggregation source-destination- prefix order packet detail

user@host> show service accounting aggregation source-destination-prefix order packet detail name t2 input-snmp-interface-index 538

show services accounting aggregation source-destination- prefix extensive limit

user@host> show service accounting aggregation source-destination-prefix name t2 extensive limit 3

show services accounting aggregation source-destination-prefix name terse

user@host> show service accounting aggregation source-destination-prefix name T3 terse