: 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

srcv4
Enter the source IP address to clear the established connections that match the specified source IP address.
dstv4
Enter the destination IP address to clear the established connections that match the specified destination IP address.
srcport
Enter the source port to clear the established connections that match the specified source port.
dstport
Enter the destination port to clear the established connections that match the specified destination port.
prot
Tab to select UDP, TCP, or ICMP. Or, enter a protocol number ranging from 0 - 255.

Command Notes

Role
Super
Related Commands
Introduced in
Release 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

Recommended For You