The clear history enable command configures the function that all the history records in the operation system are cleared when the user exits from the virtual gateway.
The undo clear history enable command disables the function that all the history records in the operation system are cleared when the user exits from the virtual gateway.
You need to enable the cache clearing function before running the clear history enable command.
By default, the function is disabled.
# Configure the function that all the history records in the operating system are cleared when the user exits from the virtual gateway.
<sysname> system-view [sysname] v-gateway abc [sysname-abc] cachecleaner [sysname-abc-cachecleaner] cache-cleaner enable [sysname-abc-cachecleaner] clear history enable