show domain netgroup
Function
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:
|
client | IP address or host name of the client. | The value can be IP address or host name, contains 1 to 255 letters.
|
Example
-
Query information about the network group of a specified name.
admin:/>show domain netgroup name=group1 domain_type=LDAP Domain Type: LDAP Netgroup Name: group1 Member Num: 2 NetgroupTriple: (10.40.19.120,user1,vendor.com) (10.40.38.62,user1,vendor.com)
-
Query whether a specified client belongs to the network group of a specified name.
admin:/>show domain netgroup name=admin domain_type=LDAP client=10.40.19.120 Domain Type: LDAP Netgroup Name: admin Member Num: 1 NetgroupTriple: (10.40.19.120,user1,vendor.com)