User Mode Commands : Displaying System Data : show flows
  
show flows
Displays a list of flows.
Syntax
show flows [all [<sub-type>]| packet-mode <sub-type> | tcp-term <sub-type>] [filter {<filter-string> | application <app-name>}] [sort-by <state>] [brief | debug| full]
Parameters
all
Displays information about all flow types.
 <sub-type>
 destip <ip-address>
Displays a list of flows filtered by destination IP address.
 destport <port>
Displays a list of flows filtered by destination port.
path-selection [full]
Displays a list of connections using path selection. Specify the full option to show a detailed list. Path selection statistics are only reported if path selection is enabled.
path-selection site-name <site-name> [full]
Displays a list of flows using path selection to the specified site. The full option displays detailed information about the flows using path selection.
Path selection statistics are only reported if path selection is enabled.
path-selection uplink-name <uplink-name> [site-name <site-name>] [full]
Displays a list of flows using path selection over the specified uplink or, optionally, to the specifed site over the uplink.
 srcip <ip-address>
Displays a list of flows filtered by source IP address.
 srcport <port>
Displays a list of flows filtered by source port.
packet-mode
Displays information about packet-mode optimized flows.
 <sub-type>
 optimized
Displays the total active optimized flows.
 
 passthrough
Displays the total flows passed through unoptimized.
 
 srcip <ip-address>
Displays a list of flows filtered by source IP address.
tcp-term
Displays a list of terminated TCP optimized flows.
 <sub-type>
 optimized
Displays the total active optimized flows.
 
 passthrough
Displays the total flows passed through unoptimized.
 
 opening
Displays the total half-opened active connections. A half-opened connection is a TCP connection in which the connection has not been fully established. Half-opened connections count toward the connection count limit on the appliance because at any time they might become fully opened connections. If you are experiencing a large number of half-opened connections, consider deploying an appropriately sized appliance.
 
 closing
Displays the total half-closed active connections. A half-closed connection is a TCP connection that closed on one side. The other side of the connection can still send data. These connections count toward the appliance connection count limit. If you experience a large number of half-closed connections, consider deploying an appropriately sized appliance.
 
 srcip <ip-address>
Displays a list of flows filtered by source IP address.
 
path-selection [full]
Displays a list of connections using path selection. Specify the full option to show a detailed list. Path selection statistics are only reported if path selection is enabled.
 
path-selection site-name <site-name> [full]
Displays a list of flows using path selection to the specified site. The full option displays detailed information about the flows using path selection.
Path selection statistics are only reported if path selection is enabled.
 
path-selection uplink-name <uplink-name> [site-name <site-name>] [full]
Displays a list of flows using path selection over the specified uplink or, optionally, to the specified site over the uplink.
filter <string> | filter application <app-name>
Filters the list according to the string or application. For example, to filter by IP address (such as srcip or destip), the filter string is the IP address.
sort-by <state>
Sort results by the following states:
•  state - Sort connections by state.
•  srcip - Sort connections by source IP address.
•  srcport - Sort connections by source port.
•  destip - Sort connections by destination IP address.
•  destport - Sort connections by destination port.
•  application - Sort connections by application.
•  peerip - Sort connections by peer IP address.
•  peerport - Sort connections by peer port.
•  protocol - Sort connections by protocol.
•  reduction - Sort connections by percent of reduction in bandwidth.
•  bytes_in - Sort connections by total number of bytes in.
•  bytes_out - Sort connections by total number of bytes out.
•  starttime - Sort connections by start time.
brief
Specifies a brief flow list.
debug
Displays debug information with each flow.
full
Displays full details on each flow.
Usage
When packet-mode optimization is enabled, use the show flows command to view packet-mode optimization flow information. Path selection statistics are only reported if path selection is enabled.
Example
amnesiac > show flows
 
T Source Destination App Rdn Since
--------------------------------------------------------------------------------
N 10.190.0.1:406    10.190.5.2:1003 UDPv4 99% 2011/04/30 23:58:01
O  192.168.0.1:80   192.168.5.79:52912 NAGLE    11% 2011/05/01 00:00:01
O  192.168.221.1:1080   192.168.221.1:1080 CIFS     0% 2011/05/01 00:20:01
O  192.168.221.1:443 192.168.221.1:443 MAPI     99% 2011/05/01 00:21:01
N  [abcd:a:b:c:d:1:1:1]:1009
                         [1bcd:a:b:c:d:2:21:12]:508
                                               TCPv6   99% 2011/05/01 00:00:01
O  [eedc:ba98:54::3210]:34870
                         [eedc:ba98:7011:3221:1111:1120:201:2021]:443
                                               MAPI    97% 2011/05/01 00:21:01
0  [eedc:ba98:765::1]34870
                         [eedc:ba98:54::3210]:443
                                               MAPI    97% 2011/05/01 00:21:01
0  [eedc:ba98:7011:3221:1111:1120:201:2001]:34870
                         [eedc:ba98:7011:3221:1111:1120:201:2001]:443
                                               MAPI    97% 2011/05/01 00:21:01
O  [eedc:ba98:7011:3221:1111:1120:201:2021]:34870
                         [eedc:ba98:54::3210]:443
                                               MAPI    97% 2011/05/01 00:21:01
N [fbcd::1:1]:12    [5bcd::2:2]:102 TCPv6 99% 2011/04/30 23:56:01
N [fbcd::1:1]:12    [5bcd::2:2]:103 TCPv6 99% 2011/05/01 00:00:01
 
--------------------------------------------------------------------------------
All V4 V6
---------------------------------------------------------------
Established Optimized: 11 4 7
RiOS Only (O): 7 3 4
SCPS Only (SO): 0 0 0
RiOS+SCPS (RS): 0 0 0
TCP Proxy (TP): 0 0 0
Packet-mode optimized (N): 4 1 3
Half-opened optimized (H): 0 0 0
Half-closed optimized (C): 0 0 0
Establishing:                              0      0      0
Passthrough (unoptimized): 1 1 0
Passthrough intentional(PI): 0 0 0
Passthrough unintentional (PU):         0 0 0
  Terminated:                            0      0      0(
    Packet-mode:                           0 0 0
Forwarded (F): 0 0 0
Discarded(terminated): 0
Denied (terminated): 0
---------------------------------------------------------------
Total: 11 4 7
Product
SteelHead CX, SteelHead EX, SteelHead-v, SteelHead-c
Related Commands
packet-mode enable, show flow, Path Selection Commands