Show logging – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual
Page 144
88
Brocade 6910 Ethernet Access Switch Configuration Guide
53-1002651-02
5
Event Logging
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#
show logging
This command displays the configuration settings for logging messages to local switch memory, to
an SMTP event handler, or to a remote syslog server.
Syntax
show logging {flash | ram | sendmail | trap}
flash - Displays settings for storing event messages in flash memory (i.e., permanent
memory).
ram - Displays settings for storing event messages in temporary RAM (i.e., memory flushed
on power reset).
sendmail - Displays settings for the SMTP event handler (see
trap - Displays settings for the trap function.
Default Setting
None
Command Mode
Privileged Exec
Example
The following example shows that system logging is enabled, the message level for flash memory is
“errors” (i.e., default level 3 - 0), and the message level for RAM is “debugging” (i.e., default level
7 - 0).
Console#show logging flash
Syslog logging: Enabled
History logging in FLASH: level errors
Console#show logging ram