2012-03-14

snmp: Quickly check snmp access and get System description (using snmp V1)

You want to quickly check what a system responds with as system description use:

snmpget -v 1 -c public 1.1.1.1 .1.3.6.1.2.1.1.1.0

SNMPv2-MIB::sysDescr.0 = STRING: Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(19)EA1c, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Tue 03-Feb-04 09:38 by yenanh


NamesysDescr!@#.iso.org.dod.internet.mgmt.mib-2.system.sysDescr
OID.1.3.6.1.2.1.1.1
MIBRFC1213-MIB
SyntaxDisplayString (SIZE (0..255))
Accessread-only
Statusmandatory
DefVal
Indexes
DescrA textual description of the entity. This value should include the full name and version identification of the system's hardware type, software operating-system, and networking software. It is mandatory that this only contain printable ASCII characters.

No comments: