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.


Advanced O&M Command Reference

OceanStor 18000 V3 Series V300R006

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

show domain netgroup


The show domain netgroup command is used to query information about LDAP/NIS network groups.


show domain netgroup name=? domain_type=? [ client=? ]






Network group name.

The value contains 1 to 256 characters.


Domain controller type.

Queries network groups of a specified type. The value can be "LDAP" and "NIS", where:

  • "LDAP": queries information about LDAP domain network groups.
  • "NIS": queries information about NIS domain network groups.


IP address or host name of the client.

The value can be IP address or host name, contains 1 to 255 letters.

  • IP address - IPv4 or IPv6 address.
  • 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 _.).


Developer view, vstore developer view

Usage Guidelines



  • Query information about the network group of a specified name.
    developer:/>show domain netgroup name=group1 domain_type=LDAP 
    Domain Type: LDAP 
    Netgroup Name: group1  
    Member Num: 2 
    NetgroupTriple: (,user1, (,user1,
  • Query whether a specified client belongs to the network group of a specified name.
    developer:/>show domain netgroup name=admin domain_type=LDAP client= 
    Domain Type: LDAP 
    Netgroup Name: admin 
    Member Num: 1 
    NetgroupTriple: (,user1,

System Response

The following table describes the parameter meanings.



Domain Type

Domain controller type.

Netgroup Name

Network group name.

Member Num

Number of members.


Member information.

Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 501450

Downloads: 85

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