Session Management Commands
command-log
OmniSwitch CLI Reference Guide
March 2011
page 41-17
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 10K
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 7.1.1; command was introduced.
Related Commands
MIB Objects
sessionCliCommandLogEnable
parameter
default
enable | disable
disable
show command-log
Displays the contents of the
command.log
file.
show command-log status
Shows the current status of the command logging function
(i.e., enabled or disabled).
Summary of Contents for 060321-10, Rev. B
Page 1: ...Part No 060321 10 Rev B March 2011 OmniSwitch CLI Reference Guide www alcatel lucent com...
Page 36: ...Technical Support About This Guide page xxxvi OmniSwitch CLI Reference Guide March 2011...
Page 108: ...show udld status port UDLD Commands page 2 22 OmniSwitch CLI Reference Guide March 2011...
Page 142: ...show vlan members VLAN Management Commands page 4 16 OmniSwitch CLI Reference Guide March 2011...
Page 922: ...show ip ospf restart OSPF Commands page 17 88 OmniSwitch CLI Reference Guide March 2011...
Page 968: ...show ipv6 ospf interface OSPFv3 Commands page 18 46 OmniSwitch CLI Reference Guide March 2011...
Page 1414: ...show ip dvmrp tunnel DVMRP Commands page 22 34 OmniSwitch CLI Reference Guide March 2011...
Page 1540: ...show ipv6 pim sgroute PIM Commands page 23 126 OmniSwitch CLI Reference Guide March 2011...
Page 1888: ...show aaa priv hexa AAA Commands page 28 58 OmniSwitch CLI Reference Guide March 2011...
Page 1902: ...show port mapping Port Mapping Commands page 29 14 OmniSwitch CLI Reference Guide March 2011...
Page 1960: ...show sflow poller sFlow Commands page 32 18 OmniSwitch CLI Reference Guide March 2011...
Page 2226: ...ftp File Management Commands page 42 38 OmniSwitch CLI Reference Guide March 2011...
Page 2284: ...show snmp trap config SNMP Commands page 45 32 OmniSwitch CLI Reference Guide March 2011...
Page 2294: ...show dns DNS Commands page 46 10 OmniSwitch CLI Reference Guide March 2011...
Page 2350: ...OmniSwitch CLI Reference Guide March 2011 page 22 DNS Commands...