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 and 18000F V5 Series V500R007

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

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 identity_mapping cache

show identity_mapping cache


The show identity_mapping cache command is used to check user mapping caches.


show identity_mapping cache controller=? { username=? | uid=? } [ client_ip=? ]





controller=? Controller ID.

The value format can be "XA", "XB", "XC" and "XD", where the value of X can be an integer ranging from 0 to 3. To obtain the value, run the show controller general command.

username=? User name.

The value is a string containing 1 to 256 characters. The value cannot contain (/), ([]), (:), (;), (|), (=), (,), (+), (?), (<>), (@), (*), ("), and control characters. The last character cannot be (.).

uid=? User ID.

The value is an integer from 0 to 18446744073709551615.

client_ip=? Client IP address.

The value can be an IPv4 address or an IPv6 address.


Developer view, vstore developer view

Usage Guidelines



Check user mapping caches.

developer:/>show identity_mapping cache controller=0A username=unixuser
Name               : unixuser 
Rule Id            : 0 
Uid                : 1000001
Gid Number         : 2
Gids               : 10001,10002
Mapping Uid        : 2000001
Mapping Gid Number : 2
Mapping Gids       : 20001,20002
Expired            : 180

System Response

The following table describes the parameter meanings.




User name.

Rule Id

User mapping rule ID.


User ID.

Gid Number

Number of user groups.


User group ID.

Mapping Uid

Mapping user ID.

Mapping Gid Number

Number of mapping user groups.

Mapping Gids

Mapping user group ID.


Remaining validity period of caches.

Updated: 2020-03-19

Document ID: EDOC1000181602

Views: 836053

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next