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

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 functionsand 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

Function

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

Format

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

Parameters

Parameter

Description

Value

name

Network group name.

The value contains 1 to 256 characters.

domain_type

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.

client

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

Views

Developer view, vstore developer view

Usage Guidelines

None

Example

  • 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: (192.168.19.120,user1,huawei.com) (192.168.38.62,user1,huawei.com)
  • Query whether a specified client belongs to the network group of a specified name.
    developer:/>show domain netgroup name=admin domain_type=LDAP client=192.168.19.120 
    Domain Type: LDAP 
    Netgroup Name: admin 
    Member Num: 1 
    NetgroupTriple: (192.168.19.120,user1,huawei.com)

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Domain Type

Domain controller type.

Netgroup Name

Network group name.

Member Num

Number of members.

NetgroupTriple

Member information.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 488314

Downloads: 85

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