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 a particular aggregation type and optional value:
|
detail | extensive | terse | — | (Optional) Display the specified level of output. |
limit limit-value | — | (Optional) Limit the display output to this number of flows. The default is no limit. |
name service-name | — | (Optional) Display information about the aggregated flows for a particular 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 detailshow 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
Service Accounting interface: mo-2/0/0, Local interface index: 468 Service name: (default sampling) Protocol: 6, Source port: 20, Destination port: 20 Start time: 442349, End time: 6425714 Flow count: 194, Packet count: 4294964388, Byte count: 4294781184 Protocol: 0, Source port: 0, Destination port: 0 Start time: 442349, End time: 6425749 Flow count: 204, Packet count: 4294964324, Byte count: 4294777088 Protocol: 17, Source port: 123, Destination port: 123 Start time: 442364, End time: 6425784 Flow count: 186, Packet count: 4294964152, Byte count: 4294766080
show services accounting aggregation source-destination-prefix
user@host> show service accounting aggregation
source-destination-prefix
Service Accounting interface: rsp0, Local interface index: 171 Service name: (default sampling) Interface state: Accounting Source Destination Input Output Flow Packet Byte prefix prefix interface interface count count count 11.1.0.0/20 40.0.0.0/24 ge-5/0/1.0 ge-5/0/0.0 256 491761 31472704 11.1.0.0/20 40.0.1.36/32 ge-5/0/1.0 ge-5/0/0.0 1 1926 123264 11.1.0.0/20 40.0.1.59/32 ge-5/0/1.0 ge-5/0/0.0 1 1926 123264 11.1.0.0/20 40.0.3.63/32 ge-5/0/1.0 ge-5/0/0.0 1 1925 123200 11.1.0.0/20 40.0.3.32/32 ge-5/0/1.0 ge-5/0/0.0 1 1925
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
Service Accounting interface: mo-2/0/0, Local interface index: 468 Service name: t2 Source Destination Input SNMP Output SNMP Flow Packet Byte Prefix Prefix Index Index Count Count Count 11.1.1.2/20 30.0.167.1/0 538 432 1 60 46483 11.1.1.2/20 30.0.168.1/0 538 432 1 60 5191 11.1.1.2/20 30.0.154.1/0 538 432 2 60 45504 11.1.1.2/20 30.0.76.1/0 538 432 1 60 42177 11.1.1.2/20 30.0.149.1/0 538 432 1 60 49184 11.1.1.2/20 30.0.113.1/0 538 432 2 60 48757
show services accounting aggregation source-destination- prefix extensive limit
user@host> show service accounting aggregation
source-destination-prefix name t2 extensive limit 3
Service Accounting interface: mo-2/0/0, Local interface index: 542 Service name: t2 Source address: 11.1.1.2, Source prefix length: 20 Destination address: 44.200.176.1, Destination prefix length: 0 Input SNMP interface index: 24, Output SNMP interface index: 26 Source-AS: 69, Destination-AS: 69 Start time: Fri Feb 21 14:16:57 2003, End time: Fri Feb 21 14:22:50 2003 Flow count: 0, Packet count: 6, Byte count: 5340 Source address: 11.1.1.2, Source prefix length: 20 Destination address: 45.243.160.1, Destination prefix length: 0 Input SNMP interface index: 24, Output SNMP interface index: 26 Source-AS: 69, Destination-AS: 69 Start time: Fri Feb 21 14:16:57 2003, End time: Fri Feb 21 14:22:50 2003 Flow count: 0, Packet count: 6, Byte count: 5490 Source address: 11.1.1.2, Source prefix length: 20 Destination address: 45.162.160.1, Destination prefix length: 0 Input SNMP interface index: 24, Output SNMP interface index: 26 Source-AS: 69, Destination-AS: 69 Start time: Fri Feb 21 14:16:57 2003, End time: Fri Feb 21 14:22:50 2003 Flow count: 0, Packet count: 6, Byte count: 4079
show services accounting aggregation source-destination-prefix name terse
user@host> show service accounting aggregation
source-destination-prefix name T3 terse
Service Accounting interface: rsp0, Local interface index: 171 Service name: T3 Interface state: Accounting Source Destination Input Output Flow Packet Byte prefix prefix interface interface count count count 11.1.0.0/20 50.0.0.0/24 ge-5/0/1.0 ge-5/0/0.0 256 639822 40948608 11.1.0.0/20 50.0.2.67/32 ge-5/0/1.0 ge-5/0/0.0 1 2485 159040 11.1.0.0/20 50.0.2.92/32 ge-5/0/1.0 ge-5/0/0.0 1 2485