AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
187
NXA-ENET24 - Software Management Guide
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.
SMTP Alert Commands (Cont.)
Command Function
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
-----------------------------------------------
1. 192.168.1.200
SMTP minimum severity level: 4
SMTP destination email addresses
-----------------------------------------------
1. geoff@acme.com
SMTP source email address: john@acme.com
SMTP status: Enabled
Console#
Time Commands
Command Function
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
Command Usage:
The time acquired from time servers is used to record accurate dates and times for log
events. Without SNTP, the switch only records the time starting from the factory default
set at the last bootup (i.e., 00:00:00, Jan. 1, 2001).
This command enables client time requests to time servers specified via the sntp servers
command. It issues time synchronization requests based on the interval set via the sntp
poll command.
Example:
Console(config)#sntp server 10.1.0.19
Console(config)#sntp poll 60
Console(config)#sntp client
Console(config)#end
Console#show sntp
Current time: Dec 23 02:52:44 2002
Poll interval: 60
Current mode: unicast
SNTP status: Enabled
SNTP server: 10.1.0.19 0.0.0.0 0.0.0.0
Current server: 10.1.0.19
Console#
sntp server
This command sets
the IP address of
the servers to which
SNTP time requests
are issued.
Use the this
command with no
arguments to clear
all time servers from
the current list.
Syntax:
sntp server [ip1 [ip2 [ip3]]]
ip - IP address of an time server (NTP or SNTP).
Range: 1-3 addresses
Default Setting: None
Command Mode: Global Configuration
Command Usage: This command specifies time servers from which the switch will poll
for time updates when set to SNTP client mode. The client will poll the time servers in the
order specified until a response is received. It issues time synchronization requests
based on the interval set via the sntp poll command.
Example:
Console(config)#sntp server 10.1.0.19