Directory Operations - H3C SR6600 Fundamentals Configuration Manual

Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

Format
file-name
path/file-name
drive:/[path]/file-na
me
Filename formats (On the SR6604/6608/6616 router):
Format
file-name
path/file-name
drive:/[path]/file-na
me

Directory Operations

You can create or remove a directory, display the current working directory, the specified directory, file
information, and so on.
Description
Specifies a file in the current
working directory.
Specifies a file in the specified
folder in the current working
directory. path indicates the name
of the folder. You can specify
multiple folders, indicating a file
under a multi-level folder.
Specifies a file in the specified
storage medium on the device.
drive represents the storage
medium name, which is usually
cfa0. If there is only one storage
medium on the device, you do not
need to provide information about
the storage medium. If there are
multiple storage media on the
device, you must provide the
related information to identify the
storage medium.
Description
Specifies a file in the current
working directory.
Specifies a file in the specified
folder in the current working
directory. path represents the
folder name. You can specify
multiple folders, indicating a file
under a multi-level folder.
Specifies a file in the specified
storage medium on the device.
drive represents the storage
medium name. The storage
medium on the AMB is usually
cfa0; the storage medium on the
SMB is usually slotX#cfa0, where
X represents the number of the slot
where the SMB resides. For
example, slot2#cfa0. You can use
the display device command to
view the correspondence between
a board and its slot number.
Length
1 to 91
characters
1 to 135
characters
1 to 135
characters
Length
1 to 91
characters
1 to 135
characters
1 to 135
characters
8-109
Example
a.cfg indicates a file named a.cfg
in the current working directory
test/a.cfg indicates a file named
a.cfg in the test folder in the
current working directory.
cfa0:/test/a.cfg indicates a file
named a.cfg in the test folder in
the root directory of the CF card.
Example
a.cfg indicates a file named a.cfg
in the current working directory. If
the current working directory is on
the active main board (AMB), a.cfg
represents file a.cfg on the AMB; if
the current working directory is on
the standby main board (SMB),
a.cfg represents file a.cfg on the
SMB.
test/a.cfg indicates a file named
a.cfg in the test folder in the
current working directory.
cfa0:/test/a.cfg indicates a file
named a.cfg in the test folder in
the root directory of the CF card
memory on the AMB.
To read and write the a.cfg file in
the root directory of theCF card on
the SMB (with the slot number 1),
input slot1#cfa0:/a.cfg for the
filename.

Advertisement

Table of Contents
loading

Table of Contents