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.