C
OMMAND
L
INE
I
NTERFACE
4-62
Command Usage
The command 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
sort messages or to store messages in the corresponding database.
Example

logging trap

This command limits syslog messages saved to a remote server based on
severity. Use the no form to return the remote logging of syslog messages
to the default level.
Syntax
[no] logging trap level
level - One of the level arguments listed below. Messages sent
include the selected level up through level 0. (Refer to the table on
page 3-59.)
Default Setting
Level 3 - 0
Command Mode
Global Configuration
Example

clear logging

This command clears messages from the log buffer.
Console(config)#logging facility 19
Console(config)#
Console(config)#logging trap 4
Console(config)#