Chapter 4
| System Management Commands
Time
– 154 –
Command Usage
You may use an symbolic email address that identifies the switch, or the address of
an administrator responsible for the switch.
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
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 Email 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 25: 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