Directory operations – H3C Technologies H3C S7500E Series Switches User Manual
Page 124
8-3
Format
Description
Length
Example
file-name
Specifies a file under the current
working directory.
1 to 91
characters
a.cfg indicates a file named a.cfg
under the current working
directory. If the current working
directory is on the AMB of the IRF
(that is, the AMB of the master),
a.cfg represents file a.cfg on the
AMB of the master; if the current
working directory is on an SMB
(that is, any main board except the
AMB) of the IRF, a.cfg represents
file a.cfg on the SMB of the master
or on a slave.
path/file-name
Specifies a file in the specified
folder under the current working
directory. path represents the
folder name. You can specify
multiple folders, indicating a file
under a multi-level folder.
1 to 135
characters
test/a.cfg indicates a file named
a.cfg in the test folder under the
current working directory.
drive:/[path]/file-na
me
Specifies a file in the specified
storage medium on the device.
drive represents the storage
medium name. The storage
medium on the AMB of the master
is usually flash or cf; the storage
medium on a slave is usually
chassisX#slotY#flash or
chassisX#slotY#cf, where X
represents the member ID of the
slave and Y represents the
number of the slot where the main
board of the slave resides. You
can use the display irf command
to view the correspondence
between a device and its member
ID.
1 to 135
characters
flash:/test/a.cfg indicates a file
named a.cfg in the test folder
under the root directory of the flash
memory on the AMB of the IRF.
To read and write the a.cfg file
under the root directory of the flash
on an SMB of the IRF (the member
ID and slot number of the SMB are
2 and 5 respectively), input
chassis2#slot5#flash:/a.cfg for
the filename.
Directory Operations
Directory operations include creating/removing a directory, displaying the current working directory,
displaying the specified directory or file information, and so on.