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

change domain nis_config

Function

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

Format

change domain nis_config domain_name=? server_ip_list=?

Parameters

Parameter

Description

Value

domain_name=? Domain name. The value contains 1 to 63 characters including letters, digits, and hyphens (-), and cannot start or end with a hyphen (-). Different levels of domain names are separated by periods (.), for example, domain.com and domain.net.

The value consists of 1 to 63 characters.

server_ip_list=? NIS server address.

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

Level

Administrator

Usage Guidelines

None.

Example

  • 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=10.40.25.10,10.40.25.11,10.40.25.12
    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 : 10.40.25.10 10.40.25.11 10.40.25.12

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Name

NIS domain name.

IP Address List

IP address list or the host name of the NIS server.

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 362772

Downloads: 1590

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