![Huawei AR2200 Series Configuration Manual Download Page 98](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296098.webp)
6.2.3 Managing the Directory
You can manage directories to logically store files in hierarchy.
Context
You can manage directories by changing and displaying directories, displaying files in
directories and sub-directories, and creating and deleting directories.
Procedure
l
Run:
cd
{
directory
|
device-name
}
A directory is specified.
l
Run:
pwd
The current directory is displayed.
l
Run:
dir
[
/all
] [
filename
] [
device-name
]
The file and sub-directory list in the directory is displayed.
l
Run:
mkdir
{
directory
|
device-name
}
The directory is created.
l
Run:
rmdir
{
directory
|
device-name
}
The directory is deleted.
----End
6.2.4 Managing Files
You can log in to the file system to view, delete, or rename the files on the router.
Context
l
Managing files include: displaying contents, copying, moving, renaming, compressing,
deleting, undeleting, deleting files in the recycle bin, running files in batch and configuring
prompt modes.
l
You can run the
cd
{
directory
|
device-name
} command to enter the required directory
from the current directory.
Procedure
l
Run:
more
[
/binary
] {
filename
|
device-name
} [
offset
] [
all
]
The content of the file is displayed.
By specifying parameters in the
more
command, you can view files flexibly:
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
6 Managing File System
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
87