SMC Networks SMC6752AL2 Manuel D’Utilisation

Page de 516
C
OMMAND
 L
INE
 I
NTERFACE
4-72
Example
Time Commands
The system clock can be dynamically set by polling a set of specified time 
servers (NTP or SNTP). Maintaining an accurate time on the switch 
enables the system log to record meaningful dates and times for event 
entries. If the clock is not set, the switch will only record the time from the 
factory default set at the last bootup.
Console#show logging sendmail
SMTP servers
-----------------------------------------------
  1. 192.168.1.200
SMTP minimum severity level: 4
SMTP destination email addresses
-----------------------------------------------
  1. ted@this-company.com
SMTP source email address:   john@acme.com
SMTP status:                Enabled
Console#
Table 4-22  Time Commands
Command
Function
Mode
Page
sntp client 
Accepts time from specified time servers
GC
sntp server
Specifies one or more time servers
GC
sntp poll
Sets the interval at which the client polls for time GC
show sntp
Shows current SNTP configuration settings
NE, 
PE 
clock timezone Sets the time zone for the switch’s internal clock GC
calendar set
Sets the system date and time
PE
show calendar Displays the current date and time setting
NE, 
PE