Removing available images
You can remove unused or old images from the device to optimize disk utilization using the "cleanup-images" and "remove-image" commands.
Reference
Command
remove-image < image_name>
Description
Remove specific image from the switch
Parameters
ImageName - Can be obtained from "show
boot"
Mode
EXEC
CLI Example
pbnoscli# remove-image <image-name>
//Example - remove-image SONiC-OS-2.1.1_RELEASE.0-dirty-20220718.065117
Reference
pbnoscli#cleanup-images
Last updated
Was this helpful?