size
Syntax
sizebytes;Hierarchy Level
[editforwarding-optionsport-mirroringtraceoptionsfile],[editforwarding-optionssamplingoutputfile],[editforwarding-optionssamplingtraceoptionsfile]Description
Specify the maximum size of each file containing sample or log data. The file size is limited by the number of files to be created and the available hard disk space.
When a traffic sampling file named
sampling-filereaches the maximum size, it is renamedsampling-file.0.When thesampling-fileagain reaches its maximum size,sampling-file.0is renamedsampling-file.1andsampling-fileis renamedsampling-file.0. This renaming scheme continues until the maximum number of traffic sampling files is reached. Then the oldest traffic sampling file is overwritten.Options
bytes—Maximum size of each traffic sampling file or trace log file, in kilobytes (KB), megabytes (MB), or gigabytes (GB).
Syntax:xkto specify KB,xmto specify MB, orxgto specify GB
Range: 10 KB through the maximum file size supported on your router
Default: 1 MB for sampling data; 128 KB for log informationUsage Guidelines
See Configure Port Mirroring or Configure Traffic Sampling.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.