Logging sendmail destination-email, Logging sendmail, Time commands – Asante Technologies 40240/40480-10G User Manual

Page 440

Advertising
background image

Command Mode

Global Configuration

Example

Console(config)#logging sendmail

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 email addresses

-----------------------------------------------

[email protected]

SMTP source email address: [email protected]

SMTP status: Enabled

Console#

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.

Table 23-13 Time Commands

Command

sntp client

sntp server

sntp poll

sntp update-time

show sntp

clock timezone

clock timezone-predefined

Function Mode

Page

Accepts time from specified time servers

Specifies one or more time servers

Sets the interval at which the client polls for time

Sends a request to immediately update the time

Shows current SNTP configuration settings

Sets the time zone for the switch’s internal clock

Sets the time zone for the switch’s internal clock using

predefined time zone configurations

GC 23-36

GC 23-37

GC 23-37

GC 23-38

NE, PE

23-38

GC 23-39

GC 23-39

23-35

Time Commands

23

Advertising