C
ONFIGURING
E
VENT
L
OGGING
4-31
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.
Remote Log Configuration
The Remote Logs page allows you to configure the logging of messages
that are sent to syslog servers or other manageme nt 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.
Console(config)#logging on 20-39
Console(config)#logging history ram 0 20-40
Console(config)#
Console#show logging ram 20-45
Syslog logging: Disabled
History logging in RAM: level emergencies
Console#