AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

capture snmp packets in AIX

  • 1.  capture snmp packets in AIX

    Posted Wed March 11, 2009 01:59 AM

    Originally posted by: SystemAdmin


    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..
    #AIX-Forum


  • 2.  Re: capture snmp packets in AIX

    Posted Wed March 11, 2009 09:00 AM

    Originally posted by: grukrz1


    try maybe tcpdump...

    eg.
    tcpdump -X -T snmp udp

    or tethereal or tshark...

    tshark -R snmp -w outputsnmp
    tethereal -R snmp -w outputsnmp
    the output file you can later open in ethereal/wireshark gui for example...
    #AIX-Forum