ATM Configuration and Troubleshooting Guide

Logging and Tracing ATM Activity
Viewing Log and Trace Files
Chapter 10296
Viewing Trace Files
The netfmt command is also used to view trace data. ATM traces can be
filtered by packet type, VPI, VCI, and signalling call references. The
ATM filter commands can be included in a global filter configuration file
or can be in an ATM-specific filter configuration file. NetFmt reads the
filter commands from the filter configuration file specified with the -c
option.
For example, the following command reads and formats the data in the
file /usr/adm/atm.TRC0, using the filter file atmtrace.filter:
netfmt -N -l -f /usr/adm/atm.TRC0 -c atmtrace.filter
In this example, the command reads and formats the data in the file
/usr/adm/filename.TRC0 and uses atmtrace.filter as the filter (for
information about creating a filter file, see the netfmt(1) man page):
netfmt -N -l -f /usr/adm/filename.TRC0 -c atmtrace.filter
In this example, the formatted trace output is displayed one screen at a
time:
netfmt -N -l -f /usr/adm/filename.TRC0 | more
In this example, the formatted trace output is stored in the file
netfmt.out:
netfmt -N -l -f /usr/adm/filename.TRC0 -l> netfmt.out
ATM Filter Options
The ATM filter options use the same syntax as the host formatter
configuration file. Refer to the netfmt(1) man pages and Installing and
Administering LAN/9000 Software for detailed information about filter
configuration file syntax.
An ATM filter option is indicated by the name ATM or atm appearing as
the keyword for a given filter specification. Several filter types are
supported by the ATM subsystem.
Interface Filter Option
The interface filter option is used to include or exclude trace records of a
specific ATM adapter. The syntax is as follows:
formatter filter Device_ID
dev