Command Line Reference Guide

logging trap
Specify which messages are logged to the Syslog server based the message severity.
S5000
Syntax
logging trap [level]
To return to the default values, use the default logging trap command.
To disable logging, use the no logging trap command.
Parameters
level
Indicate a value from 0 to 7 or enter one of the following parameters:
emergencies, alerts, critical, errors, warnings,
notifications, informational, or debugging. The default
is 6 or informational.
Defaults 6 or informational
Command Modes CONFIGURATION
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
To block a type of message parameter, set the logging trap level to a lower number. For
example, to block severity messages at level 6, set the level to 5.
Related
Commands
logging – enables the logging to another device.
logging on – enables logging.
show logging
Display the logging settings and system messages logged to the internal buffer of the switch.
S5000
Syntax
show logging [number | history [reverse][number] | reverse
[number] | summary]
Parameters
number
(OPTIONAL) Enter the number of message to be displayed on the
output. The range is 1 to 65535.
history (OPTIONAL) Enter the keyword history to view only information in
the Syslog history table.
reverse (OPTIONAL) Enter the keyword reverse to view the Syslog
messages in FIFO (first in, first out) order.
summary (OPTIONAL) Enter the keyword summary to view a table showing
the number of messages per type and per slot.
1216