After upgrading Huawei network equipment (routers, firewalls and switches), it prompts that there is insufficient space, how to solve it?

Recently I met a friend who said that he upgraded a certain Huawei router (the flash space of the low-end model is relatively small), and the file has been deleted. The file is indeed gone with dir, but the space has not been released. Upload the new system firmware. Still prompted insufficient space. There are generally two solutions to this problem.

Solution 1: When deleting a file, add /unrserved after delete. The /u parameter can be abbreviated and the file name can be abbreviated. /force means to delete without confirmation, and /f can be abbreviated so that the file is completely deleted and not put in the recycle bin

<Huawei> dir

Directory of flash:/

Idx Attr Size(Byte) Date Time(LMT) FileName

0 drw- - Jan 18 2021 15:38:46 dhcp

1 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip

2 -rw- 2,263 Jan 18 2021 15:38:33 statemach.efs

3 -rw- 828,482 May 26 2014 09:20:58 ssl***.zip

1,090,732 KB total (784,464 KB free)

<Huawei> parts

<Huawei>delete /u ssl

<Huawei>delete /u ssl***.zip

Warning: The contents of file flash:/ssl***.zip cannot be recycled. Continue? (y

/ n) [n]: y

Info: Deleting file flash:/ssl***.zip...

Deleting file permanently from flash will take a long time if needed...succeed.

Solution 2: Empty the lower recycle bin reset recycle-bin

<Huawei>reset recycle-bin

The external storage supported by Huawei routers generally include flash and SD cards, and the external storage supported by switches generally include flash and CF cards.

View the files used at the next startup: display startup

Set the file for the next startup: startup system-software *****.cc //Huawei system file

Guess you like

Origin blog.51cto.com/2764044/2596691