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.


Fit 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).
Displaying History Commands

Displaying History Commands

By default, the system saves 10 history commands for each user. Run the history-command max-size size-value command to reset the number of history commands that are allowed to be saved in a specified user interface view. The maximum number is 256.


If the value is too large, it may take a long time to obtain a required history command. Therefore, a large value is not recommended.

Table 1-3 shows operations of history commands.

Table 1-3  Accessing history commands


Command or Key


Display history commands.

display history-command

Display history commands entered by the current user.

Display the earlier history command.

Up arrow key ↑ or Ctrl+P

If there is an earlier history command, the earlier history command is displayed. Otherwise, an alarm is generated.

Display the later history command.

Down arrow key ↓ or Ctrl+N

If there is a later history command, the later history command is displayed. Otherwise, the command is cleared and an alarm is generated.


You cannot access history commands using the Up arrow key ↑ in HyperTerminal Windows 9X. The Up arrow key ↑ has a different function in Windows 9X and need to be replaced by the shortcut key Ctrl+P.

When using history commands, note the following:

  • The saved history commands are the same as that those entered by users. For example, if the user enters an incomplete command, the saved command also is incomplete.

  • If the user runs the same command several times, only the latest command is saved. If the command is entered in different forms, they are considered as different commands.

    For example, if the display current-configuration command is run several times, only one history command is saved. If the display current-configuration command and the dis curr command are used, both of them are saved.

Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 125227

Downloads: 98

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