Display Flow Information

Configure the polling interval for flow statistics (Optional)

Command

Description

flow-stats-interval <poll-interval>

Configures the polling interval for flow statistics. poll-interval: 0-3600 0: disables automatic counter polling 1–3600: sets the polling interval in seconds

collect-flow-stats

Immediately triggers the collection of flow statistics upon execution.

pbnoscli# configure terminal  
pbnoscli(config)# flow-stats-interval in
pbnoscli(config)# flow-stats-interval   
  <statpollinterval>    0..3600                                                                                                                              
pbnoscli(config)# flow-stats-interval 0
pbnoscli(config)# exit
pbnoscli# 
pbnoscli# show run | grep flow-stats-interval
flow-stats-interval 0
pbnoscli# 

After running the collect-flow-stats command, the corresponding show commands should be used to view the collected statistics.

pbnoscli# collect-flow-stats
pbnoscli# show flow counters all
pbnoscli# show flow summary

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

EC5812 device: Need to execute "collect-flow-stats" before collecting the flow counters "show flow summary" and "show flow counters all" each time.

EC5812

Example

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

Reference

Command

show flow (all | <flow-name> rule <rule-id> )

Description

Displays all the flow configurations and rule configurations

Parameters

flow-name—max 20 characters

rule-id – within 1 to 6000

Mode

EXEC

Example

Use the following command to show the flow summary:

Reference

Command

show flow summary

Description

Displays the summary of all APB flows

Parameters

None

Mode

EXEC

Example

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

Reference

Command

show flow counters (all |<flow-name> )

Description

Displays the counters of all the APB flows

Parameters

flow-name – max 20 characters

Mode

EXEC

Example

Last updated