beautypg.com

Brocade Multi-Service IronWare Security Configuration Guide (Supporting R05.6.00) User Manual

Page 285

background image

Multi-Service IronWare Security Configuration Guide

267

53-1003035-02

Using Secure Copy

5

Delete old file first option

NOTE

The delete file first option only applies to inbound SCP commands; its purpose is make room in the
MP flash by deleting old image files prior to an image download.

An option “delete-first” is provided in the third or fourth token position in the following commands.

C:> scp

@:image::delete-first

C:> scp

@:flash::delete-first

C:> scp

@:lp::all:delete-first

Without delete-first option, if the flash is full these commands should display the following
message.

“There is not enough space on MP flash. Please clean up MP flash and retry, or use \"delete-first\"
option.”

When the delete-first option is specified, these commands clear space in the MP flash by removing
the following files first.

image:primary, "primary", "lp-primary-0"

image:secondary, "secondary", "lp-secondary-0"

image:lp-sec, "primary", "lp-secondary-0"

image:mp-sec, "secondary", "lp-primary-0"

flash:primary, "primary"

flash: secondary, "secondary"

flash: monitor, "monitor"

lp:primary:all, "lp-primary-0"

lp:secondary:all, "lp-secondary-0"

lp:monitor:all, "lp-monitor-0"

Before deleting the file the system will check to see if deleting the file or files will create enough
space in the flash. If it can create enough space to accommodate the download, the files will be
deleted. Otherwise, the command will fail with the following error message.

"There will not be enough space on MP flash even after deleting the target files.

Please clean up MP flash and retry."

NOTE

Other commands will not check for available space in the flash or delete the file before downloading.
In other words, the delete-first option is not supported for commands not mentioned above.

I