11 – Event Log Configuration
Logging to a Remote Host
11-6
59263-02 A
S
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
requires that you enable remote logging on the switch and specify an IP address
for the remote host.
Enter the
Set Setup System
Logging command to control local logging through
the LocalLogEnabled parameter, and remote logging through the
RemoteLogEnabled and RemoteLogHostAddress parameters as shown in the
following example:
SANbox (admin) #> set setup system logging
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
Current Values:
LocalLogEnabled True
RemoteLogEnabled False
RemoteLogHostAddress 10.0.0.254
New Value (press ENTER to accept current value, 'q' to quit, 'n' for none):
LocalLogEnabled (True / False) :
RemoteLogEnabled (True / False) :
RemoteLogHostAddress (hostname, IPv4, or IPv6 Address) :
Do you want to save and activate this system setup? (y/n): [n]
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.
Summary of Contents for SANbox 5800V Series
Page 28: ...2 Command Line Interface Usage Downloading and Uploading Files 2 10 59263 02 A S Notes...
Page 52: ...4 Network Configuration Managing IP Security 4 20 59263 02 A S Notes...
Page 86: ...5 Switch Configuration Managing Idle Session Timers 5 34 59263 02 A S Notes...
Page 104: ...6 Port Configuration Displaying Extended Credit Status 6 18 59263 02 A S Notes...
Page 154: ...11 Event Log Configuration Creating and Downloading a Log File 11 8 59263 02 A S Notes...
Page 172: ...12 Call Home Configuration Resetting the Call Home Database 12 18 59263 02 A S Notes...
Page 406: ...14 Command Reference Command Listing 14 226 59263 02 A S...
Page 421: ......