Filtering packet data to display

To stop the capture while it is capturing packets, press Ctrl+C. There might be a delay for the capture to stop because of heavy traffic.

To filter packet data to display:

Task

Command

Remarks

Filter packet data to display.

packet-capture interface interface-type interface-number [ capture-filter capt-expression | display-filter disp-expression | limit-captured-frames limit | limit-frame-size bytes | autostop duration seconds ] * [ raw | { brief | verbose } ] *

After this command is executed, you cannot configure other commands from the CLI until the capture completes capturing packets or it is stopped.