User`s guide

2 – Events and Alarms
Displaying the Events Using the Command Line Interface
2-2 PRELIMINARY 59060-00 01
0
2.2
Displaying the Events Using the Command Line Interface
When you log into a switch through Telnet, the command line interface
automatically displays the alarm history. You can use the Show Alarm or Show
Log command to display the alarm history at any time. New alarm messages are
displayed in the command stream as they occur. Refer to the Installation Guide for
your switch for more information about the Show Log command.
2.3
Configuring the Event Log
You can customize what events that 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:
Chassis events associated with hardware such as fans and power supplies
E_Port events
Management server events
Name server events
Port events
Switch management events
Zoning conflict events
Refer to the Installation Guide for your switch for more information about the Set
Log command.
2.4
Archiving and Downloading the Event Log
You can use the command line interface to create a file on the switch that contains
the most recent 200 entries plus the previous 1000 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.
The Set Log Archive command creates a file on the switch named logfile.
SANbox #> admin start
SANbox (admin) #> set log archive