Task 4—Using Syslog, NTP, and Modem Call Records to Isolate and Troubleshoot Faults

About Modem Call Records

Enabling NTP on a Cisco IOS Device

To enable NTP and related clocking services, follow these steps.

Step 1 From the Cisco IOS device, enter the following commands. Enable debug timestamps and include the date, time, and milliseconds relative to the local time zone:

!

service timestamps debug datetime msec localtime show-timezone

service timestamps log datetime msec localtime show-timezone

!

Step 2 Identify the local timezone and enable recurring time adjustments for daylight savings time by entering the following commands:

!

clock timezone CST -6

clock summer-time CST recurring

!

Step 3 Locate an NTP server that can be reached by the Cisco IOS device.

Step 4 Specify the IP address for the NTP server and enable automatic-calendar updates by entering the following commands:

!

ntp update-calendar

ntp server 172.22.255.1

!

Note By default, the ntp clock-periodcommand is enabled in some Cisco IOS releases.

The Cisco IOS software appends an arbitrary number to the end of the command.

Step 5 Verify that the clock is synchronized with the NTP server by entering the following command:

travis-nas-01>show ntp status

Clock is synchronized, stratum 9, reference is 172.22.255.1

nominal freq is 250.0000 Hz, actual freq is 249.9987 Hz, precision is 2**24 reference time is BD123336.28CCF0C4 (18:09:42.159 CST Sat Jul 8 2000) clock offset is 0.1183 msec, root delay is 61.84 msec

root dispersion is 0.93 msec, peer dispersion is 0.79 msec travis-nas-01>

Inspect the status and time association. Clock sources are identified by their stratum levels. The previous display shows a stratum level nine clock.

Note If the NTP synchronization does not take place, reload the router.

Basic Dial NMS Implementation Guide

%￿

Page 71
Image 71
Cisco Systems Dial NMS manual Enabling NTP on a Cisco IOS Device