CLI Reference Guide

Ethernet Configuration Commands 379
display only the captured packets that were not previously displayed as the
show command empties the capture buffer. When a capture session is
stopped, it is possible to display all saved packets as often as is desired. The
command show monitor capture packets always displays the captured packets
in chronological order.
The memory buffer only stores the first 128 bytes of each packet captured.
The switch displays the following information from the captured packet when
it is displayed on CLI:
Packet is transmitted or received.
ID of the interface through which the packet was passed.
The time when packet passed through CPU.
The first 128 bytes of packet.
The length of full packet (if greater than 128 bytes).
The in memory capture buffer can be configured to stop when full. This
mode is configured with the command no monitor capture line wrap.
Capturing packets is started by the command monitor capture start
command. Capturing packets is stopped automatically when 128 packets are
captured and saved into the RAM. Capturing packets can be stopped
manually before 128 packets have been captured. The command monitor
capture stop halts packet capture.
If capturing is in progress, the show monitor capture packets command
displays only captured packets which have not yet been displayed during
capturing session. If capturing is stopped, the first (after stopping) show
monitor capture packets command displays packets that have not yet been
displayed during capturing session. Next the show monitor capture packets
command displays all saved packets.
If the capturing session is stopped automatically during the period packet
display is in progress, the packet display continues until all saved packets are
shown and then the buffer is cleared. The next invocation of the show
capture packets command does not display any packets. Note that this
behavior is observed only if the capturing session is stopped automatically
when the packet displaying is in progress.
The in memory capture can also be configured to wrap. This makes it possible
to display more than 128 packets per capture session if command ‘show
capture packets' is periodically executed while capture is in progress. Saved
2CSNXXX_SWUM200.book Page 379 Tuesday, December 10, 2013 1:22 PM