C
HAPTER
20
| System Management Commands
Time
– 749 –
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
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 59: 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