show services accounting flow-detail
Syntax
show services accounting flow-detail <detail | extensive | terse> <filters> <limit limit-value> <name (* | all | service-name)> <order (bytes | packets)>
Description
Display information about the flows being processed by the accounting service.
Options
none | Display information about all flows. |
detail | extensive | terse | (Optional) Display the specified level of output. |
filters | (Optional) Filter the display output of the currently active flow records. The following filters query actively changing data structures and result in different results for multiple invocations:
|
limit limit-value | (Optional) Limit the display output to the specified number of flows. The default is no limit. |
name (* | all | service-name) | (Optional) Display information about the flows being processed. Use a wildcard character, specify all services, or provide a specific services 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
When no PIC is active, or when no route record has been downloaded from the PIC, this command reports no flows, even though packets are being sampled. This command displays information about two concurrent sessions only. If a third session is attempted, the command pauses with no output until one of the previous sessions is completed.
Required Privilege Level
view
Output Fields
Table 1 lists the
output fields for the show services accounting flow-detail
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
Output Level |
---|---|---|
Service Accounting interface |
Name of the service accounting interface. |
All levels |
Service name |
Name of a service that was configured
at the |
All levels |
Local interface index |
Index counter of the local interface. |
All levels |
TOS |
Type-of-service value from the IP header. |
extensive |
Input SNMP interface index |
SNMP index of the interface on which the packet came in. |
extensive |
Output SNMP interface index |
SNMP index of the interface on which the packet went out. |
extensive |
Source-AS |
Source AS number. |
extensive |
Destination-AS |
Destination AS number. |
extensive |
Protocol |
Name of the protocol used for the packet flow from the corresponding source address. |
All levels |
Input interface |
Interface on which the packets were received. |
All levels |
Output interface |
Interface on which the packets were transmitted. |
All levels |
TCP flags |
Number of TCP header flags detected in the flow. |
extensive |
Source address |
Address where the flow originated. |
All levels |
Source port |
Name of the source port. |
All levels |
Source prefix length |
Source prefix length. |
extensive |
Destination address |
Address where the flow is sent. |
All levels |
Destination prefix length |
Destination prefix length. |
extensive |
Destination port |
Name of the destination port. |
All levels |
Start time |
Actual time when the packet in this aggregation was first seen. |
detail extensive |
End time |
Actual time when the packet in this aggregation was last seen. |
detail extensive |
Packet count |
Number of packets in the aggregation. |
All levels |
Byte count |
Number of bytes in the aggregation. |
All levels |
Time since last active timeout |
Amount of time elapsed since the last active timeout, in the format hh:mm:ss. |
None specified |
Packet count for last active timeout |
Number of packets in the aggregation since the last active timeout. |
None specified |
Byte count for last active timeout |
Number of bytes in the aggregation since the last active timeout. |
None specified |
Sample Output
- show services accounting flow-detail
- show services accounting flow-detail limit
- show services accounting flow-detail name extensive
- show services accounting flow-detail limit order bytes
- show services accounting flow-detail name detail source-port
show services accounting flow-detail
In this sample, the output is split into three sections, with ellipses (...) indicating where the sections are continued.
user@host> show services accounting flow-detail Service Accounting interface: rsp0, Local interface index: 171 Service name: (default sampling) Interface state: Accounting Protocol Input Source Source Output interface address port interface... tcp(6) ge-5/0/1.0 192.0.2.2 0 ge-5/0/0.0 tcp(6) ge-5/0/1.0 192.0.2.2 0 ge-5/0/0.0 Destination Destination Packet Byte Time since last address port count count active timeout... 198.51.100.149 0 2660 170240 00:00:58 198.51.100.138 0 2660 170240 00:00:58 Packet count for Byte count for last active timeout last active timeout 2805 179520 2805 179520
show services accounting flow-detail limit
In this sample, the output is split into three sections, with ellipses (...) indicating where the sections are continued.
user@host> show services accounting flow-detail limit 1 Service Accounting interface: rsp0, Local interface index: 171 Service name: (default sampling) Interface state: Accounting Protocol Input Source Source Output interface address port interface... tcp(6) ge-5/0/1.0 192.0.2.2 0 ge-5/0/0.0 Destination Destination Packet Byte Time since last address port count count active timeout... 198.51.100.149 0 2158 138112 00:00:47 Packet count for Byte count for last active timeout last active timeout 2827 180928
show services accounting flow-detail name extensive
user@host> show services accounting flow-detail name cf-2 extensive Service Accounting interface: mo-0/2/0, Local interface index: 145 Service name: cf-2 TOS: 0, Protocol: udp(17), TCP flags: 0 Source address: 10.10.10.1, Source prefix length: 0, Destination address: 203.0.113.20, Destination prefix length: 0, Source port: 1173, Destination port: 69 Input SNMP interface index: 65, Output SNMP interface index: 0, Source-AS: 0, Destination-AS: 0 Start time: 62425, End time: 635265, Packet count: 165845, Byte count: 9453165
show services accounting flow-detail limit order bytes
The output of the following command is displayed over 141 columns, not the standard 80 columns. In this sample, the output is split into three sections, with ellipses (...) indicating where the sections are continued.
user@host> show services accounting flow-detail limit 5 order bytes Service Accounting interface: mo-2/0/0, Local interface index: 356 Service name: (default sampling) Input Source Source Output Protocol interface address port interface... icmp(1) ge-2/3/0.0 192.0.2.2 0 .local. icmp(1) ge-2/3/0.0 192.0.2.2 0 .local. icmp(1) ge-2/3/0.0 192.0.2.2 0 .local. icmp(1) ge-2/3/0.0 192.0.2.2 0 .local. icmp(1) ge-2/3/0.0 192.0.2.2 0 .local. Destination Destination Packet Byte Time since last address port count count active timeout... 192.168.128.2 0 16 12148 Not applicable 192.168.144.2 0 16 15229 Not applicable 192.168.192.2 0 16 13296 Not applicable 192.168.16.2 0 16 13924 Not applicable 192.168.48.2 0 16 13428 Not applicable Packet count for Byte count for last active timeout last active timeout Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable
show services accounting flow-detail name detail source-port
user@host> show services accounting flow-detail name cf-2 detail source-port 1173 Service Accounting interface: mo-0/2/0, Local interface index: 145 Service name: cf-2 Protocol: udp(17), Source address: 10.10.10.1, Source port: 1173, Destination address: 203.0.113.20, Destination port: 69 Start time: 62425, End time: 811115, Packet count: 142438, Byte count: 8118966
Release Information
Command introduced before Junos OS Release 7.4.