Solved

how to delete cl-support files

  • 27 March 2020
  • 5 replies
  • 85 views

Hi Team, I have generated Cl-support file multiple times as per cumulus support team suggestion . how can i delete those files from switch ?

icon

Best answer by Attilla 27 March 2020, 08:22

Do you use the full file path, like so:

cumulus@leaf01:mgmt-vrf:~$ ls -la /var/support/
total 1948
drwxr-xr-x 1 root root 82 Mar 25 10:52 .
drwxr-xr-x 1 root root 110 Dec 9 21:59 ..
-rw-r--r-- 1 root root 1994504 Mar 25 10:52 cl_support_leaf01_20200325_105153.txz
drwxr-xr-x 1 root root 0 Dec 9 21:55 core
cumulus@leaf01:mgmt-vrf:~$
cumulus@leaf01:mgmt-vrf:~$ sudo rm /var/support/cl_support_leaf01_20200325_105153.txz
cumulus@leaf01:mgmt-vrf:~$
cumulus@leaf01:mgmt-vrf:~$ ls -la /var/support/
total 0
drwxr-xr-x 1 root root 8 Mar 27 07:21 .
drwxr-xr-x 1 root root 110 Dec 9 21:59 ..
drwxr-xr-x 1 root root 0 Dec 9 21:55 core

If this doesn’t work, do the above steps and copy/paste the output.

View original

5 replies

Userlevel 2

Hi, 

 

You can use the "sudo rm <file>" command to remove the file(s). 

Hi, 

 

You can use the "sudo rm <file>" command to remove the file(s). 

When I’m trying to delete its saying you cannot remove and no such file or directory  

Userlevel 2

Do you use the full file path, like so:

cumulus@leaf01:mgmt-vrf:~$ ls -la /var/support/
total 1948
drwxr-xr-x 1 root root 82 Mar 25 10:52 .
drwxr-xr-x 1 root root 110 Dec 9 21:59 ..
-rw-r--r-- 1 root root 1994504 Mar 25 10:52 cl_support_leaf01_20200325_105153.txz
drwxr-xr-x 1 root root 0 Dec 9 21:55 core
cumulus@leaf01:mgmt-vrf:~$
cumulus@leaf01:mgmt-vrf:~$ sudo rm /var/support/cl_support_leaf01_20200325_105153.txz
cumulus@leaf01:mgmt-vrf:~$
cumulus@leaf01:mgmt-vrf:~$ ls -la /var/support/
total 0
drwxr-xr-x 1 root root 8 Mar 27 07:21 .
drwxr-xr-x 1 root root 110 Dec 9 21:59 ..
drwxr-xr-x 1 root root 0 Dec 9 21:55 core

If this doesn’t work, do the above steps and copy/paste the output.

Hi Team, I have generated Cl-support file multiple times as per cumulus support team suggestion . how can i delete those files from switch ?


Yeah its worked ThanQ so much 

Do you use the full file path, like so:

 cumulus@leaf01:mgmt-vrf:~$ ls -la /var/support/
total 1948
drwxr-xr-x 1 root root 82 Mar 25 10:52 .
drwxr-xr-x 1 root root 110 Dec 9 21:59 ..
-rw-r--r-- 1 root root 1994504 Mar 25 10:52 cl_support_leaf01_20200325_105153.txz
drwxr-xr-x 1 root root 0 Dec 9 21:55 core
cumulus@leaf01:mgmt-vrf:~$
cumulus@leaf01:mgmt-vrf:~$ sudo rm /var/support/cl_support_leaf01_20200325_105153.txz
cumulus@leaf01:mgmt-vrf:~$
cumulus@leaf01:mgmt-vrf:~$ ls -la /var/support/
total 0
drwxr-xr-x 1 root root 8 Mar 27 07:21 .
drwxr-xr-x 1 root root 110 Dec 9 21:59 ..
drwxr-xr-x 1 root root 0 Dec 9 21:55 core

If this doesn’t work, do the above steps and copy/paste the output.

Yeah its worked ThanQ so much 

Reply