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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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 cli history

show cli history

Function

The show cli history command is used to query the history for executed commands.

Format

show cli history [ N=? ]

Parameters

Parameter

Description

Value

N=? Number of most recently executed commands that you want to query.
The value ranges from 1 to 1024.
NOTE:
Given the storage system can memorize a maximum of 1024 executed commands, a value that is equal to 1024 could display all of the memorized commands.

Level

Administrator

Usage Guidelines

  • To query all of the commands memorized by the storage system, run show cli history.
  • To query the N (a numeral) commands that you have executed in most recent, run show cli history N=?.

Example

  • To query all of the memorized commands, run the following command:

    admin:/>show cli history
    [2012-03-31 14:13:48] [admin] [192.168.14.89 3276] [create lun LUN_12G_4 pool_id=2 300M thick lun_id=4 owner_controller=A allocation_policy=performance] [succeeded]
    [2012-03-31 14:13:49] [admin] [192.168.14.89 3276] [create smartqos_policy IO_2 read once 2012-03-31 14:13 24:00 latency=0 lun_id_list=4 smartqos_policy_id=2] [succeeded]
    [2012-03-31 14:13:49] [admin] [192.168.14.89 3276] [change smartqos_policy enabled 2 yes] [succeeded]
    [2012-03-31 14:14:46] [admin] [192.168.8.211 2335] [change cli more_enabled=no] [succeeded]
    [2012-03-31 14:15:52] [admin] [192.168.8.211 2335] [change cli silent_enabled=yes] [succeeded]
    [2012-03-31 14:16:03] [admin] [192.168.8.211 2335] [show cli configuration] [succeeded]
    [2012-03-31 14:16:13] [admin] [192.168.8.211 2335] [change cli silent_enabled=no] [succeeded]
    [2012-03-31 14:17:11] [admin] [192.168.8.211 2335] [show cli history ] [succeeded]
    [2012-03-31 14:18:35] [admin] [192.168.8.211 2335] [show cli history ] [succeeded]
    [2012-03-31 14:18:58] [admin] [192.168.8.211 2335] [show cli history ] [succeeded]
  • To query "5" commands that you have executed in most recent, run the following command:

    admin:/>show cli history N=5
    [2012-03-31 14:16:03] [admin] [192.168.8.211 2335] [show cli configuration] [succeeded]
    [2012-03-31 14:16:13] [admin] [192.168.8.211 2335] [change cli silent_enabled=no] [succeeded]
    [2012-03-31 14:17:11] [admin] [192.168.8.211 2335] [show cli history ] [succeeded]
    [2012-03-31 14:18:35] [admin] [192.168.8.211 2335] [show cli history ] [succeeded]
    [2012-03-31 14:18:58] [admin] [192.168.8.211 2335] [show cli history ] [succeeded]

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 236128

Downloads: 168

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