cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1266
Views
0
Helpful
1
Replies

SNMP Filtering on Nexus 5K

cbregeripr
Level 1
Level 1

I am trying to determine if I can allow an SNMP host to poll a Nexus 5K and only receive information on specific Mibs for specific ports.  For example, on SNMP host can only get up/down stats for ports e1/1 and E1/2 and not the ports.  Any ideas would be appreciated.

1 Reply 1

David Stanford
Cisco Employee
Cisco Employee

Add an snmp view or I should say RBAC on Nexus for the specific OID that includes the interface

So in this case look at ifAdminStatus or ifOperStatus for the e1/1 or e1/2

A snmpwalk of ifTable will give you something like:

ifDescr.2 = Ethernet 1/1

ifDescr.3 = Ethernet 1/2

Then you would add it allowing/disallowing polling of the OID ifAdminStatus.2 or ifOperStatus.2 and so on