Справочник Пользователя для Q-Logic 59060-02 B

Скачать
Страница из 62
2 – Events and Event Logging
Configuring the Event Log
59060-02 B
2-3
A
2.4
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:
„
E_Port events
„
Management server events
„
Name server events
„
Port events
„
Switch management events
„
Simple Network Management Protocol (SNMP) events
„
Zoning events
Refer to the Command Line Interface Guide for your switch for more information 
about the Set Log command.
2.5
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
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