I highly doubt you will find an OID that tells you if a device is router or a 
switch.  For awhile now, Cisco has managed to merge the various functions 
(bridge, switch, router ..etc) into a single chassis.  Your best bet might be 
to create your own mapping file and use the output of sysDescr.0 to determine 
which one is which .. 


 -------------- Original message ----------------------
From: "Lakshminarayanan P" <[EMAIL PROTECTED]>
> Hi All,
> 
> 
> 
> There is a requirement for me to pick up "device types" of Cisco devices
> using SNMP. Could somebody share a OID or direct me to the MIB file that can
> help me get this information?
> 
> 
> 
> For example, a 2811 polled with this OID should return a value which says
> that the device is a "Router".
> 
> 
> 
> While I understand that a lot of Cisco modular devices can act as a Switch /
> Router / Firewall / Load Balancer based on the modules installed and/or the
> IOS running, I just need to get the basic device type. As an example, a
> Catalyst 6500 chassis polled with this OID should return something like
> "Switch" regardless of the presence of a Firewall Services Module on it.
> 
> 
> 
> Is there such an Object?
> 
> 
> 
> Thanks in anticipation.....
> 
> Lakshminarayanan
> _______________________________________________
> cisco-nsp mailing list  [email protected]
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/

_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to