: clear connection
Focus
Focus
Table of Contents

clear connection

Use the clear connection command to clear the established connections that match user-specified options.

Command

clear connection (all | srcv4=src-ipv4 | destv4=dst-ipv4 | ) | | srcport=src-port |dstport=dst-port | proto= ( udp | tcp | icmp | other )

Options

srcv4Enter the source IP address to clear the established connections that match the specified source IP address.
dstv4Enter the destination IP address to clear the established connections that match the specified destination IP address.
srcportEnter the source port to clear the established connections that match the specified source port.
dstportEnter the destination port to clear the established connections that match the specified destination port.
protTab to select UDP, TCP, or ICMP. Or, enter a protocol number ranging from 0 - 255.

Command Notes

RoleSuper
Related Commands
Introduced inRelease 5.0.1

Example

clear connection proto=udp This will be Service impacting for the matching connections areyou sure? [Y|N]:Y PROTO TIME OUT SRC DST SPORT DPORT t-src t-dst tsport tdport udp 29 10.24.18.209 8.8.8.8 38382 53 10.24.18.209 8.8.8.8 38382 53 udp 29 10.24.18.202 8.8.8.8 37516 53 10.24.18.202 8.8.8.8 37516 53