Set Log command

Description Specifies the events to record in the event log and display on the screen. You determine what events to record in the switch event log using the Component, Level, and Port operands. You determine what events are automatically displayed on the screen using the Display operand. 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

Operands archive

Collects all log entries and stores the result in a new file named logfile that is maintained in switch memory where it can be downloaded using FTP. To download logfile, open an FTP session, log in with account name (“images”) and password (“images”), and enter “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 that is responsible for a particular portion of switch 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 performance, do not use this setting with the Level operand set to Info.

Chassis

Monitors chassis hardware components such as fans and power supplies

Eport

Monitors all E_Ports

Mgmtserver

Monitors management server status

Nameserver

Monitors name server status

None

Monitor none of the component events

Other

Monitors other miscellaneous events

Port

Monitors all port events

SNMP

Monitors all SNMP events

Switch

Monitors switch management events

Zoning

Monitors zoning conflict events

166 Command Line Interface