H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7

Command Reference
Set Log
212 59272-00 C
Info
Monitors informative, warning, and critical events. The informative level
describes routine events associated with a normal fabric.
None
Monitors none of the severity levels.
port [port_list]
Specifies one or more ports to monitor for events. Choose one of the following
values:
[port_list]
Specifies the port or ports to monitor. [port_list] can be a set of port numbers
and ranges delimited by spaces. For example, [0 5-7] specifies ports 0, 5, 6,
and 7.
All
Specifies all ports.
None
Disables monitoring on all ports.
restore
Restores and saves the port, component, and level settings to the default values.
save
Saves the log settings for the component, severity level, port, and display level.
These settings remain in effect after a
Switch Module reset. The log settings can be
viewed using the Show Log Settings command. To export log entries to a file, use
the Set Log Archive command.
start
Starts the logging of events based on the Port, Component, and Level keywords
assigned to the current configuration. The logging continues until you enter the
Set Log Stop command.
stop
Stops logging of events.
NOTE:
Logging events at the Info severity level can deplete
Switch Module
resources because of the high volume of events.