McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)
90
Managing the event log configuration
Managing the event log configuration consists of the following tasks:
• Configure the event log, page 90
• Display the event log configuration, page 90
• Restore the event log configuration, page 90
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 Set Log Component, Set Log Level, 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
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.
McDATA4GbSAN (admin) #> set log component switch
McDATA4GbSAN (admin) #> set log level warn
McDATA4GbSAN (admin) #> set log port 0 1 2 3
McDATA4GbSAN (admin) #> set log save
See the ”Set Log command” on page 158.
Display the event log configuration
Enter the Show Log Settings command to display all event log configuration settings as shown in the
following example:
McDATA4GbSAN #> show log settings
Current settings for log
------------------------
Started True
FilterComponent NameServer MgmtServer Zoning Switch Blade Port Eport Snmp CLI
FilterLevel Info
DisplayLevel Critical
FilterPort 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
See the ”Show Log command” on page 186.
Restore the event log configuration
Enter the Set Log Restore command to return the event log configuration to the factory default as
shown in the following example:
McDATA4GbSAN (admin) #> set log restore
See the ”Set Log command” on page 158.