No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI provided by DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change event_restore address

change event_restore address

Function

The change event_restore address command is used to configure dump addresses for system events.

Format

change event_restore address { ip=? | server_name=? } directory=? user=? password=? [ protocol=? ] [ function_test=? ]

Parameters

Parameter

Description

Value

ip=?

IP address of an File Transfer Protocol (FTP) server or a Secure File Transfer Protocol (SFTP) server for storing system events that you want to dump.

-

server_name=?

Server address of a File Transfer Protocol (FTP) server or a Secure File Transfer Protocol (SFTP) server to which system events will be dumped.

The domain name is a case-insensitive string of 1 to 255 characters, including letters, digits and hyphens (-). Domain names at various levels are separated by periods (.). Hyphens (-) cannot be the start or end of the domain name.

directory=?

Path to the system events that you want to dump.

-

user=?

Username of an FTP server or SFTP server.

The value consists of 1 to 63 ASCII characters except single quotation marks (').

password=?

Password for logging in to an FTP server or SFTP server.

The value consists of 1 to 63 ASCII characters.

protocol=?

Transfer protocol type.

The value can be "FTP" or "SFTP". The default value is "SFTP".

To ensure the security of data transfer, you are advised to use Secure File Transfer Protocol (SFTP).

function_test=?

Whether to perform the validity test of dump configurations.

The value can be "yes" or "no", where:

  • "yes": The validity of dump configurations is tested.
  • "no": The validity of dump configurations is not tested.

The default value is "no".

Level

Administrator

Usage Guidelines

If the storage system serves as a server in the file transfer with external systems, it supports the SFTP service only. If the storage system serves as a client, it supports both the FTP and SFTP services.

Example

  • Modify the system events dump function. The new IP address of the SFTP server for storing dumped system events is "192.168.8.211", the name of the directory path for storing those events is "/path/newcopy", and the username and password for logging in to the SFTP server are "admin" and "123456" respectively.
    admin:/>change event_restore address ip=192.168.8.211 directory=/path/newcopy user=admin password=****** 
    Command executed successfully.
  • Verify the updated settings.
    admin:/>show event_restore 
      Enable  IP        FTP/SFTP  Path User Name  Protocol 
      ------  ------------ -------------     ----- ---------- 
      Yes 192.168.8.211 /path/newcopy admin SFTP
  • Test the system events dump function. The IP address of the SFTP server for storing dumped system events is "192.168.8.211", the name of the directory for storing those events is "/path/newcopy", and the username and password for logging in to the SFTP server are "admin" and "123456" respectively.
    admin:/>change event_restore address ip=192.168.8.211 directory=/path/newcopy user=admin password=****** function_test=yes 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 327852

Downloads: 41

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next