Specifications

2-157
Cisco SCE 8000 CLI Command Reference
Chapter 2 CLI Command Reference
flow-capture
Number of recorded packets: 152
Number of lost packets: 0
Flow Capture Status (module #2):
--------------------------------
Flow capture status: RECORDING
Capturing type: ONLINE
Target file name: ftp://myUser:myPassword@10.10.10.80/./myCap2.cap
Target file size (bytes): 28944
Time limit (sec): 45
Max L4 payload length (bytes): 200
Number of recorded packets: 167
Number of lost packets: 0
SCE8000#flow-capture stop
SCE8000#show interface linecard 0 flow-capture
Flow Capture Status (module #1):
--------------------------------
Flow capture status: NOT RECORDING
Capturing type: ONLINE
Last stop cause: User Request
Target file name: ftp://myUser:myPassword@10.10.10.80/./myCap1.cap
Target file size (bytes): 99392
Time limit (sec): 45
Max L4 payload length (bytes): 200
Number of recorded packets: 573
Number of lost packets: 0
Flow Capture Status (module #2):
--------------------------------
Flow capture status: NOT RECORDING
Capturing type: ONLINE
Last stop cause: User Request
Target file name: ftp://myUser:myPassword@10.10.10.80/./myCap2.cap
Target file size (bytes): 159344
Time limit (sec): 45
Max L4 payload length (bytes): 200
SCE8000#
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 a counter to be assigned to the traffic rule. (Optional)
3. Define the recording traffic rule (traffic-rule with action flow-capture option).
4. Start the capture (flow-capture start).
(The show command shows that recording is in progress.)
5. Capture concludes automatically after 45 seconds.
SCE8000>enable 10
Password:<cisco>
SCE8000#configure
SCE8000(config)#interface linecard 0
SCE8000(config if)#flow-capture controllers max-l4-payload-length 200
SCE8000(config if)#flow-capture controllers time 45
SCE8000(config if)#traffic-counter name counter2 count-packets
SCE8000(config if)#traffic-rule name FlowCaptureRule IP-addresses subscriber-side all
network-side all protocol 250 direction both traffic-counter name counter2 action
flow-capture
SCE8000(config if)#end
SCE8000#flow-capture start format cap file-name-prefix