Chapter 4
| System Management Commands
Event Logging
show log
Example
Console#clear log
Console#
Related Commands
show log (130)
This command displays the log messages stored in local memory.
Syntax
show log {flash | ram}
flash - Event history stored in flash memory (i.e., permanent memory).
ram - Event history stored in temporary RAM (i.e., memory flushed on
power reset).
Default Setting
None
Command Mode
Privileged Exec
Command Usage
◆
All log messages are retained in RAM and Flash after a warm restart (i.e., power
is reset through the command interface).
◆
All log messages are retained in Flash and purged from RAM after a cold restart
(i.e., power is turned off and then on through the power source).
Example
The following example shows the event message stored in RAM.
Console#show log ram
[1] 00:01:30 2001-01-01
"VLAN 1 link-up notification."
level: 6, module: 5, function: 1, and event no.: 1
[0] 00:01:30 2001-01-01
"Unit 1, Port
1 link-up notification."
level: 6, module: 5, function: 1, and event no.: 1
Console#
– 130 –