Find answers to your technical questions and learn how to use our products
Search suggestions:
Use cmdHistoryLogConfig command to define the number of months that the system must maintain the command history and to compress the command history file after execution of rotation action.
cmdHistoryLogConfig[[--numMonths <3-24>][--enableComp y | n]]|[[--minMonths][--maxMonths]]||--rclist]||[--rcode<number>]||[--help|-h]
number of months commandhistory log is to be retained.
sets enabling (y) or disabling (n) of compression
displays the minimum number of months the command history log can be retained
displays the maximum number of months the command history log can be retained
list possible return code from this command
obtain error string associated with return code
displays usage
Field
Description
numMonths
enableComp
This enables or disables the log compression. By default this value is set to n.
minMonths
The minimum number of months the command history log can be retained.
maxMonths
The maximum number of months the command history log can be retained
rclist
Possible return codes
rcode
This obtains the string associated with the return code entered.
--help
Provides help on the usage of the cmdHistoryLogConfig command.
Previous Topic
Next Topic