How to delete mgmt.pcap file from the device?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

How to delete mgmt.pcap file from the device?

L3 Networker

Hi All, 

 

As above, how can l do that?

 

> view-pcap mgmt-pcap mgmt.pcap

 

Thanks,

Myky

5 REPLIES 5

Cyber Elite
Cyber Elite
looks like that option was taken out? i seem to recall that pcap used to be under mp-log, but now isn't may need to open a case to get that reinstated 😉
Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

HI @reaper,

 

I was troubleshooting AD server user agent communication issue, so PCAP from mgmt interface helped (server issue), but there seems no option to remove it. No big deal just wanted to know if there is a way to delete the file.

 

Thanks,

Myky

Hi @myky ,

 

I was using tcpdump on the management interface recently and I notice that every time the capture is started the file is overwriten, not amended. So as some kind of workaround you can just run new tcpdump with some dummy filter (at will not capture any traffic). This will overwrite and replace the content of the file from the previous capture.

 

 

@aleksandar.astardzhiev  that is true. l noticed that too. 

Thanks,

Myky

L0 Member

From the CLI, type in

 

delete pcap directory

 

Then press <TAB> 1-2 times.

You shall then see the directories your mgmt pcap files reside within (arranged by date).

Add the directory of the pcap file you want to delete and press enter:

 

delete pcap directory 20240202

 

Done.

  • 3777 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!