Remote Log Configuration
The Remote Logs page allows you to configure the logging of messages that are
sent to syslog servers or other management stations. You can also limit the event
messages sent to only those messages at or above a specified level.
Command Attributes
• Remote Log Status – Enables/disables the logging of debug or error messages
to the remote logging process. (Default: Disabled)
• Logging Facility – Sets the facility type for remote logging of syslog messages.
There are eight facility types specified by values of 16 to 23. The facility type is
used by the syslog server to dispatch log messages to an appropriate service.
The attribute specifies the facility type tag sent in syslog messages. (See RFC
3164.) This type has no effect on the kind of messages reported by the switch.
However, it may be used by the syslog server to process messages, such as sorting
or storing messages in the corresponding database. (Range: 16-23, Default: 23)
• Logging Trap – Limits log messages that are sent to the remote syslog server for
all levels up to the specified level. For example, if level 3 is specified, all messages
from level 0 to level 3 will be sent to the remote server. (Range: 0-7, Default: 7)
• Host IP List – Displays the list of remote server IP addresses that will receive
syslog messages. The maximum number of host IP addresses allowed is five.
• Host IP Address – Specifies a new server IP address to add to the Host IP List.
4-31
Configuring Event Logging
Web
– Click System, Logs, System Logs. Specify System Log Status, set the level of
event messages to be logged to RAM and flash memory, then click Apply.
Figure 4-18 System Logs
CLI
– Enable system logging and then specify the level of messages to be logged to
RAM and flash memory. Use the
show logging
command to display the current
settings.
4
Console(config)#logging on
Console(config)#logging history ram 0
Console(config)#
Console#show logging ram
Syslog logging: Disabled
History logging in RAM: level emergencies
Console#
23-
26
23-27
2
3
-
3
0