AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
184
NXA-ENET24 - Software Management Guide
Event Logging Commands (Cont.)
Command Function
show logging
This command displays the
configuration settings for
logging messages to local
switch memory, to an
SMTP event handler, or to
a remote syslog server.
Syntax
show logging {flash | ram | sendmail | trap}
flash - Displays settings for storing event messages in flash memory (i.e.,
permanent memory).
ram - Displays settings for storing event messages in temporary RAM (i.e.,
memory flushed on power reset).
sendmail - Displays settings for the SMTP event handler.
trap - Displays settings for the trap function.
Default Setting: None
Command Mode: Privileged Exec
Example:
The following example shows that system logging is enabled, the message level
for flash memory is “errors” (i.e., default level 3 - 0), the message level for RAM is
“debugging” (i.e., default level 7 - 0).
Console#show logging flash
Syslog logging: Enabled
History logging in FLASH: level errors
Console#show logging ram
Syslog logging: Enabled
History logging in RAM: level debugging
Console#
Show Logging Flash/ram - Display Description
Field Description
Syslog logging Shows if system logging has been enabled via the
logging on command.
History logging in FLASH The message level(s) reported based on the logging
history command.
History logging in RAM The message level(s) reported based on the logging
history command.
The following example displays settings for the trap function:
Console#show logging trap
Syslog logging: Enable
REMOTELOG status: disable
REMOTELOG facility type: local use 7
REMOTELOG level type: Debugging messages
REMOTELOG server IP address: 1.2.3.4
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
Console#
Show Logging Trap - Display Description
Field Description
Syslog logging Shows if system logging has been enabled via the
logging on command.
REMOTELOG status Shows if remote logging has been enabled via the
logging trap command.
REMOTELOG facility type The facility type for remote logging of syslog mes-
sages as specified in the logging facility command.
REMOTELOG level type The severity threshold for syslog messages sent to a
remote server as specified in the logging trap
command.
REMOTELOG server IP
address
The address of syslog servers as specified in the
logging host command.