Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IOS version and Cisco model via SNMP

1,231 views
Skip to first unread message

Ron Cohen

unread,
Mar 24, 1998, 3:00:00 AM3/24/98
to

Hi,

I need to get the IOS version number and the Cisco model (2500, 4500...) via SNMP.

What is the MIB OID for getting this stuff?

Is sysdesc the only way? Is there a fixed format for the sysdesc?

Thanks
Ron
--------------------------------------------
Ron Cohen
Class Data Systems
mailto:\\ro...@classdata.com
http:\\www.classdata.com
phoneto:\\972-9-7462020 (ext 219)
--------------------------------------------


Nisar Ali

unread,
Mar 25, 1998, 3:00:00 AM3/25/98
to

>Is sysdesc the only way? Is there a fixed format for the sysdesc?

Use sysConfigName instead.

nisar


Jeff Johnson

unread,
Mar 25, 1998, 3:00:00 AM3/25/98
to

The IOS version number can be obtained by walking the CISCO-IMAGE-MIB
The cisco model number can be determined from the value of sysObjectID,
mapping the value to the assignments found in the CISCO-PRODUCTS-MIB, or
from the chassisType object from the OLD-CISCO-CHASSIS-MIB


/jeff

At 16:01 3/24/98 +0200, Ron Cohen wrote:
>Hi,
>
>I need to get the IOS version number and the Cisco model (2500, 4500...)
via SNMP.
>
>What is the MIB OID for getting this stuff?
>

>Is sysdesc the only way? Is there a fixed format for the sysdesc?
>

Feldmann, Jeff

unread,
Mar 25, 1998, 3:00:00 AM3/25/98
to

sysDescr is what I use. The following will provide you with the numeric
IOS version:

snmpget A.B.C.D sysDescr.0 | grep "Version" | sed 's/.*Version
\([^,]*\(.*/\1/'


Jeff Feldmann
AT&T Solutions
Network Management & Operations
jtfel...@att.com

> ----------
> Reply To: ro...@classdata.com
> Sent: Tuesday, March 24, 1998 2:01 PM
> To: 'cisco-tech'
> Subject: IOS version and Cisco model via SNMP

0 new messages