
19
Maintaining application and configuration files
at the CLI
Displaying all files at the CLI
View the files in the current file system with the dir command.
<H3C> dir
Directory of cfa0:/
0 -rw- 22554232 Mar 20 2009 09:56:54 main.bin
1 -rw- 987 Mar 20 2009 09:20:50 startup.cfg
2 -rw- 177 Mar 19 2009 14:15:04 system.xml
252164 KB total (230130 KB free)
File system type of cfa0: FAT32
<H3C>
Setting the application file type at the CLI
• To set type of main.bin to main, use the following command:
<H3C> boot-loader file main.bin main
This command will be set the boot file.Continue?[Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
• To set type of main.bin to backup, use the following command:
<H3C> boot-loader file main.bin backup
This command will be set the boot file.Continue?[Y/N]:y
The specified file will be used as the backup boot file at the next reboot on slot 1!
Deleting a File at the CLI
To delete startup.cfg, use the following command:
<H3C> delete /unreserved startup.cfg
The contents cannot be restored!!! Delete cfa0:/startup.cfg?[Y/N]:y
%Delete file cfa0:/startup.cfg...Done
Komentarze do niniejszej Instrukcji