Overview
This document describes the CLI command to count the number of session that match filter.
Details
The > show session all filter command includes an option to count the number of sessions that match the filter.
The following are examples of the displays are provided below:
> show session all filter application ping
flags: *:decrypted, N:NAT, S:src NAT, D:dst NAT, B:src and dst NAT
-------------------------------------------------------------------------------
ID application state type flag src[sport]/zone/proto (translated IP[port])
dst[dport]/zone (translated IP[port])
-------------------------------------------------------------------------------
2068004 ping ACTIVE FLOW 10.16.1.177[512]/trust-vwire/1 (10.16.1.177[512])
10.0.0.252[9728]/untrust-vwire (10
2056080 ping ACTIVE FLOW 10.16.0.110[512]/trust-vwire/1 (10
10.0.0.253[17487]/untrust-vwire (1
2068001 ping ACTIVE FLOW 10.16.0.110[512]/trust-vwire/1 (10
10.0.0.247[18255]/untrust-vwire (1
2067485 ping ACTIVE FLOW 10.16.0.110[512]/trust-vwire/1 (10
10.0.0.252[16463]/untrust-vwire (1
2067516 ping ACTIVE FLOW 10.16.0.110[512]/trust-vwire/1 (10
10.0.0.247[17999]/untrust-vwire (1
2067539 ping ACTIVE FLOW 10.16.0.110[512]/trust-vwire/1 (10
10.0.0.246[16975]/untrust-vwire (1
2068009 ping ACTIVE FLOW 10.16.1.177[512]/trust-vwire/1 (10
10.0.0.252[9984]/untrust-vwire (10
1992744 ping ACTIVE FLOW 10.16.0.110[512]/trust-vwire/1 (10
10.0.0.252[16719]/untrust-vwire (1
2056081 ping ACTIVE FLOW 10.16.0.110[512]/trust-vwire/1 (10
10.0.0.246[17231]/untrust-vwire (1
2067506 ping ACTIVE FLOW 10.16.0.110[512]/trust-vwire/1 (10
10.0.0.253[17743]/untrust-vwire (1
Display 1-10/10 sessions
> show session all filter count yes application ping
Number of sessions that match filter: 10
owner: gcapuno