McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)
92
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.
McDATA4GbSAN #> admin start
McDATA4GbSAN (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
See the ”Set Log command” on page 158.