H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Event Log Configuration
Creating and Downloading a Log File
110 59272-00 C
Creating and Downloading a Log File
Enter the Set Log Archive command to collect the event log messages in a file on
the Switch Module named logfile. This file can have a maximum of 1200 event
messages. Use FTP to download the file from the Switch Module to your
workstation as follows:
1. Log into the Switch Module through Telnet and create an archive of the
event log. The Set Log Archive command creates a file on the Switch
Module named logfile.
H3C #> admin start
H3C (admin) #> set log archive
2. Open an FTP session on the Switch Module 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










