Emergency Shell Commands; Copy; Delete - HP 6125XLG Command Reference Manual

Blade switch fundamentals command reference
Table of Contents

Advertisement

Emergency shell commands

Unless otherwise stated, a file name or path argument in this document is case insensitive, and must
indicate the storage medium and contain no slot information. The path information might contain
multiple levels of directories, and each can include 1 to 255 characters. The file name alone (without the
path information) can include 1 to 255 characters. The argument, including the storage medium, the
path information, and the file name, can include 1 to 51 1 characters.

copy

Use copy to copy a file.
Syntax
copy fileurl-source fileurl-dest
Views
User view
Parameters
fileurl-source: Specifies the name of the source file.
fileurl-dest: Specifies the name for the target file or directory. If you specify a target directory, the system
copies the file to the specified directory and uses the name of the source file as the file name.
Examples
# Copy the test.cfg file and save it in the same directory as testbackup.cfg.
<boot> copy flash:/testcfg.cfg flash:/testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Start to copy flash:/test.cfg to flash:/testbackup.cfg...Done.
# Copy the test.cfg file and save it in the same directory by using the name of existing file testbackup.cfg.
(The existing file is overwritten.)
<boot> copy flash:/testcfg.cfg flash:/testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
flash:/testbackup.cfg already exists. Overwrite it?[Y/N]:y
Start to copy flash:/test.cfg to flash:/testbackup.cfg...Done.

delete

Use delete to permanently delete a file.
Syntax
delete file-url
Views
User view
Parameters
file-url: Specifies the name of the file to be deleted.
186

Advertisement

Table of Contents
loading

Table of Contents