cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
982
Views
0
Helpful
2
Replies

OID + SNMP v3

SOGECAP
Level 1
Level 1

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

 

2 Replies 2

SOGECAP
Level 1
Level 1

anyone ? :D

 

no clues ? :D
 

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

Getting Started

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:

Review Cisco Networking products for a $25 gift card