Managing Files; Displaying File Information; Displaying The Contents Of A Text File - HP 12500 Configuration Manual

Routing switch series
Table of Contents

Advertisement

Format
drive:/[path]/file-name

Managing files

CAUTION:
To avoid file system corruption in standalone mode, do not install or remove storage media or perform
active/standby switchover during file operations.
To avoid file system corruption in IRF mode, do not install or remove storage media or perform a
switchover between the active MPU of the IRF fabric and a standby MPU of the IRF fabric during file
operations.
You can display directory and file information, display file contents, and rename, copy, move, remove,
restore, and delete files.
You can create a file by copying, downloading, or using the save command. For more information about
downloading a file, see "Configuring FTP" and "Configuring TFTP." For more information about the save
command, see Fundamentals Command Reference.
Before you rename, compress, decompress, delete, restore, or move a file on a USB disk, or copy a file
to a USB disk, make sure the disk is not write protected.

Displaying file information

Perform this task in user view.
Task
Display folder or file information.

Displaying the contents of a text file

Perform this task in user view.
Description
Specifies a file in a specific storage
medium on the device.
The drive argument represents the
storage medium name.
The storage medium on the active MPU
of the master is typically flash or cf0.
The storage medium on a subordinate
device is typically chassism#slotn#flash
or chassism#slotn#cf0, where m
represents the member ID of the
subordinate device and n represents
the slot number of the MPU.
To view the correspondence between a
member device and its member ID, use
the display irf command.
80
Example
flash:/test/a.cfg indicates a file
named a.cfg in the test folder in the
root directory of the Flash on the
global active MPU of the IRF fabric.
chassis2#slot5#flash:/a.cfg indicates
a file named a.cfg in the root directory
of the Flash on the standby MPU in
slot 5 on member device 2.
Command
dir [ /all ] [ file-url | /all-filesystems ]

Advertisement

Table of Contents
loading

Table of Contents