[Contents] [Prev] [Next] [Index] [Report an Error]

Deleting Packet Capture Files

Deleting packet capture files from the /var/tmp directory only temporarily removes the packet capture files. Packet capture files for the interface are automatically created again the next time a packet capture configuration change is committed. You must follow the procedure given in this section to delete packet capture files.

To delete a packet capture file:

  1. Disable packet capture following the steps in Disabling Packet Capture.
  2. Using the CLI, delete the packet capture file for the interface:
    1. From CLI operational mode, access the local UNIX shell:
      user@host> start shell
      %
    2. Navigate to the directory where packet capture files are stored:
      % cd /var/tmp
      %
    3. Delete the packet capture file for the interface—for example, pcap-file.fe.0.0.0:
      % rm pcap-file.fe.0.0.0
      %
    4. Return to the CLI operational mode:
      % exit
      user@host>
  3. Reenable packet capture following the steps in Enabling Packet Capture (Required).
  4. Commit the configuration.

[Contents] [Prev] [Next] [Index] [Report an Error]