Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Snmp Mibs for Switches

Hi,

I am using Snmp for switch 3560 an 3850 to find port devices connected and shut no shut, but when i change switch version my data response changes as switch is of cisco same  versions  or different numbers.

According !, to that my oids changes for every switch i connected.

Though, my Mibs are same for every switch, its data response pattern and oids are changing.

Is there any standard Mibs available for this.

Thanks

Amol

1 REPLY
Community Member

Hi Amol,

Hi Amol,

I not sure I understand your question. Do you mean that if you poll the same MIB on different switches that the format is different?

This should not be so. If you are walking the IF-MIB for any device than each entry in the table should have consistent properties.

For instance, the ifAdminStatus object should always use OID 1.3.6.1.2.1.2.2.1.7 and return an INTEGER.

What could be different for two identical switches (same hardware) is the ifIndex for the same physical interface.

On a first 3560, GigabitEthernet0/1 could be ifIndex 644. On a second identical 3560, GigabitEthernet0/1 could be ifIndex 643.

At least, configure “snmp-server ifIndex persist » so that ifIndex remain persisent even if the switch reboots.

Hope this helps.

Cheers,

JF

60
Views
3
Helpful
1
Replies
CreatePlease to create content