Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
Session Management Commands
page 6-48
OmniSwitch CLI Reference Guide
September 2009
show command-log
Displays the contents of the command.log file. This file contains a record of all CLI commands executed 
on the switch since the command logging function was enabled. For more information on enabling and 
disabling command logging, refer to 
show command-log
Syntax Definitions
N/A
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• The show command-log command lists CLI commands in the descending order. In other words, the 
most recent commands are listed first. In the example below, the command-log enable syntax is the 
least recent command logged; the ip interface Marketing address 17.11.5.2 vlan 255 syntax is the 
most recent.
• By default, command logging is disabled. To enable command logging on the switch, use the 
• As mentioned above, command history is archived to the command.log file. If this file is removed, the 
command history will no longer be available. In addition, the command.log file has a 66,402 byte 
capacity. This capacity allows up to 100 commands; if the maximum capacity is reached, only the 100 
most recent commands display.
Examples
-> show command-log
Command : ip interface Marketing address 17.11.5.2 vlan 255
  UserName : admin
  Date     : FRI JAN 09 00:20:01
  Ip Addr  : 128.251.19.240
  Result   : SUCCESS
Command : ip interface "Distribution" 11.255.14.102 vlan 500 local-proxy-arp
  UserName : admin
  Date     : FRI JAN 09 00:19:44
  Ip Addr  : 128.251.19.240
  Result   : ERROR: Ip Address must not belong to IP VLAN 44 subnet
Command : command-log enable
  UserName : admin
  Date     : FRI JAN 09 00:18:49
  Ip Addr  : 128.251.19.240
  Result   : SUCCESS