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

About Modem Call Records

Inspecting Syslog Messages in t he Log File

To inspect syslog messages by using Cisco IOS commands, Unix commands, FTP, and a web browser, follow these steps:

Step 1 From the Cisco IOS device, create basic syslog messages by entering these commands:

travis-nas-01#configure terminal

Enter configuration commands, one per line. End with CNTL/Z. travis-nas-01(config)#^Z

travis-nas-01#configure terminal

Enter configuration commands, one per line. End with CNTL/Z. travis-nas-01(config)#^Z

travis-nas-01#

Step 2 From the syslog server, verify that the syslog messages went in to the log file. Enter the tail -fcommand to monitor the last 10 lines of an active log file. To exit tail -f mode, press Ctrl-C.

aurora:/etc ->tail -f /var/log/router.log

May 26 17:43:12 [172.21.101.20.6.122] 629: May 26 20:35:23.551 CST: %SYS-5-CONFIG_I: Configured from console by vty0 (172.22.61.200)

May 26 17:51:15 [172.21.101.20.6.122] 630: May 26 20:43:27.068 CST: %SYS-5-CONFIG_I: Configured from console by console

May 26 17:51:19 [172.21.101.20.6.122] 631: May 26 20:43:30.932 CST: %SYS-5-CONFIG_I: Configured from console by console

May 26 17:54:38 [172.21.101.20.6.122] 632: May 26 20:46:50.344 CST: %SYS-5-CONFIG_I: Configured from console by vty0 (172.22.61.200)

^C

aurora:/etc ->

Step 3 View the syslog messages in a web browser. Notice the wide horizontal scroll bar, which is helpful for viewing debug messages and modem call records.

Figure 18 Syslog Messages that Appear by Using FTP and a Web Browser

ftp://sam@172.23.84.22/var/log/router.log

Basic Dial NMS Implementation Guide

%&

Page 78
Image 78
Cisco Systems Dial NMS manual Inspecting Syslog Messages in t he Log File, Aurora/etc -tail -f /var/log/router.log