Keyword and Value
Description
Default Value
-u user name
The user name of the FTP
server.
None.
-p password
The user password of the FTP
server.
None.
-f file
The path of the configuration
file that is stored on the FTP
server, and the file name.
None.
Modes
Normal mode and safe mode.
Level
Super administrator level and administrator level.
Usage Guidelines
When using this command, note the following items:
l
The file is a .dat file.
l
Importconf is not allowed when LUN is formatting.
l
The command
importconf
can be used only on the primary controller.
l
When you run this command, ensure that the FTP service is enabled on the FTP server.
Example
Import the data of the configuration file. The IP address of the FTP server is 10.10.10.1. The
user name is root, and the password is 123456. The configuration file, configurefile.dat, is stored
in the path /home/ISM.
OceanStor: admin> importconf -i 10.10.10.1 -u root -p 123456 -f /home/ISM/
configurefile.dat
if the file is imported, the system will be restarted!
do you want to continue? y or n: y
the system is going to reboot...
4.4.5 exportstat
Function
The command
exportstat
is used to export the configuration information from the system. The
configuration file is a readable .txt file.
Format
exportstat
-i
host IP address
-u
user name
-p
password
-f
file
4 System Management Commands
OceanStor S2600 Storage System
Command Reference
4-16
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)