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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, 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 consists of 1 to 63 case-insensitive letters, digits, and hyphens "-". Domain names at various levels are separated by periods (.) and cannot start or end with a hyphen "-". A top-level domain name cannot contain digits only.

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 characters.

password=? Password for logging in to an FTP server or SFTP server.

The value consists of 1 to 63 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

  • Modifying 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.
  • Verifying the updated settings.

    admin:/>show event_restore
      Enable  IP             FTP/SFTP Path  User Name  Protocol
      ------  -------------  -------------  ---------  ---------
      Yes     192.168.8.211  /path/newcopy  admin      SFTP
  • Testing 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-07-22

Document ID: EDOC1000084195

Views: 367765

Downloads: 1594

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