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 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 domain nis_config

change domain nis_config


The change domain nis_config command is used to modify NIS domain authentication configurations.


change domain nis_config domain_name=? server_ip_list=?






A domain name contains 1 to 63 characters chosen from letters, digits, underscores (_), and hyphens (-), and cannot start or end with an underscore (_) or a hyphen (-). A domain name at each level can contain a maximum of 63 characters. Domain names at various levels are separated by periods (.). For example,,

The value consists of 1 to 63 characters.


NIS server address or host name. A maximum of three IP addresses are supported. Use commas (,) to separate IP addresses.

IP address: A maximum of three IP addresses (IPv4 or IPv6 addresses) are supported. Use commas (,) to separate IP addresses. Host name:

  • Contains 1 to 255 letters, digits, hyphens (-), periods (.), and underscores (_).
  • Must start with a letter or digit and cannot end with a hyphen (-) or underscore (_).
  • Cannot contain consecutive periods (.), pure digits (.), or the combination of a period and underscore (._ or _.).



Usage Guidelines



  • Query NIS domain authentication configurations before the modification.
    admin:/>show domain nis 
    Name           : 
    IP Address List :
  • Modify NIS domain authentication configurations.
    admin:/>change domain nis_config domain_name=nisdomain server_ip_list=,, 
    WARNING:You are about to run the command for configuring the NIS domain. The NIS domain does not support encrypted transmission, which may cause security risks. 
    Suggestion: Before performing this operation, ensure that the risk is acceptable. 
    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.
  • Query NIS domain authentication configurations after the modification.
    admin:/>show domain nis 
    Name            : nisdomain  
    IP Address List :

System Response


Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 332445

Downloads: 41

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