monitor capture buffer
To configure the buffer for monitor capture (WireShark), use the monitor capture buffer command in
privileged EXEC mode. To disable the monitor capture buffer or change the buffer back to a default linear
buffer from a circular buffer, use the no form of this command.
monitor capture {capture-name} buffer {circular [size buffer-size ] | size buffer-size}
no monitor capture {capture-name} buffer [circular ]
Syntax Description
The name of the capture whose buffer is to be configured.
capture-name
Specifies that the buffer is of a circular type. The circular type of buffer
continues to capture data, even after the buffer is consumed, by overwriting
the data captured previously.
circular
(Optional) Specifies the size of the buffer. The range is from 1 MB to 100 MB.
size buffer-size
Command Default
A linear buffer is configured.
Command Modes
Privileged EXEC
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SE
Usage Guidelines
When you first configure a WireShark capture, a circular buffer of a small size is suggested.
Examples
To configure a circular buffer with a size of 1 MB:
Device# monitor capture mycap buffer circular size 1
Related Commands
DescriptionCommand
Configures monitor capture (WireShark) specifying an attachment
point and the packet flow direction.
monitor capture (interface/control plane)
Configures monitor capture (WireShark) storage file attributes.
monitor capture file
show monitor capture
show monitor capture
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
494
monitor capture buffer