H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Command Reference
Set Log
210 59272-00 C
Set Log
Specifies the events to record in the event log and display on the screen. You
determine what events to record in the
Switch Module event log using the
Component, Level, and Port keywords. You determine what events are
automatically displayed on the screen using the Display keyword. Alarms are
always displayed on the screen.
Authority Admin session
Syntax set log
archive
clear
component [filter_list]
display [filter]
level [filter]
port [port_list]
restore
save
start (default)
stop
Keywords archive
Collects all log entries and stores the result in new file named logfile that is
maintained in
Switch Module memory where it can be downloaded using FTP. To
download logfile, open an FTP session, log in with account name/password of
“images” for both, and type “get logfile”.
clear
Clears all log entries.
component [filter_list]
Specifies one or more components given by [filter_list] to monitor for events. A
component is a firmware module that is responsible for a particular portion of
Switch Module operation. Use a <space> to delimit values in the list. [filter_list] can
be one or more of the following:
All
Monitors all components. To maintain optimal
Switch Module performance, do
not use this setting with the Level keyword set to Info.
None
Monitor none of the component events.










