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

How to limit snmp mib access to ....

Hi, folks.

 

We have a customer that wants to have SNMP v2c read access to the switches they are connected to, but this access

must be limited to the following things:

- System / Inventory Data (like product id, device type, device hostname, uptime, serial number, hw version, running sw version, ...)

- Overview of connected clients: which mac is connected to which physical port and to which vlan

 

Nothing more (for now .. :-))

So I created a snmp view for this customer and I already included the "system" mib family, which returnes all the hw and sw data.

Sadly, so far I have not been able to achive the "client data" part, I found some docs I tested, I played around with including vtpVlanEntry and dot1dBasePortEntry and ifname mibs, but testing shows no progress.

Only when I include the complete mib-2 tree, our testing nms (CPI 3.4) sees the clients and the ports ....

 

Has anyone a clue for me what needs to be included (except the whole mib-2) to get this working .. ??

 

Rgs

Frank

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

here is the example : include and exlude 

 

snmp-server view rtr-view system included

snmp-server view rtr-view ciscoRttMonMIB excluded

snmp-server community bbandi  view rtr-view RO

 

example :

 

https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/20370-snmpsecurity-20370.html

https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/7270-ipsnmphighcpu.html

 

BB

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

How to Ask The Cisco Community for Help

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco