2 – Events and Event Logging
Configuring the Event Log
2-4 59060-05 A
S
Configuring the Event Log
You can customize what events are recorded in the switch event log using the
Set Log command. With the Set Log command, you can filter the events to be
recorded by component, specific ports, and severity level. 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
For more information about the CLI commands, refer to the Command Line
Interface Guide for your switch.
Archiving and Downloading the Event Log
You can use the CLI to create a file on the switch that contains the most recent
1200 entries. This file can then be downloaded to the workstation using FTP. To
create and download a log file, do the following:
1. Log into the switch through Telnet and create an archive of the event log
using the Set Log Archive command.
SANbox #> admin start
SANbox (admin) #> set log archive
This creates a file on the switch named logfile.
2. Open an FTP session on the switch and login with the account name images
and password images. Transfer the file logfile in binary mode with the Get
command.
>ftp ip_address
user:images
password: images
ftp>bin
ftp>get logfile
xxxxx bytes sent in xx secs.
ftp>quit