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

packet-capture to file on HPE 5130 5700 and 5930

SOLVED
Go to solution
AlexGraser
Frequent Visitor

packet-capture to file on HPE 5130 5700 and 5930

Hi All,

Does any one know how to do a packet capture (not port mirroring!) which is saved to a file on the following switch models?

HPE 5130 Software Version 7.1.045, Release 1120P07

HPE 5700-32XGT Software Version 7.1.045, Release 2422P01

HPE 5930 Software Version 7.1.045, Release 2422P01

I´ve found some documents for example "HPE FlexNetwork 5130 HI Switch Series Network Management and Monitoring Command Reference" Document-Version 6W100-20151201 and there is a command described (packet-capture on page 321) which is not available on my 5130.

In another document "HPE FlexFabric 5700 Switch Series Network Management and Monitoring Configuration Guide" Document-Version 6W100-20160331 the same command (packet-capture) is described, but there is the following statement: "To use the packet capture feature, you must install the feature image by using the boot-loader,
install, or issu command."

My Question is:

what do i have to do to be able to make a packet-capture to file?

Do I have to install a specific feature and if so, where can I get this feature and how is it installed?

Thank you very much for your help!

greetings,

Alex.

2 REPLIES
sdide
Respected Contributor
Solution

Re: packet-capture to file on HPE 5130 5700 and 5930

Hi,

you need to install the packet-capture feature image.

For example when you get the latest image for the 5130. R3113P05

You also get the file "5130ei-cmw710-packet-capture-r3113p05.bin"

You need to install this feature image to get the packet-capture features. Run a:

install activate feature flash:/5130ei-cmw710-packet-capture-r3113p05.bin

needs to look something like this

<HP-5130-24G>display install active 
Active packages on slot 1:
  flash:/5130ei-cmw710-boot-r3113p05.bin
  flash:/5130ei-cmw710-system-r3113p05.bin
  flash:/5130ei-cmw710-packet-capture-r3113p05.bin

Then you're good to go with

<HP-5130-24G>packet-capture interface gi1/0/1 brief 
Capturing on 'GigabitEthernet1/0/1'
  1   0.000000 00:0a:b8:df:7b:84 -> 01:00:0c:cc:cc:cd STP 68 RST. Root = 8192/599/00:0a:b8:df:7b:80  Cost = 0  Port = 0x8004
....

and so forth.

Regards

 

Søren Dideriksen, Network Administrator
Region Midtjylland

Re: packet-capture to file on HPE 5130 5700 and 5930

Thanks!  This clear & concise answer certainly helped me quite a bit.

Additional tip for the next person reading this thread: the packet capture feature might not become available in the session you used to install the software with, leading to frantic hunts for documentation.

In my case the solution was simple: I had to disconnect my current session and log back in again before the "packet-capture" command became available.