Alcatel-Lucent 6850-48 Reference Guide

Page of 3444
Session Management Commands
page 6-24
OmniSwitch CLI Reference Guide
September 2009
command-log
Enables or disables command logging on the switch. When command logging is enabled, a command.log 
is automatically created; this file stores a comprehensive CLI command history for all active sessions since 
the function was first enabled.
command-log {enable | disable}
Syntax Definitions
enable
Creates a file called command.log in the switch’s /flash directory. Any 
configuration commands entered on the command line will be recorded 
to this file until command logging is disabled.
disable
Disables logging of current session commands to the command.log file.
Defaults
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
The maximum log file size is 66,402 bytes; the file may hold up to 100 commands.
Examples
-> command-log enable
-> command-log disable
Release History
Release 6.1; command was introduced.
Related Commands
MIB Objects
sessionCliCommandLogEnable
parameter
default
enable | disable
disable
Displays the contents of the command.log file.
Shows the current status of the command logging function 
(i.e., enabled or disabled).