Operation Manual – File System Management
Quidway S3100 Series Ethernet Switches
Chapter 1 File System Management
Huawei Technologies Proprietary
1-6
Perform the following configuration in user view.
Table 1-4
File operations
Operation
Command
Description
Delete a file
delete
[ /
unreserved
]
file
-
url
delete
{
running-files
|
standby-files
} [ /
unreserved
]
Optional
A deleted file can be
restored if you delete it by
executing the
delete
command with the
/unreserved
keyword not
specified. You can use the
undelete
command to
restore a deleted file of this
kind.
Restore a deleted
file
undelete
file
-
url
Optional
Delete a file in the
recycle bin
reset recycle-bin
[
file
-
url
]
[ /
force
]
Optional
Delete a
configuration file in
the Flash
reset saved-configuration
[
backup
|
main
]
Optional
Save the current
configuration to a
specified
configuration file
and specify the
configuration file to
be of the main or
backup attribute
save
[
cfgfile
| [
safely
] [
backup
|
main
] ]
Optional
This command can be
executed in any view.
Rename a file
rename fileurl
-
source
fileurl
-
dest
Optional
Copy a file
copy fileurl
-
source fileurl
-
dest
Optional
Move a file
move
fileurl
-
source fileurl
-
dest
Optional
Display the content
of a file
more
file
-
url
Optional
Currently, the file system
only supports displaying
the contents of a file in
texts.
Display the
information about a
directory or a file
dir
[ /
all
] [
file
-
url
]
Optional
Display the startup
configuration of a
switch
display saved
-
configuration
[
unit
unit-id
] [
by-linenum
]
Optional
These commands can be