Performing File Operations; Displaying File Information - HP A7500 Series Configuration Manual

Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

Format
file-name
path/file-name
drive:/[path]/file-
name

Performing file operations

You can display the specified directory or file information; display file contents; rename, copy, move,
remove, restore, and delete files.
NOTE:
You can create a file by copying, downloading or using the save command.

Displaying file information

To do...
Display file or directory
information
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 active MPU 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 MPU of the
slave resides. To view the
correspondence between a device
and its member ID, use the display
irf command.
Use the command...
dir [ /all ] [ file-url |
/all-filesystems ]
Length
1 to 91
characters
1 to 135
characters
1 to 135
characters
96
Example
a.cfg indicates a file named a.cfg
in the current working directory. If
the current working directory is on
the active MPU of the IRF fabric
(the active MPU of the master),
a.cfg represents file a.cfg on the
active MPU of the master; if the
current working directory is on an
standby MPU (any MPU except the
active MPU) of the IRF fabric, a.cfg
represents file a.cfg on the standby
MPU of the master or on a slave.
test/a.cfg indicates a file named
a.cfg in the test folder in the current
working directory.
flash:/test/a.cfg indicates a file
named a.cfg in the test folder in the
root directory of the flash memory
on the active MPU of the IRF fabric.
To read and write the a.cfg file in
the root directory of the flash on an
standby MPU of the IRF fabric (the
member ID and slot number of the
standby MPU are 2 and 5
respectively), input
chassis2#slot5#flash:/a.cfg for the
filename.
Remarks
Required
Available in user view

Advertisement

Table of Contents
loading

Table of Contents