monitor capture limit
monitor capture limit
To specify capture limits, use the monitor capture limit command. To remove the limits, use the no
form of this command.
Syntax Description
name
duration seconds
packet-length size
packets num
Defaults
Entire packet is processed if packet-length is not specified.
Command Modes
Privileged EXEC mode
Command History
Release
IOS XE 3.3.0SG/
15.1(1)SG
Usage Guidelines
Specifies session duration, packet segment length and number of packets to be stored
Examples
The following example shows how to associate/disassociate a capture file:
Switch# monitor capture mycap limit duration 10
Switch# monitor capture mycap limit packet-length 128
Switch# monitor capture mycap limit packets 100
Switch# no monitor capture mycap limit duration packet-length packets
Switch# monitor capture mycap limit duration 10 packet-length 128 packets 100
Switch# no monitor capture mycap limit
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-472
monitor capture name limit {duration seconds] [packet-length size] [packets num]
no monitor capture name limit [duration] [packet-length] [packets]
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
Specifies a capture point.
Specifies duration in seconds.
Specifies packet length. If the actual packet is longer, only the
first size bytes are stored.
Specifies number of packets to be processed.
OL-27596 -01