Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Packet Capture only captures 10 packets....then stops

SOLVED
Go to solution
Grundfrost
Occasional Visitor

Packet Capture only captures 10 packets....then stops

HPE 5510

HPE Comware Software, Version 7.1.045, Release 1122P02

5510hi-cmw710-packet-capture-r1122p02.bin

Example:
packet-capture interface ten1/0/49 write flash:/capture.pcap

Result:

Capturing on 'Ten-GigabitEthernet1/0/49'
10

I've tried variants of the commands to include duration, file size, etc...every result is 10 packets then stops.

2 REPLIES
Grundfrost
Occasional Visitor
Solution

Re: Packet Capture only captures 10 packets....then stops

ok the default is 10 frames so the command must include:

packet-capture interface ten1/0/49 limit-captured-frames 100 write flash:/capture.pcap

 

Grundfrost
Occasional Visitor

Re: Packet Capture only captures 10 packets....then stops

and this runs a continuous capture:

packet-capture interface ten1/0/49 limit-captured-frames 0 write flash:/capture.pcap