Command Line Interface
Example
Console#show logging sendmail SMTP servers
192.168.1.19
SMTP minimum severity level: 7
SMTP destination email addresses
SMTP source email address:
SMTP status: Enable
Console#
Time Commands
The system clock can be dynamically set by polling a set of specified time servers (NTP or SNTP), or by using information broadcast by local time servers.
Command | Function | Mode | Pag |
|
|
| e |
|
|
|
|
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 | |
|
|
|
|
sntp broadcast client | Accepts time from any time broadcast server | 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 | |
|
|
|
|
sntp client
This command enables SNTP client requests for time synchronization from NTP or SNTP time servers specified with the sntp servers command. Use the no form to disable SNTP client requests.
Syntax
[no] sntp client
Default Setting
Disabled
Command Mode
Global Configuration