capture snmp packets in AIX

Hi,

I want to capture snmp packets in AIX.

When i give print from AIX6.1, Printer will give its response thru' snmp.

I used iptrace command like below, but it is not capturing snmp packets other packets are captured like udp, tcp..

  1. iptrace command:
    /usr/sbin/iptrace -a -i en0 iptrace.out &
  2. Give print to printer:
    lp -d queue_name file_name
  3. view the process:
    ps -ef | grep iptrace
  4. Kill the process:
    kill -1 process_id
  5. Report:
    ipreport -r -s iptrace.out >/ipreport.network

please help me to capture snmp packets...

Thanks in advance..

To just capture the snmp packets try
# tcpdump -i en0 -T snmp