ATM Configuration and Troubleshooting Guide

Logging and Tracing ATM Activity
Viewing Log and Trace Files
Chapter 10300
(see “For IP and ARP PDUs” on page 297 for a description of the options
for IP and ARP PDUs).
Examples of Filters
The following examples show how the filter options can be used:
Level 1: General Filters (See netfmt Man Page) This example
shows the
card_instance_number
of ATM NIC as Device_ID in trace,
and PDU IN/OUT as the kind of trace:
############################
# Example of general filters
#############################
# Filtering ATM subsystem
formatter filter subsystem ATM
# Filtering CARD_INSTANCE_NUMBER
formatter filter Device_ID 0 2-10 !7
# Filtering PDU IN / OUT
formatter filter kind 0x10000000 # for PDU OUT
formatter filter kind 0x20000000 # for PDU IN
Level 2: IEEE 802.2 Filters (See netfmt Man Page) This example
shows the IP source and destination addresses, and the TCP/UDP
facilities:
################################
# Example of IEEE 802.2 filters
################################
# Filtering IP source address
filter ip_saddr 128.175.1.1
# Filtering IP destination address
filter ip_daddr 128.175.10.75
# TCP/UDP facilities
......
Level 3: ATM subsystem specific This example shows the VPI, VCI,
user AAL, user ILMI, user IP/ARP, user LAN emulation, user signalling
(Qsaal/Q93b), Q93b call reference, and the LAN emulation LEC_ID:
####################################
# Example of ATM specific filtering
####################################
# Filtering VPIs
atm VPI 0-3
# Filtering VCIs