packet-capture clear

Purpose

Remove packet trace capture files for specified network interface.

Syntax

packet-capture clear interface

Parameters

interface
Network interface for which packet trace files need to be cleared

Usage Notes

Related Commands

See packet-capture list, packet-capture start, and packet-capture stop.

Example

Display packet capture activity and then clear the files collected for interface eth0.
Console> packet-capture list      
interface       status          file(s)
eth1    Finished                eth1pc1
                                   eth1pc2
-------------------------------
eth0    Finished                eth0pc
Ok
Console> packet-capture clear eth0
Packet capture dump files cleared for eth0
Ok
Console>