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 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. 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

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=?

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, domain.com,domain.net.

The value consists of 1 to 63 characters.

server_ip_list=?

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 _.).

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

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 235569

Downloads: 150

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