Originally posted by: SystemAdmin
Hi,
Clarification regarding snmp packets.
I have AIX 6.1.
I want to check the printer status by checking the snmp packets.
I have created a paper jam in the printer.
I am giving print to the printer using lp command.
I want some command to capture snmp packets (snmp get requests from AIx and get response from printer).
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
How to send snmp request from AIX to the printer so that printer can give response to AIX.
Any help would be appreciated.
Thanks,
#AIX-Forum