Specifications

Table Of Contents
2-110
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
flow-capture
4. (Optional) Stop the capture.
Use the flow-capture stop command.
If you do not stop the flow capture, it will stop when the maximum duration or capacity has been
reached.
At any point, you can use the show interface linecard flow-capture command to display the flow-
capture status, including whether flow capture is currently recording or is stopped, the capacity already
used, and the number of packets recorded.
Authorization: admin
Examples The following examples show how to use this command.
Example 1
The following example shows how to perform all the steps in a flow capture:
1. Define the limits (flow-capture controllers max-l4-payload-length and flow-capture controllers
time).
2. Define the recording traffic rule (traffic-rule with action flow-capture option).
3. Start the capture (flow-capture start).
(The show command shows that recording is in progress.)
4. Stop the capture (flow-capture stop).
SCE>enable 10
Password:<cisco>
SCE#>configure
SCE(config)#interface linecard 0
SCE(config if)#flow-capture controllers max-l4-payload-length 200
SCE(config if)#flow-capture controllers time 45
SCE(config if)#traffic-rule name FlowCaptureRule IP-addresses subscriber-side all
network-side all protocol 250 direction both traffic-counter counter2 action flow-capture
SCE(config if)#end
SCE# flow-capture start format cap file-name-prefix
ftp://myUser:myPassword@10.10.10.80/./myCap
SCE#show interface linecard 0 flow-capture
Flow Capture Status:
--------------------
Flow capture status: RECORDING
Capturing type: ONLINE
Target file size (bytes): 219616
Time limit (sec): 45
Max L4 payload length (bytes): 200
Number of recorded packets: 830
Number of lost packets: 0
SCE# flow-capture stop
SCE# show interface linecard 0 flow-capture
Flow Capture Status:
--------------------
Flow capture status: NOT RECORDING
Capturing type: ONLINE
Last stop cause: User Request
Target file size (bytes): 197256
Time limit (sec): 45
Max L4 payload length (bytes): 200
Number of recorded packets: 713
Number of lost packets: 0
SCE#