2-472
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
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.
monitor capture name limit {duration seconds] [packet-length size] [packets num]
no monitor capture name limit [duration] [packet-length] [packets]
Syntax Description
Defaults Entire packet is processed if packet-length is not specified.
Command Modes Privileged EXEC mode
Command History
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
name Specifies a capture point.
duration seconds Specifies duration in seconds.
packet-length size Specifies packet length. If the actual packet is longer, only the
first size bytes are stored.
packets num Specifies number of packets to be processed.
Release Modification
IOS XE 3.3.0SG/
15.1(1)SG
Support for this command was introduced on the Catalyst 4500 series switch.