76
4
clear logging-local
[flash | ram]
Global
configuration
mode
Clear system log buffer
Switch(config)#
clear logging-local flash
logging sendmail
{host-0|host-1}
[server]
or
no logging
sendmail
{host-0|host-1}
Global
configuration
mode
Set the SMTP server address
Switch(config)#
logging sendmail host-0
192.168.16.5
Switch(config)#
no logging
sendmail host-0 192.168.16.5
logging sendmail
level [value]
or
no logging
sendmail level
Global
configuration
mode
Set system log SMTP level
7
Switch(config)#
logging sendmail level 4
Switch(config)#
no logging
sendmail level 4
logging sendmail
{src-0|src-1}
[email addr]
or
no logging
sendmail
{src-0|src-1}
Global
configuration
mode
Set system log SMTP
source-email address
Switch(config)#
logging sendmail src-0
Switch(config)#
no logging
sendmail src-0
logging sendmail
{dst-0|dst-1}
[email addr]
or
no logging
sendmail
{dst-0|dst-1}
[email addr]
Global
configuration
mode
Add or delete system log SMTP
destination-email address
Switch(config)#
logging sendmail dst-0
Switch(config)#
no logging
sendmail dst-0
logging sendmail
service
or
Global
configuration
mode
Enable or disable system log
SMTP
Disable
Switch(config)#
logging sendmail service