: clear flow and clear flows
Focus
Focus

clear flow and clear flows

Table of Contents

clear flow and clear flows

Use the clear flow and clear flows command to clear the flows from the flow table to debug and troubleshoot. For clear flow, you have to use with all 5 tuple (srcv4/srcv6, dstv4/dstv6, srcport, dstport, prot) and for clear flows, you can use with any one of 7 tuple (srcv4= dstv4= srcv6= dstv6= srcport= dstport= prot=).

Command

clear flow srcv4= source IP address dstv4= destination IP address srcv6= source IP address dstv6= destination IP address srcport= sourceport number dstport= destination port number prot= protocol number
clear flows srcv4= source IP address dstv4= destination IP address srcv6= source IP address dstv6= destination IP address srcport= sourceport number dstport= destination port number prot= protocol number

Options

None

Command Notes

RoleSuper
Related Commands
inspect flow-detail
Introduced inRelease 4.5.3

Example

clear flow srcv4=192.168.53.101 dstv4=192.168.22.5 srcport=38851dstport=443 prot=17flow
clear flow srcv6=2201:100::2 dstv6=2103::13 srcport=128 dstport=0 prot=58
clear flows dstv6=2103::13