01-Fundamentals Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C MSR1000[2600][3600] Routers Configuration Guides(V9)-R9119-6W10001-Fundamentals Configuration Guide
08-Emergency shell configuration
Title Size Download
08-Emergency shell configuration 51.30 KB

Using the emergency shell

About the emergency shell

At startup, the device tries to locate and load the following images on the startup software images list:

·     Boot image, required for the device to operate.

·     System image, required for the device to operate.

·     Feature images, used to provide features as needed.

·     Patch images, used to fix bugs as needed.

If the boot image is available but one or more of the other images are not, the device enters emergency shell mode.

In emergency shell mode, common service interfaces are not available. You can log in to the device only through the console port. After login, you can obtain and load a system image to start the Comware system.

For more information about software images, see "Upgrading software."

Restrictions and guidelines: Emergency shell

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.

Managing the file systems

About this task

The emergency shell provides some basic file system management commands for managing files, directories, and storage media.

Procedure

To manage the file systems, execute the following commands as needed in user view:

·     Display the current status of the file systems.

¡     Display files or directories.

dir [ /all ] [ file | directory ]

¡     Display the working directory.

pwd

¡     Display the contents of a text file.

more file

·     Create a directory.

mkdir directory

The parent directory must already exist. The name for the new directory must be unique in the parent directory.

·     Copy a file.

copy source-file { dest-file | dest-directory }

·     Move a file.

move source-file { dest-file | dest-directory }

The destination directory must have enough space for the file.

·     Delete files or directories.

¡     Permanently delete a file.

delete file

Use this command with caution. The deleted file cannot be restored.

¡     Delete a directory.

rmdir directory

To delete a directory, first delete all files and subdirectories in the directory.

Use this command with caution. The deleted directory cannot be restored.

·     Format a file system.

format filesystem

Use this command with caution. This command permanently deletes all files and directories from the file system. The deleted files and directories cannot be restored.

Displaying boot image version information

To display boot image version information, execute the following command in any view:

display version

Rebooting the device

About this task

For the system image to take effect, you must reboot the device.

Procedure

To reboot the current MPU, execute the following command in user view:

reboot

Verifying and maintaining emergency shell

Perform display tasks in any view.

·     Display copyright information.

display copyright

·     Display software package information.

display install package package

·     Display boot image version information.

display version

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网