Delete - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Location
server
Examples
# Copy the test.cfg file in the current folder and save it to the current folder as testbackup.cfg.
<Sysname> copy test.cfg testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Copying file flash:/test.cfg to flash:/testbackup.cfg...Done.
# Copy 1.cfg from the Flash's test folder to the USB disk's first partition, and save it to the testbackup
folder as 1backup.cfg.
<Sysname> copy flash:/test/1.cfg usb0:/testbackup/1backup.cfg
Copy flash:/test/1.cfg to usb0:/testbackup/1backup.cfg?[Y/N]:y
Copying file flash:/test/1.cfg to usb0:/testbackup/1backup.cfg...Done.
# Copy test.cfg from the working directory on FTP server 1.1.1.1 and save it to the local current folder
as testbackup.cfg. In this example, the FTP username and password are user and private.
<Sysname> copy ftp://user:private@1.1.1.1/test.cfg testbackup.cfg
Copy ftp://user:private@1.1.1.1/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Copying file ftp://user:private@1.1.1.1/test.cfg to flash:/testbackup.cfg... Done.
# Copy test.cfg from the current folder and save it to the working directory on FTP server 1.1.1.1 as
testbackup.cfg. In this example, the FTP username and password are user and private.
<Sysname> copy test.cfg ftp://user:private@1.1.1.1/testbackup.cfg
Copy flash:/test.cfg to ftp://user:private@1.1.1.1/testbackup.cfg?[Y/N]:y
Copying file flash:/test.cfg to ftp://user:private@1.1.1.1/testbackup.cfg... Done.
# Copy test.cfg from the working directory on TFTP server 1.1.1.1 and save it to the local current
folder as testbackup.cfg.
<Sysname> copy tftp://1.1.1.1/test.cfg testbackup.cfg
Copy tftp://1.1.1.1/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Copying file tftp://1.1.1.1/test.cfg to flash:/testbackup.cfg... Done.
# Copy test.cfg from the current folder and save it to the working directory on TFTP server 1.1.1.1 as
testbackup.cfg.
<Sysname> copy test.cfg tftp://1.1.1.1/testbackup.cfg
Copy flash:/test.cfg to tftp://1.1.1.1/testbackup.cfg?[Y/N]:y
Copying file flash:/test.cfg to tftp://1.1.1.1/testbackup.cfg... Done.
# In standalone mode, copy the configuration file test.cfg to the test folder in the Flash root directory.
<Sysname> copy test.cfg flash:/test
Copy flash:/test.cfg to flash:/test/test.cfg?[Y/N]:y
Copying file flash:/test.cfg to flash:/test/test.cfg...Done.
# In IRF mode, copy a configuration file of the global active MPU to the Flash root directory of the
global standby MPU that resides in member device 2.
<Sysname> copy test.cfg chassis2#slot0#flash:/
Copy flash:/test.cfg to chassis2#slot0#flash:/test.cfg?[Y/N]:y
Copying file flash:/test.cfg to chassis2#slot0#flash:/test.cfg...Done.

delete

Use delete to delete a file.
Name format
number]/file path[/file name].
Remarks
the URL tftp://1.1.1.1/startup.cfg.
120

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents