77
no logging
sendmail service
Switch(config)#
No logging sendmail service
42B
SNTP Commands Set
Lantech
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
sntp server
[ipaddr]
Global
configuration
mode
Set SNTP server IP address.
switch(config)# sntp server
192.168.16.5
no sntp server
Global
configuration
mode
Set SNTP server IP address to
default.
NULL
switch(config)# no sntp server
sntp enable
Global
configuration
mode
Enable SNTP Client.
switch(config)#
sntp enable
no sntp
Global
configuration
mode
Disable SNTP Client.
switch(config)#
no sntp
sntp poll [sec]
Global
configuration
mode
Set SNTP client polling interval
seconds.
16
switch(config)# sntp poll 60