172
Using the emergency shell
At startup, the device tries to locate and load the Comware startup software images. These images
can include a boot image, a system image, feature images, and patch images. If the following
requirements are met, the device enters emergency shell mode:
•
The boot image exists and can be used.
•
The system image, a feature image, or a patch image is missing or corrupt.
After the device enters emergency shell mode, you can log in through the console port to obtain and
load a system image to start the Comware system. After the Comware system is started, you can
load feature images and patch images. This chapter describes how to obtain and load the system
image in emergency shell mode. For information about loading feature and patch images, see
"
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 "
." For more information about how to
log in through the console port, see "
Using the console port for the first device access
This feature is not available on LSU1SUPB0 (JG496A) and LSUM1SUPD0 (JH198A, JH206) MPUs.
Managing the file systems
The emergency shell provides some basic file system management commands for managing files,
directories, and storage media.
IMPORTANT:
•
A file deleted by using the
delete
command cannot be restored.
•
The
format
command permanently deletes all files and directories from a file system. The
deleted files and directories cannot be restored.
To manage the file systems, execute the following commands in user view:
Task
Command
Remarks
Display files or directories.
dir
[
/all
] [
file
|
directory
]
N/A
Create a directory.
mkdir
directory
The parent directory must already exist.
For example, to create the directory
flash:/test/mytest
, the parent directory
test
must already exist.
The name for the new directory must be
unique in the parent directory.
Display the working directory.
pwd
N/A
Copy a file.
copy source-file
{
dest-file
|
dest-directory
}
N/A
Move a file.
move source-file
{
dest-file
|
dest-directory
}
The destination directory must have
enough space for the file.
Display the contents of a text
file.
more file
N/A
Permanently delete a file.
delete file
N/A
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...