First page Back Continue Last page Overview Graphics
Demo Of Net-SNMP Commands
snmptranslate
- snmptranslate -Of .1.3.6.1.4.1.2021.2.1.3.1
- snmptranslate -On .iso.org.dod.internet.mgmt.mib-2.system.sysLocation
- snmptranslate -Tp .iso.org.dod.internet.mgmt.mib-2.host.hrSWInstalled
snmpget
- snmpget -v2c -c public localhost sysDescr.0
snmpset
Notes:
F. snmptranslate
i. Extremely valuable command that translates the numerical OIDs into names, or vice-versa.
ii. snmptranslate -Of .1.3.6.1.4.1.2021.2.1.3.1
iii. snmptranslate -On .iso.org.dod.internet.mgmt.mib-2.system.sysLocation
iv. snmptranslate -Tp .iso.org.dod.internet.mgmt.mib-2.host.hrSWInstalled
G. snmpget -v2c -c public localhost sysDescr.0
i. Queries an agent for the specified information.
H. snmpset
i. For writable OIDs, will set their values.