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


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


Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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 system server_port

change system server_port


The change system server_port command is used to modify port information of the system.


change system server_port server_name=? port_num=?






Service name to be changed.

The value can be "SSH".


Port number to be changed.

The value can be "22" or an integer from 24000 to 24900.


Super administrator

Usage Guidelines

  • The first parameter of this command indicates the name of this service. This command can only be used to change the SSH service port number.
  • The second parameter of this command indicates the port number of the service to be changed. The value can be "22" or an integer from 24000 to 24900.
  • If dump servers (for example, for performance statistics file dumping and alarm dumping) are configured and use the SFTP protocol, ensure that port IDs used by the dump servers are consistent with those used by the SSH service of the storage array.


Change the SSH service port to "24000".

admin:/>change system server_port server_name=SSH port_num=24000 
WARNING:You are about to change the SSH service port number. This operation changes the port used to manage the storage system. 
Suggestion: Ensure that the SSH port number needs to be changed.  
Have you read warning message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n)y 
Command executed successfully.

System Response


Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 320708

Downloads: 38

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