2-941
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands show log command
show log command
To display the command log entries, use the show log command command.
show log command [mod]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal.
Usage Guidelines The command log entry table is a history log of commands input to the switch from the console, Telnet
or SSH.
Examples This example shows how to display the command log for a spe cific m odule :
Console> show log command
Active Command Log
001. Jul 19 13:49:44 Pid = 174 set logg cons ena
Session Type = Console TTY = 0 Username = Location =
002. Jul 19 13:49:51 Pid = 174 en engineer
Session Type = Console TTY = 0 Username = Location =
003. Jul 19 13:50:13 Pid = 174 start_op_console
Session Type = Telnet TTY = 22542919 Username = Location=172.20.16.10
004. Jul 19 13:50:15 Pid = 174 sh int
Session Type = Telnet TTY = 22542919 Username = Location = 172.20.16.10
005. Jul 19 13:50:16 Pid = 174 ena
Session Type = SSH TTY = 2254347796 Username = cisco Location = 10.5.7.62
006. Jul 19 13:50:18 Pid = 174 sh int
Session Type = Console TTY = 0 Username = Location =
007. Jul 19 13:51:55 Pid = 174 sh log comm
Session Type = SSH TTY = 2254347796 Username = Location = 10.5.7.62
008. Jul 19 13:52:09 Pid = 174 en eng
Session Type = Telnet TTY = 22542919 Username = cisco Location = 172.20.16.10
009. Jul 19 13:52:24 Pid = 174 set feature log-command disabl
Session Type = Console TTY = 0 Username = cisco Location =
010. Jul 19 13:52:42 Pid = 174 sh log command
Session Type = Console TTY = 0 Username = Location =
011. Jul 19 13:52:55 Pid = 174 sh log comma
Session Type = Telnet TTY = 22542919 Username = cisco Location = 172.20.16.10
Console>
Related Commands clear log command
mod (Optional) Number of the module.