11 – Event Log Configuration
Managing the Event Log Configuration
11.3.1
Configure the Event Log
You can customize what events are recorded in the switch event log according to
component, severity level, and port. Enter the
and Set Log Port commands to filter the events to be recorded. You can choose
from the following component events:
E_Port events
Management server events
Name server events
Port events
Switch management events
Simple Network Management Protocol (SNMP) events
Zoning events
Call Home events
The following example configures the event log to record switch management
events with warning and critical severity levels associated with ports 0–3. Entering
the Set Log Save command ensures that this configuration is preserved across
switch resets.
SANbox (admin) #> set log component switch
SANbox (admin) #> set log level warn
SANbox (admin) #> set log port 0 1 2 3
SANbox (admin) #> set log save
11.3.2
Display the Event Log Configuration
Enter the
settings as shown in the following example:
SANbox #> show log settings
Current settings for log
------------------------
Started
FilterComponent
FilterLevel
DisplayLevel
FilterPort
11-4
Show Log
Settings command to display all event log configuration
True
NameServer MgmtServer Zoning Switch Blade Port Eport Snmp CLI QFS
Info
Critical
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Set Log
Component, Set Log Level,
S
59183-02 A