cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
809
Views
3
Helpful
1
Replies

Snmp Mibs for Switches

amol.meshram
Level 1
Level 1

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 1

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