Accton Technology ES4512C Switch User Manual


 
Command Line Interface
4-48
4
The following example displays settings for the trap function.
Related Commands
show logging sendmail (4-51)
SMTP Alert Commands
These commands configure SMTP event handling, and forwarding of alert
messages to the specified SMTP servers and email recipients.
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#
Table 4-19. 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 messages 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.
Table 4-20. SMTP Alert Commands
Command Function Mode Page
logging sendmail host SMTP servers to receive alert messages GC 4-49
logging sendmail level Severity threshold used to trigger alert messages GC 4-49
logging sendmail
source-email
Email address used for “From” field of alert messages GC 4-50
logging sendmail
destination-email
Email recipients of alert messages GC 4-50
logging sendmail Enables SMTP event handling GC 4-51
show logging sendmail Displays SMTP event handler settings NE, PE 4-51