H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Event Log Configuration
Clearing the Event Log
59272-00 C 107
Restore the Event Log Configuration
Enter the Set Log Restore command to return the event log configuration to the
factory default as shown in the following example:
H3C (admin) #> set log restore
Clearing the Event Log
Enter the Set Log Clear command to delete all entries in the event log as shown in
the following example:
H3C (admin) #> set log clear
Logging to a Remote Host
The Switch Module comes from the factory with local logging enabled, which
instructs the Switch Module firmware to maintain an event log in Switch Module
memory. The Switch Module can also be configured to log events to a remote host
that supports the syslog protocol. This requires that you enable remote logging on
the Switch Module and specify an IP address for the remote host.
NOTE:
To log event messages on a remote host, you must edit the syslog.conf file
on the remote host and then restart the syslog daemon. The syslog.conf file
must contain an entry that specifies the name of the log file. Add the
following line to the syslog.conf file. A <tab> separates the selector field
(local0.info) and action field which contains the log file path name
(/var/adm/messages/messages.name).
local0.info <tab> /var/adm/messages/messages.name
Consult your host operating system documentation for information on how to
configure remote logging.










