show services accounting aggregation
Syntax
show services accounting aggregation aggregation-type <aggregation-value> <detail | extensive | terse> <limit limit-value> < name service-name> <order (bytes | packets)>
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:
|
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
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.
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 [ |
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
- 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
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 192.0.2.0/20 198.51.100.0/24 ge-5/0/1.0 ge-5/0/0.0 256 491761 31472704 192.0.2.0/20 203.0.113.36/32 ge-5/0/1.0 ge-5/0/0.0 1 1926 123264 192.0.2.0/20 203.0.113.59/32 ge-5/0/1.0 ge-5/0/0.0 1 1926 123264 192.0.2.0/20 192.168.0.63/32 ge-5/0/1.0 ge-5/0/0.0 1 1925 123200 192.0.2.0/20 192.168.0.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 10.1.1.2/20 192.168.167.1/0 538 432 1 60 46483 10.1.1.2/20 192.168.168.1/0 538 432 1 60 5191 10.1.1.2/20 192.168.154.1/0 538 432 2 60 45504 10.1.1.2/20 192.168.76.1/0 538 432 1 60 42177 10.1.1.2/20 192.168.149.1/0 538 432 1 60 49184 10.1.1.2/20 192.168.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: 10.1.1.2, Source prefix length: 20 Destination address: 192.168.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: 10.1.1.2, Source prefix length: 20 Destination address: 192.168.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: 10.1.1.2, Source prefix length: 20 Destination address: 192.168.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 10.1.0.0/20 192.168.3.0/24 ge-5/0/1.0 ge-5/0/0.0 256 639822 40948608 10.1.0.0/20 192.168.2.67/32 ge-5/0/1.0 ge-5/0/0.0 1 2485 159040 10.1.0.0/20 192.168.2.92/32 ge-5/0/1.0 ge-5/0/0.0 1 2485
Release Information
Command introduced before Junos OS Release 7.4.