The capture-packet file limit command sets the maximum number of packet header obtaining files (with a suffix name .cap) in the packet header obtaining directory.
The undo capture-packet file limit command restores the default maximum number of packet header obtaining files (with a suffix name .cap) in the packet header obtaining directory.
By default, the maximum number of packet header obtaining files (with a suffix name .cap) in the packet header obtaining directory is 10.
Usage Scenario
You can set the maximum number of packet header obtaining files (with a suffix name .cap) in the packet header obtaining directory to save system storage space and ensure that new packet header obtaining files can be properly stored.
Precautions
After the capture-packet file limit command is run, if the number of packet header obtaining files in the directory exceeds the upper limit, the system does not delete the files immediately. Instead, the system deletes the earliest one or more files when an additional packet header obtaining file is created.
In VS mode, this command is supported only by the admin VS.