Chapter 4
| System Management Commands
Time
– 175 –
Example
Console(config)#logging sendmail source-email bill@this-company.com
Console(config)#
show logging
sendmail
This command displays the settings for the SMTP event handler.
Command Mode
Normal Exec, Privileged Exec
Example
Console#show logging sendmail
SMTP servers
-----------------------------------------------
192.168.1.19
SMTP Minimum Severity Level: 7
SMTP Destination E-mail Addresses
-----------------------------------------------
ted@this-company.com
SMTP Source E-mail Address: bill@this-company.com
SMTP Status: Enabled
Console#
Time
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.
Table 24: Time Commands
Command Function Mode
SNTP Commands
sntp client Accepts time from specified time servers GC
sntp poll Sets the interval at which the client polls for time GC
sntp server Specifies one or more time servers GC
show sntp Shows current SNTP configuration settings NE, PE
NTP Commands
ntp authenticate Enables authentication for NTP traffic GC
ntp authentication-key Configures authentication keys GC