Specifications

Table Of Contents
2-111
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
flow-capture
Example 2
The following example is identical to the previous one, except that instead of using the stop command,
the capturing process continues until the defined time limit is reached.
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. Capture concludes automatically after 45 seconds.
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 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
after 50 seconds....
SCE# show interface linecard 0 flow-capture
Flow Capture Status:
--------------------
Flow capture status: NOT RECORDING
Capturing type: ONLINE
Last stop cause: Time Limit
Target file size (bytes): 758172
Time limit (sec): 45
Max L4 payload length (bytes): 200
Number of recorded packets: 2863
Number of lost packets: 0
SCE#
Example 3
In this example, instead of using the stop command, the capturing process continues until the defined
file-size limit (128 MB on the SCE8000 platform) is reached.
1. Set the limits back to the defaults (default flow-capture controllers max-l4-payload-length and
default flow-capture controllers time).
2. Define the recording traffic rule (traffic-rule with action flow-capture option).
3. Start the capture (flow-capture start).