trap - Displays settings for the trap function.
D
S
EFAULT
ETTING
None
C
M
OMMAND
ODE
Privileged Exec
E
XAMPLE
The following example shows that system logging is enabled, the message
level for flash memory is "errors" (i.e., default level 3 - 0), and the
message level for RAM is "debugging" (i.e., default level 7 - 0).
Console#show logging flash
Syslog logging:
History logging in FLASH: level errors
Console#show logging ram
Syslog logging:
History logging in RAM: level debugging
Console#
Table 70: show logging flash/ram - display description
Field
Description
Syslog logging
Shows if system logging has been enabled via the
command.
History logging in FLASH
The message level(s) reported based on the
command.
History logging in RAM
The message level(s) reported based on the
command.
The following example displays settings for the trap function.
Console#show logging trap
Remote Log Status
Remote Log Facility Type
Remote Log Level Type
Remote Log Server IP Address : 0.0.0.0
Remote Log Server IP Address : 0.0.0.0
Remote Log Server IP Address : 0.0.0.0
Remote Log Server IP Address : 0.0.0.0
Remote Log Server IP Address : 0.0.0.0
Console#
Table 71: show logging trap - display description
Field
Description
Syslog logging
Shows if system logging has been enabled via the
command.
REMOTELOG status
Shows if remote logging has been enabled via the
command.
– 939 –
| System Management Commands
C
24
HAPTER
Enabled
Enabled
: Disabled
: Local use 7
: Debugging messages
Event Logging
logging on
logging history
logging history
logging on
logging trap