Query a MIB With SNMPGet
Send an SNMP request to check that the SNMP configuration is correct.
To query a MIB with SNMPGet, enter the following command:
user-nms % snmpget tp1 public .188.8.131.52.184.108.40.206.0 system.sysDescr.0 = m7i internet router, kernel 6.0R1.5 user-nms % snmpget tp1 public sysDescr.0 system.sysDescr.0 = m7i internet router, kernel 6.0R1.5
The sample output shows a query from a network management station (nms) for the description of the system running on the router tp1. The OID is entered in numerical form in the command line, and a description (sysDescr.0) is obtained in the output. You can also use sysDescr.0 in the command line to obtain the same output.