Specifications

2-385
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
monitor capture limit
monitor captur e 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
Usage Guidelines Specifies session duration , packet segment length and num ber 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- leng th 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.