Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SNMP agent identification of a device as Printer

Status
Not open for further replies.

anoop12

Programmer
Jun 9, 2014
1
IN
Dear Group Members,

I have a simple query on snmp agent. How an agent on a device determines the device as Printer, switch or router?
I know that MIB can query on the device using snmpget command to hrDeviceType and the agent on the device will reply back the device type. But i want to know as agent is same on all devices and its not different for printer or switch or router how does agent determines it as a Printer?
Does it read some specific parameter from the firmware or kernel of device and then declares it as Printer or switch and then responds to the hrDeviceType query?

Please let me know in terms of Printer identification. What code needs to be implemented on the device firmware or on agent and how?

Thanks & regards,
Anoop.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top