User Manual

91
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
bill@this-company.com
Switch(config)# no logging
sendmail dst-0
bill@this-company.com
logging sendmail
service
or
no logging
sendmail service
Global
configuration
mode
Enable or disable system log
SMTP
Disable
Switch(config)#
logging sendmail service
Switch(config)#
No logging sendmail service
SNTP Commands Set
Netstar
Commands
Command
Level
Description
Default
Example
calendar set
[hour] [min] [sec]
[day] [mon] [year]
Global
configuration
mode
Set system time
switch(config)# calendar set 15
03 30 29 4 2006
sntp timezone
hours [hours]
minute [min]
[after-UTC|before-
UTC]
Global
configuration
mode
Set timezone index, use “show
sntp timezone” command to
get more information of index
number
switch(config)# sntp timezone
hours 9 minute 0 after-UTC
show sntp
timezone
Privileged
EXEC
Show index number of time
zone list
switch#show sntp timezone
no sntp timezone
Global
configuration
mode
Set system time zone to
default
(GMT+08:
00)
switch(config)# no sntp
timezone
show sntp
Privileged
EXEC
Show system time
configuration.
switch# show sntp