Using The Emergency Shell; Managing The File System - HP 12500 Configuration Manual

Routing switch series
Table of Contents

Advertisement

Using the emergency shell

At startup, the device tries to locate and load the Comware startup software images, which might include
a boot image, a system image, some feature images, and some patch images. If the startup boot image
is OK but the startup system image or any startup feature or patch image is missing or corrupted, the
device enters emergency shell mode.
After the device enters emergency shell mode, you can log in through the console port and get and load
a system image to start the Comware system. After the Comware system is started, you can load feature
images and patch images as described in "Upgrading software", "Performing an ISSU by using issu
series commands", or "Performing an ISSU by using install series commands." This chapter describes
how to get and load the system image in emergency shell mode.
If the device has two MPUs, the two MPUs start up independently. If one MPU enters emergency shell
mode, log in to that MPU through its console port to load a system image for it.
For more information about software images, see "Upgrading software." For more information about
how to log in through the console port, see "Logging in through the console port for the first device
access."

Managing the file system

The emergency shell provides some basic file system management commands for managing the files on
the device's storage media. You can use these commands to manage the file system.
IMPORTANT:
A file deleted by using the delete command cannot be restored.
The format command permanently deletes all files and folders from a storage medium, and the deleted
files and folders cannot be restored.
To manage the file system, execute the following commands in user view:
Task
Display files or folders.
Create a folder on a
storage medium.
Display the current
path.
Copy a file.
Move a file.
Command
dir [ /all ] [ file-url ]
mkdir directory
pwd
copy fileurl-source
fileurl-dest
move fileurl-source
fileurl-dest
160
Remarks
N/A
The parent folder must already exist. For example, to
create folder flash:/test/mytest, the parent folder test
must already exist on the Flash.
The name for the new folder must be unique under the
parent folder.
N/A
N/A
The target folder must have enough space for the file.

Advertisement

Table of Contents
loading

Table of Contents