cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1280
Views
0
Helpful
3
Replies

SNMP with object name instead of the OID

How to configure snmp in a cisco switch to use the object name instead of the OID?

 

The idea is to set and get parameters for the interfaces of a switch using expresing like ifAlias and ifAdminStatus insted of the OIDs. What do i need to configure in the switch?

Juan M
3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

Can you explain the use case.

 

you looking to have pre-defined object for the OID, if that is correct, you need to do in the script for this as per my understanding.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

What i am trying to do is use for example this command in linux:

 

$smnpwalk - v 1-c private <switch_IP> ifAdminStatus

 

instead of this:

 

$smnpwalk - v 1-c private <switch_IP> 1.3.6.1.2.1.2.1.7

 

What do i need to set in the switch to be able to do this?

 

Juan M

[Solved] I added in the SNMP Manager the MIBs that i need for the objects i was trying to set and get.

 

snmp-ifAlias.png

 

 

Juan M