Monitor Capture [Clear | Export] - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

monitor capture [clear | export]

To clear capture buffer contents or to store the packets to a file, use the monitor capture [clear | export
filename] command.
Syntax Description
name
clear
export filename
Defaults
none
Command Modes
Privileged EXEC mode
Command History
Release
IOS XE 3.3.0SG/
15.1(1)SG
Usage Guidelines
The clear option empties the capture buffer and the export option stores the packets in the capture buffer
to the file. You should use these commands only when the storage destination is a capture buffer. These
commands are usable either during capture or when it has stopped either because one or more end
conditions has been met or you entered the stop command. If you enter the clear command after the
capture has stopped, further export (or decode) and display commands have no impact because the
buffer has no packets.
Examples
The following example shows how to associate or disassociate a capture file:
Switch# monitor capture mycap export bootflash:mycap.pcap
Switch# monitor capture mycap clear
OL-27596 -01
monitor capture name [clear] [export filename]
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
Specifies a capture point.
Clears all the packets in the capture buffer.
Store all the packets in capture buffer to a .pcap file.
monitor capture [clear | export]
2-467

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents