# Display Flow Information

Use the following command to check the rate of data flowing through a flow:

#### Reference

|             |                                       |
| ----------- | ------------------------------------- |
| Command     | show flow (all \| \<flow-name> ) rate |
| Description | Display flow rate for a flow          |
| Parameters  | flow-name - max 20 characters         |
| Mode        | EXEC                                  |

#### Example

```
pbnoscli# show flow counters all rate
Flow-Name                  Rate (BPS)          Rate (PPS)
===============================================================
flow1                        0.15 B/s            0.00 P/s
pbnoscli#
```

You can display the flow configuration and operational status as follows:

#### Reference

<table data-header-hidden><thead><tr><th></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td>Command</td><td>show flow (all | &#x3C;flow-name> rule &#x3C;rule-id> )</td><td></td></tr><tr><td>Description</td><td>Displays all the flow configurations and rule configurations</td><td></td></tr><tr><td>Parameters</td><td><p>flow-name—max 20 characters </p><p>rule-id – within 1 to 6000</p></td><td></td></tr><tr><td>Mode</td><td>EXEC</td><td></td></tr></tbody></table>

#### Example

```
pbnoscli# show flow all

===================================
Flow : flow01 (CLI)
===================================
Status       : enable          
Network-Port : Ethernet4/1       
Tool-Port    : Ethernet8/1       

Rule : 1               
++++++++++++++++++++++++++++++++++
Action                   : permit          
Source IP                : 10.10.0.0       
Source Mask              : 255.255.255.0   
Destination IP           : 20.0.20.0       
Destination Mask         : 255.255.255.0   
Counters                 : enable          
Override To        : Ethernet12/1      

===================================
Flow : flow02 (CLI)
===================================
Status       : enable          
Network-Port : Ethernet16/1      
Tool-Port    : Ethernet20/1      

Rule : 1               
++++++++++++++++++++++++++++++++++
Action                   : permit          
Source IP                : 2401::1         
Source Mask              : f::f            
Destination IP           : 2401::2         
Destination Mask         : f::f            
TTL                      : 30              
Protocol                 : tcp             
Tosval                   : 4               
Counters                 : enable          
pbnoscli# 
```

```
pbnoscli# show flow flow02 rule 1

===================================
Flow : flow02 (CLI)
===================================
Status       : enable          
Network-Port : Ethernet16/1      
Tool-Port    : Ethernet20/1      

Rule : 1               
++++++++++++++++++++++++++++++++++
Action                   : permit          
Source IP                : 2401::1         
Source Mask              : f::f            
Destination IP           : 2401::2         
Destination Mask         : f::f            
TTL                      : 30              
Protocol                 : tcp             
Tosval                   : 4               
Counters                 : enable          
pbnoscli# 
```

Use the following command to show the flow summary:

#### Reference

<table data-header-hidden><thead><tr><th></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td>Command</td><td>show flow summary</td><td></td></tr><tr><td>Description</td><td>Displays the summary of all OPB flows</td><td></td></tr><tr><td>Parameters</td><td>None</td><td></td></tr><tr><td>Mode</td><td>EXEC</td><td></td></tr></tbody></table>

#### Example

```
pbnoscli# show flow summary 
Flow-Name       Rule-Id        Status      Counter-Value
=========================================================
flow01          1             Active          5643               
flow02          1             Active          18236               
pbnoscli# 
```

Use the following command to display the counters of all the flows:

#### Reference

<table data-header-hidden><thead><tr><th></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td>Command</td><td>show flow counters (all |&#x3C;flow-name> )</td><td></td></tr><tr><td>Description</td><td>Displays the counters of all the OPB flows</td><td></td></tr><tr><td>Parameters</td><td>flow-name – max 20 characters</td><td></td></tr><tr><td>Mode</td><td>EXEC</td><td></td></tr></tbody></table>

#### Example

```
pbnoscli# show flow counters all
Flow-Name       Rule-Id        ASIC-Stat-Id   Counter-Value
=============================================================
flow02          1               65536           18236               
flow01          1               40960           5643               
flow02          DropRule        57344           14               
flow01          DropRule        32768           18               
pbnoscli# 
```

```
pbnoscli# show flow counters flow01
Flow-Name       Rule-Id        ASIC-Stat-Id   Counter-Value
=============================================================
flow01          1               40960           5643               
flow01          DropRule        32768           18               
pbnoscli# 
```
