SMC Networks 16 10BASE-T Switch User Manual


 
System Management Commands
4-49
4
The following example displays settings for the trap function.
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.
Console#show logging trap
Syslog logging: Enabled
REMOTELOG status: Enabled
REMOTELOG facility type: local use 7
REMOTELOG level type: Informational messages only
REMOTELOG server IP address: 1.2.3.4
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
Console#
Table 4-20. show logging trap - display description
Field Description
Syslog logging Shows if system logging has been enabled via the logging on command.
REMOTELOG status Shows if remote logging has been enabled via the logging trap command.
REMOTELOG
facility type
The facility type for remote logging of syslog messages as specified in the logging
facility command.
REMOTELOG level type The severity threshold for syslog messages sent to a remote server as specified in
the logging trap command.
REMOTELOG
server IP address
The address of syslog servers as specified in the logging host command.
Table 4-21. Time Commands
Command Function Mode Page
sntp client Accepts time from specified time servers GC 4-50
sntp server Specifies one or more time servers GC 4-51
sntp poll Sets the interval at which the client polls for time GC 4-51
show sntp Shows current SNTP configuration settings NE, PE 4-52
clock timezone Sets the time zone for the switch’s internal clock GC 4-52
calendar set Sets the system date and time PE 4-53
show calendar Displays the current date and time setting NE, PE 4-53