[
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:
- Disable packet capture following the steps in Disabling Packet Capture.
- Using the CLI, delete the packet capture file for
the interface:
- From CLI operational mode, access the local UNIX shell:
- Navigate to the directory where packet capture files are
stored:
- Delete the packet capture file for the interface—for
example, pcap-file.fe.0.0.0:
- % rm pcap-file.fe.0.0.0
- %
- Return to the CLI operational mode:
- Reenable packet capture following the steps in Enabling Packet Capture (Required).
- Commit the configuration.
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]