Format
drive:/[path]/file-
name
Directory Operations
Directory operations include creating/removing a directory, displaying the current working directory,
displaying the specified directory or file information, and so on.
Displaying Directory Information
To do...
Display directory or file
information
Displaying the Current Working Directory
To do...
Display the current working
directory
Changing the Current Working Directory
To do...
Change the current working
directory
Description
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.
Use the command...
dir [ /all ] [ file-url ]
Use the command...
pwd
Use the command...
cd { directory | .. | / }
Length
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
1 to 135
under the root directory of the
characters
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.
Required
Available in user view
Required
Available in user view
Required
Available in user view
1-3
Example
Remarks
Remarks
Remarks