09-26-2014 02:41 AM - edited 03-07-2019 08:53 PM
Hi !
i have a shell script to detect "error-disabled" port status.
The OID is : 1.3.6.1.4.1.9.9.548.1.3.1.1.2
when i did my request with snmp v1 i have no problem, but with snmp v3 i have this :
SNMPv2-SMI::enterprises.9.9.548.1.3.1.1.2 = No Such Instance currently exists at this OID
it's pretty weird because i allowed the view for my user :
snmp-server view SOGECAPRead iso included
snmp-server view SOGECAPRead mib-2 included
and i dont have any problem with my other check with snmp v3.
So, what's wrong with my configuration or request ?
switch : 2960-X
iOS version : 15.2(2)E
thx for your help
09-29-2014 01:32 AM
anyone ? :D
no clues ? :D
09-30-2014 01:08 AM
ok, problem solved !
the table is empty every time if we dont have an err-disable. But, in SNMP v1 we dont have a error if the table is empty, but we have an error with v3 because, the request works and retunr the integer in v3
i modified my script, and now it's works fine
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: