Q-Logic 5000 Switch User Manual


 
11 – Event Log Configuration
Creating and Downloading a Log File
11-6 59183-02 A
S
The Set Setup System command controls local logging through the
LocalLogEnabled parameter and remote logging through the RemoteLogEnabled
and RemoteLogHostAddress parameters as shown in the following example:
SANbox (admin) #> set setup system
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
EthNetworkDiscovery (1=Static, 2=Bootp, 3=Dhcp, 4=Rarp) [Static ]
EthNetworkAddress (dot-notated IP Address) [10.0.0.1 ]
EthNetworkMask (dot-notated IP Address) [255.255.255.0]
EthGatewayAddress (dot-notated IP Address) [10.0.0.254 ]
AdminTimeout (dec value 0-1440 minutes, 0=never) [30 ]
InactivityTimeout (dec value 0-1440 minutes, 0=never) [0 ]
LocalLogEnabled (True / False) [True ]
RemoteLogEnabled (True / False) [False ]
RemoteLogHostAddress (dot-notated IP Address) [10.0.0.254 ]
NTPClientEnabled (True / False) [False ]
NTPServerAddress (dot-notated IP Address) [10.0.0.254 ]
EmbeddedGUIEnabled (True / False) [True ]
11.6
Creating and Downloading a Log File
Enter the Set Log Archive command to collect the event log messages in a file on
the switch named logfile. This file can have a maximum of 1200 event messages.
Use FTP to download the file from the switch to your workstation as follows:
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 log in 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