11 – Event Log ConfigurationCreating and Downloading a Log File11-6 59183-02 ASThe Set Setup System command controls local logging through theLocalLogEnabled parameter and remote logging through the RemoteLogEnabledand RemoteLogHostAddress parameters as shown in the following example:SANbox (admin) #> set setup systemA 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 listpress '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.6Creating and Downloading a Log FileEnter the Set Log Archive command to collect the event log messages in a file onthe 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 startSANbox (admin) #> set log archive2. Open an FTP session on the switch and log in with the account nameimages and password images. Transfer the file logfile in binary mode withthe Get command.>ftp ip_addressuser:imagespassword: imagesftp>binftp>get logfilexxxxx bytes sent in xx secs.ftp>quit