Configure the History Command Saving Function
Configuration Condition
None
Configure the History Command Saving Function
Through the history command saving function, you can query and collect the history commands that have been executed. Before the history command saving function is configured, history commands are saved in the memory file system. After the function is configured, the system automatically saves history commands in the flash file system.
Table 7-7 Configuring the History Command Saving Function
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Configure to save history commands.
|
shell-history save
|
Mandatory.
By default, the history command saving function is enabled.
|