HP 8/20q HP StorageWorks 8/20q Fibre Channel Switch Command Line Interface Gui - Page 102
Displaying the event log configuration, Clearing the event log, Logging to a remote host
View all HP 8/20q manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 102 highlights
Displaying the event log configuration To display all event log configuration settings, enter the show log settings command, as shown in the following example: 8/20q FC Switch #> show log settings Current settings for log Started True FilterComponent NameServer MgmtServer Zoning Switch Blade Port Eport Snmp CLI QFS FilterLevel Info DisplayLevel Critical FilterPort 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Restoring the event log configuration To return the event log configuration to the factory default, enter the set log restore command in an Admin session, as shown in the following example: 8/20q FC Switch (admin) #> set log restore Clearing the event log To delete all entries in the event log, enter the set log clear command in an Admin session, as shown in the following example: 8/20q FC Switch (admin) #> set log clear Logging to a remote host The switch comes from the factory with local logging enabled, which instructs the switch firmware to maintain an event log in switch memory. The switch can also be configured to log events to a remote host that supports the syslog protocol. This, however, requires that you enable remote logging on the switch and specify an IP address for the remote host. NOTE: To log event messages on a remote host, 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. In this command, a separates the selector field (local0.info) from the action field, which contains the log file path name (/var/adm/messages/messages.name). local0.info /var/adm/messages/messages.name Consult your host operating system documentation for information on how to configure remote logging. 102 Event Log Configuration