Task 4Using Syslog, NTP, and Modem Call Records to Isolate and Troubleshoot Faults
About Modem Call Records
%#
Basic Dial NMS Implementation Guide
Step 3
Enable modem call records in the Cisco IOS by entering the following command:
!
modem call-record terse
!
A modem call record, which is a syslog message, looks like this:
May 26 22:04:23.346 CST: %CALLRECORD-3-MICA_TERSE_CALL_REC: DS0 slot/contr/chan=
0/0/0, slot/port=2/14, call_id=26, userid=(n/a), ip=0.0.0.0, calling=4082322078,
called=3241933, std=V.34+, prot=LAP-M, comp=V.42bis both, init-rx/tx b-rate=264
00/24000, finl-rx/tx b-rate=28800/24000, rbs=0, d-pad=None, retr=1, sq=4, snr=27
, rx/tx chars=136/6470, bad=2, rx/tx ec=134/184, bad=0, time=594, finl-state=Ste
ady, disc(radius)=(n/a)/(n/a), disc(modem)=DF03 Tx (host to line) data flushing
- OK/Requested by host/DTR dropped
Table 20
Logging Command Descriptions
Command
Purpose
logging buffered 10000 debugging
Sets the internal log buffer to 10000 bytes for debug output.
New messages overwrite old messages.
You can tune buffered-logging parameters for collecting logs
on a NAS when you are at a remote location. For example, turn
on debugs and start logging them in the history buffer. Make
your test call; then, re-connect in shell mode and inspect the
debugs.
logging console informational
no logging console guaranteed
Sends the most urgent informational logs to the console port in
the event the IP network or syslog server fails. Alternatively,
send messages to the console by using the commands logging
console errors or logging console warnings.
Caution
Logging console can cause the router to
intermittently freeze up as soon as the
console port overloads with log
messages. Debugs and modem call
records sent to the console port are
potentially destructive to the Cisco IOS
software.
logging trap debugging
Enables logging up to the debug level (all eight levels).
logging 172.21.100.100
Specifies the IP address of the syslog server.
logging facility local0
Assigns a logging-facility tag (local0) to the syslog messages
for this device. The tag must match the facility number
configured in the syslog.conf file on the Unix host. See Step 1
in “Configuring the Syslog Daemon” section on page 76.
In this case study, each device sends syslog messages to the
same log file on the same syslog server.