beautypg.com

Configuring sntp – SMC Networks SMC2552W-G2-17 User Manual

Page 81

background image

System Configuration

6-34

6

CLI Commands for System Logging – To enable logging on the access point, use
the logging on command from the global configuration mode. The logging level
command sets the minimum level of message to log. Use the logging console
command to enable logging to the console. Use the logging host command to
specify up to four Syslog servers. The CLI also allows the logging facility-type
command to set the facility-type number to use on the Syslog server. To view the
current logging settings, use the show logging command.

Configuring SNTP

Simple Network Time Protocol (SNTP) allows the access point to set its internal
clock based on periodic updates from a time server (SNTP or NTP). Maintaining an
accurate time on the access point enables the system log to record meaningful
dates and times for event entries. If the clock is not set, the access point will only
record the time from the factory default set at the last bootup.

The access point acts as an SNTP client, periodically sending time synchronization
requests to specific time servers. You can configure up to two time server IP
addresses. The access point will attempt to poll each server in the configured
sequence.

SNTP Server

– Configures the access point to operate as an SNTP client. When

enabled, at least one time server IP address must be specified.

• Primary Server: The IP address of an SNTP or NTP time server that the access

point attempts to poll for a time update.

• Secondary Server: The IP address of a secondary SNTP or NTP time server. The

access point first attempts to update the time from the primary server; if this fails it
attempts an update from the secondary server.

Enterprise AP(config)#logging on

7-29

Enterprise AP(config)#logging level alert

7-30

Enterprise AP(config)#logging console

7-30

Enterprise AP(config)#logging host 1 IP 10.1.0.3 514

7-29

Enterprise AP(config)#logging host 1 Port 514

7-29

Enterprise AP(config)#logging facility-type 19

7-31

Enterprise AP(config)#exit
Enterprise AP#show logging

7-32

Logging Information
============================================
Syslog State : Enabled
Logging Console State : Enabled
Logging Level : Alert
Logging Facility Type : 19
Servers
1: 10.1.0.3, UDP Port: 514, State: Enabled
2: 0.0.0.0, UDP Port: 514, State: Disabled
3: 0.0.0.0, UDP Port: 514, State: Disabled
4: 0.0.0.0, UDP Port: 514, State: Disabled
=============================================

Enterprise AP#

This manual is related to the following products: