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.


Fat AP and Cloud AP V200R010C00 Command Reference

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).
display history-command

display history-command


The display history-command command displays the historical commands stored on the current device.


display history-command




All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run this command to check historical commands the user has executed recently. This command facilitates information search. Historical commands are stored in the circular mode and a maximum of 200 historical commands can be displayed.


All the historical commands entered by a user are automatically saved on the terminal, that is, any input that ends with Enter is saved as a historical command.

  • Historical commands are saved in the same format as that used in the input. If a command that is entered by a user is in an incomplete format, the saved historical command is also in the incomplete format.

  • If a user runs a command several times, only the latest command is saved on the device. If the command is entered in different formats, they are considered as different commands.

You can view historical commands using the following methods:

  • To view the previous historical command, press the Up arrow key or Ctrl+P.

    If there is an earlier historical command, the earlier historical command is displayed.

  • To view the next historical command, press the Down arrow key or Ctrl+N.

    If there is a new historical command, the new historical command is displayed.

Access to historical commands using the Up arrow key does not apply to Windows 9X. The Up arrow key has different functions in Windows 9X and needs to be replaced by shortcut keys Ctrl+P.


# Display the historical commands that have been executed on the current terminal.

<Huawei> display history-command
  user privilege level 15
  user-interface vty 0 4
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 205138

Downloads: 122

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